Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Issue Setting up Outlook Integration on Business Central V.17.0 on-prem

Posted on by 5

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: 

 pastedimage1607955341351v2.png

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?

  • Jerome Mizz Profile Picture
    Jerome Mizz 5 on at
    RE: Issue Setting up Outlook Integration on Business Central V.17.0 on-prem

    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..

  • Suggested answer
    srttel Profile Picture
    srttel on at
    RE: Issue Setting up Outlook Integration on Business Central V.17.0 on-prem

    Hi Jerome,

    from the call stack you linked to that question I can see:

    1. Message (AccountIsLockedException): ParentException: AccountIsLockedException
    2. This account is locked. Visit outlook.office365.com/.../[hidden] to unlock it.

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans