Views:

Applies to Product - Power Pages


What’s happening?
The customer is encountering an error message stating "You are offline. This is a read-only version of the page." after the site's authentication key expired and was revalidated.


Reason:
This is caused by the Content Security Policy not being properly configured in the site settings.


Resolution:

  • Verify that the Content Security Policy is correctly set up in the site settings.
  • It is recommended to configure the CSP directive with the value: script-src https: 'nonce'.
  • Ensure that the authentication key has not expired and renew it if necessary using the site authentication management.
  • Check if an application user is created for the site in the Dataverse organization and confirm its existence using the site checker.
  • Ensure that the Dataverse organization where the site is created is running and not in maintenance mode.
  • Verify that the connected environment URL of Microsoft Dataverse has not changed and update it if necessary.
  • Confirm that the site registration is present and active in the portal management application.
  • Use the Devtool extension to debug the site to identify the root cause of the problem.
  • Review error logs by disabling custom error logging to find detailed exceptions.
  • Execute the site checker to resolve any configuration issues.