Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

Issue in configuring SSO

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

  • CU16080538-3 Profile Picture
    CU16080538-3 4 on at
    Issue in configuring SSO
    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!!
  • Suggested answer
    DAnny3211 Profile Picture
    DAnny3211 9,264 Super User 2024 Season 1 on at
    RE: Issue in configuring SSO

    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

  • Rbansode Profile Picture
    Rbansode 5 on at
    RE: Issue in configuring SSO

    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
    Nitin Verma Profile Picture
    Nitin Verma 21,063 Super User 2024 Season 1 on at
    RE: Issue in configuring SSO

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

    Thanks.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,888 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,247 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans