"Set-PnPAvailablePageLayouts -AllowAllPageLayouts" returning an error "Access denied. You do not have permission to perform this action or access this resource.."

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…Continue reading How to fix “Access denied” errors when running “Set-PnPAvailablePageLayouts”?

SharePoint PnP logo

Another fix to the “Connect-PnPOnline : The sign-in name or password does not match one in the Microsoft account system.” error.

This post describes a simple way to get around the following error while running Connect-PnPOnline: “The sign-in name or password does not match one in the Microsoft account system.” Truthfully, this one is kind of simple and stupid – but as I’ve seen before, it’s surely worth documenting anyway! Below…Continue reading Another fix to the “Connect-PnPOnline : The sign-in name or password does not match one in the Microsoft account system.” error.

If you could just fix SharePoint... That would be great.

Solving yet another “Microsoft.SharePoint.Client.ServerException: Unknown Error”

There are a thousand possible things that can throw a “Microsoft.SharePoint.Client.ServerException”, but fewer things, that are ambiguous enough to be called “Unknown error”. This post describes one fairly usual fix for this issue! But let’s get back to the beginning for a second – you get what and when now?…Continue reading Solving yet another “Microsoft.SharePoint.Client.ServerException: Unknown Error”

If you could just fix SharePoint... That would be great.

Fixing “-2147024891, System.UnauthorizedAccessException” when accessing SharePoint SOAP Web Services

This article explains how to fix error 2147024891 (or sometimes -2147024891), “System.UnauthorizedAccessException” when accessing functionality in SharePoint that’s built on top of SOAP Web Services. In a sense, we’re delving into some legacy stuff – Microsoft has still kept SOAP-based SharePoint Web Services included in the product, since a lot…Continue reading Fixing “-2147024891, System.UnauthorizedAccessException” when accessing SharePoint SOAP Web Services