- Published on
- Authors
- koskila
How to fix "Access denied" errors when running "Set-PnPAvailablePageLayouts"?
This article describes one way how to fix seemingly non-sensical " Access denied " errors, that you get when running Set-PnPAvailablePageLayouts . Problem While running the PnP cmdlet for enabling or selecting the available publishing page layouts for a web, you run into this, fairly generic error: Access denied. You do not have permission to perform this action or access this resource.















![Cover image for Fixing "An assembly specified in the application dependencies manifest [projectname].deps.json was not found"](/cdn-cgi/image/sharpen=1,format=gif,quality=90,slow-connection-quality=50,onerror=redirect,fit=scale-down,width=1920/images/2577-image-2.gif)








