Part of the initial configuration in cloud-hosted environments application id needs to be updated in wif.config file. Reports will not function without this setup. When users attempt to run the report, system throws following error message.
"At least one security token in the message could not be validated"
To fix the error follow below steps
- In visual studio, open the wif.config file located at K:\AOSService\webroot
- Create a new entry under audienceUris, as shown, under the current value for the customer's Entra Appid.
- If you don't have valid application Id, register the app using the link.
App register
- Final audienceUris should look like the format shown below
- After making the changes, save the file and reset IIS
Refer link for more details.