Refresh all published content types on next update access denied

To resolve an access denied error when trying to update content types on next timer job run from the Content Type Hub using the ‘Refresh all published content types on next update’ function, run the below PowerShell;

Connect-SPOService -Url https://tenantname-admin.sharepoint.com
Set-SPOsite https://tenantname.sharepoint.com/sites/sitename -DenyAddAndCustomizePages 0

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s