Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
In addition to using Windows and NavUserPassword authentication, you can use Microsoft Entra ID to authenticate and publish in on-premises installations and containers from Visual Studio Code. Using Microsoft Entra ID makes it possible to mimic application lifecycle operations in an on-premises environment, while keeping the cloud-based Microsoft Entra authentication.
To enable Microsoft Entra authentication, make sure to do as follows:
- Use the
primaryTenantDomainsetting in thelaunch.jsonfile to specify the URL of the Microsoft Entra organization or company associated with the Microsoft Entra tenant. For more information, see Find tenant ID, domain name, user object ID and JSON Files. - On the NST, you must ensure that the server is set up to use Microsoft Entra ID as authentication mechanism. For more information, see User Authentication with Microsoft Entra ID for Single Sign-on.
- Furthermore, if the
Allowed Extension Target Levelsetting is set toCloud, the server settingForceExtensionAllowedTargetLevelmust be set totrue. If theAllowed Extension Target Levelsetting is set toOnPrem, it isn't necessary to setForceExtensionAllowedTargetLevel. For more information, see Microsoft Dynamics 365 Business Central Server Configuration.
Related information
JSON Files
User Authentication with Microsoft Entra ID for Single Sign-on
Find tenant ID, domain name, user object ID