web
You’re offline. This is a read only version of the page.
close
Skip to main content
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!
I have the same question (0)
  • YUN ZHU Profile Picture
    89,835 Super User 2025 Season 2 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

Responsible AI policies

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

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,899 Super User 2025 Season 2

#2
Sumit Singh Profile Picture

Sumit Singh 2,444

#3
Jeffrey Bulanadi Profile Picture

Jeffrey Bulanadi 2,304

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans