Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Cannot open Sessions page when using Dynamics NAV with Office 365 SSO? Here is what to do!

Posted on by
Hi,
If you did configure the Dynamics NAV with Office 365 SSO via the demo Powershell scripts that you find on the product DVD (\WindowsPowerShellScripts), you will end up with a link to the debugger / session page like dynamicsnavwinclient/.../debug.
That does not work and will result in page not found. The workaround would be to create the Azure AD App manually.
The changes you would need to make in the relevant customsettings.config file are the following:
CustomSettings.config:

  <add key="ClientServicesFederationMetadataLocation" value="login.windows.net/.../FederationMetadata.xml" /
  <add key="AppIdUri" value="AADID.onmicrosoft.com/<<Azure_AD_App_GUID_of_App_ID_URI>>" />
For Dynamics NAV 2018:
  <add key="WSFederationLoginEndpoint" value="login.windows.net/.../wsfed />
For earlier Dynamics NAV releases:
  <add key="WSFederationLoginEndpoint" value="login.windows.net/.../wsfed />
  <add key="AzureActiveDirectoryClientId" value="<<Azure_AD_App_APPLICATION ID>>" />
Reply URL in Azure AD App:
For Dynamics NAV 2018:
  https://<<webclienturl>>/
For earlier releases of Dynamics NAV 2017:
  https://<<webclienturl>>/WebClient

Tip1: ensure you make it as a best practice to use lowercase chars and uppercase chars where needed (WEBSERVERINSTANCENAME\WebClient; e.g. nav.domain.com/NAV110W1SSO or nav.domain.com/.../WebClient). The Excel Add-In will love the usage of lower case and upper case.
Tip2: for the Reply URL value, you can also choose to directly add the following url as well (if your client ever wants to use Power BI): https://<<webclienturl>>\OAuthLanding.htm (it will save you some time to do this later on via the Assisted Setup wizard)
Tip3: as a best practice also fill in values for the PublicWebBaseUrl and PublicODataBaseUrl
Hope this does help you further.

*This post is locked for comments

  • Verified answer
    Marco Mels Profile Picture
    Marco Mels on at
    RE: Cannot open Sessions page when using Dynamics NAV with Office 365 SSO? Here is what to do!

    Question and answers in one posting.

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans