Skip to main content

Notifications

Announcements

No record found.

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 
 
  • Verified answer
    CD-25061047-0 Profile Picture
    CD-25061047-0 29 on at
    BC 24 on-prem environment configuration problem
    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 
  • CD-25061047-0 Profile Picture
    CD-25061047-0 29 on at
    BC 24 on-prem environment configuration problem
    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
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 75,673 Super User 2024 Season 2 on at
    BC 24 on-prem environment configuration problem
    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

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,379 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans