We are running with critical issue with the BPM Sync emails.
The email account password expired and we are trying to reset it.
We did reset in the exchange, but when we try to update the new password in BPM the system shows the below message.
"Invalid email or password"
But we verified by logging in in M365, able to login.
Like
Hi Selva,
Microsoft stopped using the "Basic authentication" type for mailbox authorization. Therefore, to solve the issue, It recommends switching to the OAuth authorization type to restore mail synchronization in the application. Microsoft provides the following set up instructions - https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchan…
For the application version 8.0.2 and above the steps are the following: 1. Setup the application in Azure. 2. Make changes to the mail provider on the Creatio side (change from basic to OAuth and fill in data form Azure side). 3. All user mailboxes will require user action to grant permission to continue synchronization. Older versions: 1. Setup the application in Azure. 2. Setup the mail provider on the Creatio side (It’s better to create a Copy of the existing mail provider and use it but it’s also possible to change the old one) 3 .a If it is OK to delete the mailbox and add it with the new mail server – it’s the easiest way and will cause no additional issues. That’s all. 3 .b In case you cannot / don’t want to delete a mailbox and want to adjust it to use the new mail provider then your IT team should do steps 1 and 2 and then contact Creatio support asking to: - Update the MailServerId column of the MailboxSyncSettings table with the value of the new/adjusted mail server that can work with Oauth. - Run the script: update "MailboxSyncSettings" - set "ErrorCodeId" = '5f906e1c-9521-45df-8e43-82b5109e0e4d' - where "Id" = 'the_Changed_Mailbox' 4. All user mailboxes will require user action to grant permission to continue synchronization.
BR,
Bhoobalan Palanivelu.
As Bhoobalan mentioned, Microsoft has disabled basic authentication for Office 365 accounts, which means you can no longer use a username & password to log in from other applications (such as Creatio). Instead, you need to create an OAuth app in the Office 365 Azure portal, then use that in Creatio.
I have an article with screenshots showing how to set up OAuth for using Office 365 in Creatio here: https://customerfx.com/article/setting-up-microsoft-office-365-email-fo…
The account will no longer work in Creatio until you switch it to use OAuth.
Ryan
Ryan Farley,
Thanks for the detailed steps.
We followed all the steps as per your link, and then tried to update the new password in Creatio ( where it shows warning message like specify the new password). It gives the same error message.
But when I deleted my email account and re-added , it works fine.
Do we need to delete all the email accounts ( We have 5 email accounts for renewal, case process) and re-add them ? or do we have any other way to provide permission and make it sync without deleting them ?
Please let me know.
Thanks,
Selva
Selva,
Selva,
Yes, The steps are the same for versions below 8 as mentioned.
It's not mandatory to delete the mailbox and re-add them but if it is fine to remove and re-add the mailbox, it's the easiest method to do.
All 5 accounts must be of Office 365 and currently you have updated the OAuth in Creatio following Ryan's article. So you can remove the other mailbox and re-add them and synchronize it.
BR,
Bhoobalan Palanivelu.