How to fix 401 error after applying a custom master page to SharePoint

SP2013 SP2016

After applying a custom master page to the site some pages or all of them display a 401 error.

This happens on collaboration sites and system pages namely Team Sites where you have minimal download strategy feature activated.

This feature is active by default in this sites but if you will be using custom master pages is a good practice to deactivate it.

On Publishing sites, it’s deactivated by default so you will not experience this issue.


  1. Apply back the Seattle master page, even though your site is displaying a 401 error you are still able to access to the master page gallery using this url: /_layouts/15/ChangeSiteMasterPage.aspx
    As an alternative you can open the site withSharePoint designer, open the master page gallery and with a right click in the Seattle master page define it as the Default and Custom master
  2. Go to Site Settings -> Manage Site Features
  3. Deactivate the Minimal Download Strategy feature, don’t forget to deactivate it for all the site where you will be using the custom master page
  4. Go to Site Settings -> Master Page and apply your custom master page again
Have more questions? Submit a request


BindTuning logo
Copyright Ⓒ 2021 Bind.
All rights reserved.
Privacy Policy
Cookie Policy
              Linkedin BindTuning Twitter BindTuning YouTube BindTuning Instagram BindTuning
Powered by Zendesk