Jira cloud incoming mail from ms365 shared mailbox

MO
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 1, 2024

Hello,

Seems to be a recurring question/issue here...
We try to configure an incoming mail with a ms365 shared mailbox in Jira Cloud but not avail to.

AFAIK the config looks ok (ms oauth for mail server, mail handler, etc.) but Jira doesn't seem able to see any email in the shared mailbox : "Test" button indicate no available mail, not an connection problem (obviously there is emails in the mailbox).

When using a user/licensed ms365 email the Jira incoming mail works fine, but it's just for test as we'd like to try avoiding paying an extra ms365 license for that when it seems avoidable.

What is strange is the fact that an equivalent setup, also using an ms365 shared mailbox, works as email request input in Jira Service Desk. Using the very same shared mailbox in Jira (incoming mail in the global System settings, not in a JSM project) doesn't work.

Already done/tried:

  • reviewed the MFA parameters for the accounts
  • tested the manual IMAP/POP config to the ms365 server, ending with "We couldn’t authorize your account. Microsoft has permanently turned off Basic Authentication" which lead us to the starting point.
  • toggled DMARC check
  • forced explictely the IMAP folder name to INBOX and Inbox instead of relying on the default value

Considering the mail connector works in JSM, it looks like a bug of Jira Cloud, but before contacting the Atlassian support or spend money in an extra ms365 license, I'd like to know if somebody managed to get this kind of setup working.

Any info welcome!

1 answer

1 accepted

0 votes
Answer accepted
MO
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 2, 2024

Root cause was the specific Exchange mailbox was not configured in en-US, meaning the IMAP directory was not named Inbox.

Fixed by doing in an admin powershell console


# Installing ExchangeOnlineManagement toolbox (to do once)
Install-Module -Name ExchangeOnlineManagement

# Connect the exchange backend
Connect-ExchangeOnline -UserPrincipalName your_admin_account@your_domain.com

# Changing the mailbox config
Set-MailboxRegionalConfiguration -Identity shared_mailbox@your_domain.com -Language en-US -LocalizeDefaultFolderName:$true

# Disconnecting the exchange backend
Disconnect-ExchangeOnline -Confirm:$false

Then in the incoming mail handler, set the folder name to Inbox.

It's worth mentioning that in my case (fr-FR) the original Exchange inbox folder name was containing spaces and accented characters, and trying to use this folder name in the mail handler config didn't worked.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events