Modifying and re-deploying the PowerServer project

Step 1: Add the INI file CloudSetting.ini to the Files preloaded in uncompressed format section in the Application page.


Step 2: Select RESTClient Support and WebBrowser Support (Used for scenario 3) under the Runtime files group in the Application page > Advanced tab.


Step 3: Select Use external Microsoft Entra ID service in the Security page.

Select Use external Microsoft Entra ID service from the Auth Template list box, view the license terms, and select the "I have read and agree to the license..." option.


Step 4: Save the changes and then deploy the PowerServer project again (using the "Build & Deploy Project" option).

The PowerServer C# solution > UserExtensions project provides templates for configuring the address of the authentication server like Azure AD B2C.

  • Authentication.json contains the settings for enabling the authentication feature ("PowerServer:EnableAuthentication") and specifying the address of the authentication server ("AzureAd"). The PowerServer Web APIs will validate the token against the authentication server; and if validation is successful, data will be obtained from the database.

    The "PowerServer:EnableAuthentication" setting is set to true by default. Setting it to false will turn off the authentication feature.

    The "AzureAd" block is for specifying the information of Azure AD B2C. See the next section for more details.