Access control to PowerServer Management APIs

PowerServer Management APIs can get and modify information about the license, database connection, transaction etc. To protect these sensitive information, access to these APIs are disabled by default.

If you want to access the PowerServer Management APIs, you should enable the use of APIs first.

To enable the use of APIs, go to UserExtensions project -> UserStartup.cs, uncomment the following script if it is commented or add the script if it does not exist:

app.UsePowerServerManagementAPI()

After PowerServer Management APIs are enabled, you must configure authentication and authorization policies to control access. For more information, refer to Enable access to APIs.