The Azure AD server address must be provided so that the PowerServer Web APIs can use it to validate the token passed from the client. And if validation is successful, it can get data from the database.
Note
The authentication template will be restored if the "Auth Template" option is changed and the PowerServer C# solution is re-built from the PowerBuilder IDE. Therefore, do not change the "Auth Template" option if you have made changes to the template in the solution.
Get the Domain, TenantId and ClientId from Creating an Azure AD tenant, then open the Authentication.json file to modify the authentication template.
"AzureAd": { "Instance": "https://login.microsoftonline.com/", "Domain": "powerservertest.onmicrosoft.com", "TenantId": "0ffb9ae0-c080-4913-aa94-ed08b5de4d40", "ClientId": "49cddad2-721d-4fbc-bd64-1cfa2b183e00" }