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

On-Premise Deployment of App/Extension to Production with AAD Authentication

(1) ShareShare
ReportReport
Posted on by 6
I am wondering if anybody has encountered an issue when downloading symbols in Visual Studio Code to deploy an app to Production. My launch.json is set up with the correct server, environment type, server instance, and primary tenant domain. For authentication, we have AAD selected because it is required when dealing with Microsoft Entra ID for US Government. When trying to download the symbols, it is attempting to acquire the token using https://login.microsoftonline.com// with the primaryTenantDomain instead of https://login.microsoftonline.us// which is why I suspect I am having an issue. Is there any way to change the link to point to .us instead of .com in the nav server configuration?
 
Also, is anybody aware of any other way to deploy AL to Production for On-Prem that isn't via VS Code? I am aware that in the cloud, you are able to go to Extension Management -> Manage -> Upload Extension -> Select .app file, but this doesn't seem to be available as an option to use in on-prem.
 
Thank you!
  • YUN ZHU Profile Picture
    85,338 Super User 2025 Season 1 on at
    On-Premise Deployment of App/Extension to Production with AAD Authentication
    As far as I know, when you use AAD Authentication, VS Code cannot use the same authentication to access the environment. You need to create a new instance.
    As for how to publish extension in the On-Pre version, just like Extension V1 in NAV, you can use the Publish command.
    Hope the following 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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,655

#2
Mansi Soni Profile Picture

Mansi Soni 1,574

#3
YUN ZHU Profile Picture

YUN ZHU 1,453 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans