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. Learn more in, 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. Learn more in User Authentication with Microsoft Entra ID for Single Sign-on.
- If the
Allowed Extension Target Levelsetting is set toCloud, set the server settingForceExtensionAllowedTargetLeveltotrue. If theAllowed Extension Target Levelsetting is set toOnPrem, you don't need to setForceExtensionAllowedTargetLevel. Learn more in Configure Business Central Server.
Related information
JSON Files
User Authentication with Microsoft Entra ID for Single Sign-on
Find tenant ID, domain name, user object ID