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

Authenticate Business Central/NAV Users with Azure Active Directory Error

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

This time I want to discuss an error message that appeared when you try to sign in to NAV or BC with Office 365 Account (authenticate Business Central/NAV Users with Azure Active Directory)

 SYMPTOM:

After making the Configuration to authenticate Business Central/NAV Users with Azure Active Directory the users tried to log in but they faced the error message ‘something went wrong

And when checking the event viewer there are two recurring errors

  • The management service endpoint is not available. Make sure that the ManagementServicesPort setting is set correctly in the web.config file of the Dynamics NAV Web Server instance.

 

  • Error accessing Website

Raw Url:

Url:

Type: System.ServiceModel.EndpointNotFoundException

Message: Could not connect to net.tcp://localhost:7045/DynamicsNAV110/StartupService. The connection attempt lasted for a time span of 00:00:04.0739054. TCP error code 10061: No connection could be made because the target machine actively refused it 127.0.0.1:7045.

pastedimage1660035260644v1.png

pastedimage1660035277952v2.png

RCA:

This issue is due to ManagementServicesPort being missing in NavSettings.json

Resolution:

Add ManagementServicesPort by opening NavSettings.json and adding the below parameter

 

"ManagementServicesPort":  "7055",

Or by using PS:

 

Set-NAVWebServerInstanceConfiguration DynamicsNAV110 -KeyName 'ManagementServicesPort' -KeyValue '7055'

 

 Please note: the port is different from one environment to another so please take care that  you are using the correct port

  • Verified answer
    Microsoft Dynamics 365 Business Central Profile Picture
    Microsoft Employee on at

    FYI

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 740 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 570 Super User 2026 Season 2

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 291 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans