Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Symptoms

To enhance security, the Content Security Policy (CSP) restriction is added to all classic pages. If you have a customized classic page that contains customized domain content, the page may be blocked by the CSP restriction.

Resolution

Note: Make sure that the content of your customized domain is safe before you follow the instructions to unblock it.

To fix this issue, farm administrators can run the following commands to add the customized domain to the AllowIframeAppAuthorizePageDomains list:

add-pssnapin *
$f=get-spfarm
$f.AddGenericAllowedListValue("AllowIframeAppAuthorizePageDomains","<customized domain>")
$f.update()

After you run the commands, the customized domain will be included in the CSP's allowed domain list.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×