I was trying to setup the Outlook integration (O365 Outlook) for Business Central on-prem (verion 17.0) as I had done before on previous versions. That is go to assisted setup -> Setup your Business Inbox in Outlook and then following the Wizard. In previous version I have managed to set this up without any issues.
Although on this version, I encountered an issue. Business Central itself is showing the following message:
I tried multiple times, and I am certain that the email and password are correct.
So I went to check the error logs on the server hosting Business Central trough event viewer, and found the following error: https://pastebin.com/smbZ8tLj (put it on pastebin to reduce large spam here)
The [hidden] part in the link is the email ending (example @company.com)
Navigating to the link leads to outlook, with the user logged in. And even if the error states the user is locked, the account is fully functional and can login into anything else.
To check if the error if specific to my user, I tried with a different account and got the exact same errors, once again the other account is not locked out.
Anyone encounter a similar issue? Or have any idea on what I can try to fix this?
Found another solution to this, issue was I needed to use app password instead (due to 2 factor authentication)
The error message could be updated to better show what the issue actually is..
Hi Jerome,
from the call stack you linked to that question I can see:
I would follow this article which explains the issue and how to unlco it.
Account has been locked (microsoft.com)
Seems that this is not Business Central related and BC is more the victim here.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156