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 4
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
    YUN ZHU 78,198 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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,575 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans