web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Issue in configuring SSO

(0) ShareShare
ReportReport
Posted on by 171

Hi All,

I was trying to configure SSO in Business Central v21 On Premise following this blog - Configuring Business Central for Azure Active Directory authentication and OAuth (1) – Kauffmann @ Dynamics 365 Business Central

I did the steps mentioned in the comments as well however I'm still facing this issue.

Can anyone please let me know where I may be going wrong?

Any guidance is highly appreciated.

pastedimage1678449614576v1.png

I have the same question (0)
  • Suggested answer
    Nitin Verma Profile Picture
    21,794 Moderator on at

    Can you check if you have added your APP for permission in Azure Active directory in BC and grant consent?

    Thanks.

  • Rbansode Profile Picture
    5 on at

    Hi Nitin, 

    The same Azure App was used for SSO in v19 before we upgraded to V21. The necessary permissions have been granted in Azure.

    Thanks. 

  • Suggested answer
    DAnny3211 Profile Picture
    11,417 Super User 2026 Season 1 on at

    hi

    Without more specific information about the issue you are facing, it is difficult to determine where you may be going wrong. However, here are a few general tips that may help:

    Make sure that you have followed all the steps in the blog post and the comments correctly, including registering the application in Azure Active Directory, configuring the app settings and web.config files, and enabling the OAuth 2.0 authentication provider in Business Central.

    Double-check that the configuration settings match between Azure Active Directory and Business Central, especially the client ID and secret, redirect URI, and scope.

    Check the Business Central event viewer for any error messages related to authentication or SSO, which may help identify the issue.

    Make sure that the user account you are using to test SSO has the necessary permissions in both Azure Active Directory and Business Central.

    If you are still having issues, try reaching out to Microsoft support or a Business Central expert for assistance in troubleshooting the issue.

    DAniele

  • CU16080538-3 Profile Picture
    4 on at
    Hi Everyone,

    I am getting the same error for BC18 & BC20 on-premise with SSO Azure. The Federation Metadata document could not be retrieved from the specified location: https://login.microsoftonline.com

    What's the exact solution, Your solution is appreciated greatly!!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,005 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,148 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 557 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans