I'm using SharePoint 2013 on prem and have stored some script files under _catalogs/masterpage where the master page that I'm using is stored.

I've enabled anonymous access to the site and the master page folder have also unique permissions to allow anonymous access.

Even so the scripts are not loaded for anonymous users, I'm getting 401 Unauthorized error.

What I'm missing here? Do I need to grant permissions for anonymous users somewhere else?

Thanks in advance

1 Answer 1


Make sure that the script files are checked in, published and approved.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.