-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Solved) Microsoft EMAIL OAUTH authentication error on 7.13.2 #9991
Comments
I have the same issue, |
It's a problem with Microsoft's services: it treats certain permissions as mutually-exclusive. (If you have |
After repeated attempts we were able to get the integration working. First of all, the creator of the App must be the same author of the group credential. Secondly, a 4th permission must be enabled in the microsoft application (portal.azure.com): And the third step, whoever creates the group credentials in suitecrm, must use the same email account that was used to create the permissions app. I hope you find it useful |
I'm sorry to inform you that this has nothing to do with suitecrm. |
Hey Folks Thank you all for getting in touch and discussing this! And Thank you @kunanSA for sharing your solution to this. I'll close this for now, as it has been marked as "Solved". |
The configuration provided to connect via OAUTH to Office 365/Azure, is not working quite correctly for group accounts.
Expected Behavior
When entering an email account, it is expected to receive a successful login response
Actual Behavior
Testing this group account generates a failed authentication and it is not possible to check emails
LOG ERROR:
Steps to Play
Context
When completing all the steps mentioned to create a group record, you always get a popup indicating "incorrect password", even after completing all the steps mentioned in the suitecrm documentation. It should be noted that we have granted more permissions than those mentioned in the documentation. And it keeps failing anyway.
https://docs.suitecrm.com/admin/administration-panel/emails/microsoft-oauth-provider-howto/
https://docs.suitecrm.com/admin/administration-panel/emails/inboundemail-oauth-howto/
Theme update:
I found in other forums that there is a problem regarding XOAUTH2 for Microsoft accounts, I want to know if the problem really lies on the part of Microsoft with OAUTH or is it a real Suitecrm problem
Forum link: https://lab.civicrm.org/dev/core/-/issues/3601
Your Environment
Theme update April 17, 2023:
After repeated attempts we were able to get the integration working. First of all, the creator of the App must be the same author of the group credential. Secondly, a 4th permission must be enabled in the microsoft application (portal.azure.com):
email <-- new
offline_access
IMAP.AccessAsUser.All
User.Read
And the third step, whoever creates the group credentials in suitecrm, must use the same email account that was used to create the permissions app.
I hope you find it useful
The text was updated successfully, but these errors were encountered: