Sorry, you don’t have access to this page

I am a Global Admin in Office 365, and Site Collection Administrator on a new site in SharePoint Online, so it’s pretty disconcerting to get the message:  “Sorry, you don’t have access to this page” when configuring my site.

In Site Settings, Look and Feel, I clicked on Navigation.  I made some changes to the Global Navigation, and clicked OK.

Sorry, you don’t have access to this page.


Of course, there is a box where I can request access.  That message would be delivered to me.  I tried that, just for fun.  I got the request and approved myself.  I tried again and still had the same error when I attempted to change the navigation settings in AreaNavigationSettings.aspx

I clicked on some other settings pages and realized I also could not configure the Site Output Caching or look at Popularity trends.

I worked with Microsoft to resolve this, sending them correlation IDs and Fiddler traces.  Apparently this is a known issue happening in some tenancies.

First, connect to your SharePoint Admin URL in SharePoint Online via PowerShell (run as administrator)

Connect-SPOService https://<yourdomain>

Log in with your admin user account

Run the command:  Set-SPOSite -Identity “https://<yourdomain>” -DenyAddAndCustomizePages $false

This PowerShell resolved the error in all of the site collections and according to Microsoft it will solve the problem in future site collections.  Hooray!


Here is some further info from Technet on how to connect to your tenancy:

Technet Connect-SPOService


  1. Denver January 7, 2015
  2. gbelzile January 10, 2015
  3. Heather Masters January 12, 2015
  4. Denis January 13, 2015
  5. Brad J March 31, 2015
  6. Joe December 8, 2015
  7. Andrew Maisey January 26, 2016
  8. Andrew Maisey January 26, 2016
  9. Graham Misselhorn March 18, 2016
  10. Alan P August 30, 2016
    • Andrew Zimmerman November 7, 2016
  11. Drew March 8, 2017
  12. Reza March 23, 2017

Leave a Reply


We use cookies to ensure the best possible experience on our website. Detailed information on the use of cookies on this site is provided in our Privacy and Cookie Policy. Further instruction on how to disable our cookies can be found there.