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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

BC 24 on-prem environment configuration problem

(1) ShareShare
ReportReport
Posted on by 29
Hi Community ,
 
My question might be all over the place , kindly excuse me .
 
I have created a BC 24 on-prem server instance , one using AccessControlService and Windows ( ClientServicesCredentialType ) .
 
This is new project , not a data migration project ( fyr ) .
 
I have configured the following details in admin shell of BC24 :
 
managementserviceport 
DeveloperServicesPort
ClientServicesPort
ODataServicesPort
SOAPServicesPort
 
ADOpenIdMetadataLocation
AppIdUri
AzureActiveDirectoryClientCertificateThumbprint
DatabaseName                                                
DatabaseServer
                                         
PublicWebBaseUrl
ServicesCertificateThumbprint
ValidAudiences
WSFederationLoginEndpoint
 
In IIS I have added the following details for the created server instance ( navsetting.json ) :
managementserviceport
ClientServicesPort
ClientServicesCredentialType
AadApplicationId  
AadAuthorityUri
 
I have read some other threads talking about net.tcp listener adapter , net.pipe listener adapter being stopped . But in my rdp all those services are running .
 
When I am trying to load the environment I am not getting any errors in the event viewer . But only the following errors are present in screens .
 
This screen is when I am trying to load AccessControlService  environment . My credentials were not asked for . As soon I try to load this url , this error came .
 
 
This is the error I am getting when I am trying to load Windows environment . As soon as I enter the credentials , this page loads with this error message .
 
 
The azure AD details are correct ( it is setup in same format as in BC 22 environment ) , verified . 
 
Should I check elsewhere  and am I missing some configuration , kindly help .
 
Thanks & Regards 
 
Calvin 
 
I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    95,712 Super User 2025 Season 2 on at
    Sorry, I have only tested Azure authentication in previous versions, is it possible that it is a problem with the certificates?
    Tests in older version:
     
    Hope this helps.
    Thanks.
    ZHU
  • CD-25061047-0 Profile Picture
    29 on at
    Thank you for the reply Mr. Yun Zhu . Actually the same certificate is used for other BC environments by my organization ( BC 18 , BC 19 , BC22 ) . And all those environments are working as expected currently . So I think that there is no problem with the certificate .  I have updated the certificate here in this BC 24 admin shell field  : ServicesCertificateThumbprint . Should I check elsewhere .
     
    I have gone through the documentation that you have provided above . And I have tried to enter the web client link in the following format as provided in the documentation : http://192.168.227.198:8080/BC171/
     
    Then I got the following 2 errors :
     
     
     
     
    The error points to management port missing , but I have added it already . Here for your reference .
     
     
    Navsetting.json file :-
     
     
    My environment is multitenant by the way and the ClientCredentialType is AccessControlService . Any suggestion on what next to check for ?
     
    Thanks & Regards 
    Calvin
  • Verified answer
    CD-25061047-0 Profile Picture
    29 on at
    Hi people ,
     
    The problem is that the values did not set properly in my iis web server . So i added the below command and then set all config for the web server again . It worked like a charm .
     
     Import-Module "C:\Program Files\Microsoft Dynamics 365 Business Central\240\Web Client\Modules\NAVWebClientManagement\NAVWebClientManagement.psm1"
     
    Regards 
     
    Calvin 

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,606

#2
YUN ZHU Profile Picture

YUN ZHU 931 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 773 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans