Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Unanswered

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

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!
Categories:
  • YUN ZHU Profile Picture
    YUN ZHU 68,533 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

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

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

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,277 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,126 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans