Skip to main content

Notifications

Announcements

No record found.

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 75,595 Super User 2024 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

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,642 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,371 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans