We've recently switched over to OAuth Authentication for our network using Active Directory Federated Systems. We were able to successfully integrate the mailbox and can receive and process external emails to create issues.
However, our internal users which are synced with Active Directory and have Service Desk Customer - Portal Access permissions are unable to create issues via Email Requests with the following errors:
2020-06-29 14:52:52,098-0400 WARN [Office 365] Caesium-1-1 anonymous Default Mail Handler Default Mail Handler[10200]: Cannot create issue due to invalid license: [Sorry, you can't create any issues right now, as you need to have access to a Jira application to be able to create issues. To gain application access you need to be a member of a group assigned to an application.]
2020-06-29 14:52:53,051-0400 WARN [Office 365] Caesium-1-1 anonymous Default Mail Handler Default Mail Handler[10200]: Cannot create issue due to invalid license: [Sorry, you can't create any issues right now, as you need to have access to a Jira application to be able to create issues. To gain application access you need to be a member of a group assigned to an application.]
2020-06-29 14:52:54,020-0400 WARN [Office 365] Caesium-1-1 anonymous Default Mail Handler Default Mail Handler[10200]: Cannot create issue due to invalid license: [Sorry, you can't create any issues right now, as you need to have access to a Jira application to be able to create issues. To gain application access you need to be a member of a group assigned to an application.]
2020-06-29 14:52:54,973-0400 WARN [Office 365] Caesium-1-1 anonymous Default Mail Handler Default Mail Handler[10200]: Cannot create issue due to invalid license: [Sorry, you can't create any issues right now, as you need to have access to a Jira application to be able to create issues. To gain application access you need to be a member of a group assigned to an application.]
2020-06-29 14:52:55,910-0400 WARN [Office 365] Caesium-1-1 anonymous Default Mail Handler Default Mail Handler[10200]: Cannot create issue due to invalid license: [Sorry, you can't create any issues right now, as you need to have access to a Jira application to be able to create issues. To gain application access you need to be a member of a group assigned to an application.]
We've tried the remediation strategies posted here but with no success:
https://confluence.atlassian.com/jirakb/create-issue-via-email-fails-due-to-invalid-license-error-in-jira-server-790959539.html
This was previously working using basic authentication against an imap mailbox using email request on a per project setting.
For the OAuth, we had to switch to the incoming mail handler located under ( System > Incoming Mail )
Is there anyway to replicate the previous behavior using Project Settings and Microsoft mailboxes using OAuth instead of basic authentication?