Skip to main content

Notifications

Community site session details

Community site session details

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

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

(0) ShareShare
ReportReport
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
    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
    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,095 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,866 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans