-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
0
-
1
-
Issue Summary
Jira Data Center 9.9.0 introduced support to connect Incoming Mai Servers to Office 365 accounts using OAuth 2.0 as the authentication method and MS Graph API as the protocol. Reference: Jira DC 9.9 Release notes
The problem is that this new integration doesn't support Microsoft GCC High (Government Community Cloud High) accounts.
Such combination is not supported because:
- Regular GCC Office 365 accounts connect to the graph.microsoft.com host to fetch emails via the MS Graph API protocol, whilst GCC High accounts connect to the graph.microsoft.us host
- The hostname graph.microsoft.com is hardcoded in the front end and back end, and cannot be changed
As a result, customers using Microsoft GCCH Mail accounts are unable to configure Jira Incoming Mail Handlers with the MS Graph API protocol.
Steps to replicate
- Configure an outgoing application link with the right end points and scopes the MS Graph API integration via ⚙ > Applications > Application Links
- Try to configure a new Jira Incoming Mail Server via ⚙ > System > Incoming Mail
Notes
Even if you follow the workaround from the JRASERVER-76747 to make the hostname field appear and set the host to graph.microsoft.us, this host will be ignored in the backend, as it is hardcoded to graph.microsoft.com. Therefore this workaround is actually not an option.
Additionally, the error below will be thrown in the Jira logs, indicating that Jira is using graph.microsoft.com to access the Mailbox via the MS Graph API protocol:
2025-08-22 11:10:57,965-0400 http-nio-8080-exec-25 ERROR <ANONYMYZED> 670x1471880x1 <ANONYMYZED> 10.135.32.247 /secure/admin/VerifyMsGraphServerConnection!add.jspa [global] Throwable detail: com.microsoft.graph.http.GraphServiceException: Error code: InvalidAuthenticationToken Error message: InvalidCloudInstance GET https://graph.microsoft.com/v1.0/users/<ANONYMYZED>/mailFolders/inbox/messages?%24filter=isRead%20eq%20false%20and%20receivedDateTime%20ge%201969-12-31T19%3A00%3A00.000-05%3A00&%24orderBy=receivedDateTime%20asc&%24top=10&%24select=id SdkVersion : graph-java/v5.42.0 401 : [...] [Some information was truncated for brevity, enable debug logging for more details]
- is caused by
-
JRASERVER-76747 Editing the hostname for Custom Service Provider with MS_Graph protocol can only be done after switching between Service Providers
-
- Gathering Impact
-
-
JRASERVER-71656 Microsoft Graph API integration for Incoming Mail handlers (Jira)
- Closed
-
JSDSERVER-14090 JSM Email Channels configured to use the Microsoft Graph API don't support GCC High customers
- Gathering Interest