This article explains how to use some archaic PowerShell magic to configure a custom 404 page for your Modern SharePoint Online Communication site. If you’ve been working with SharePoint for a while, this property might be already familiar to you. A lot of settings for each site collection are stored…Continue reading How to configure a custom 404 page for a SharePoint site?
This article explains how to easily add additional headers to the Graph API calls you make in PowerShell using Invoke-PnPGraphMethod commandlet. There’s a convenient sample for you to copy-paste and some basic explanations on what we’re doing below. Background Every now and then, I need to make some Graph API…Continue reading How to add AdditionalHeaders to Invoke-PnPGraphMethod?
… And that’s a wrap! This year I had the chance, and the privilege to once again participate in the month-long celebration of open-source, Hacktoberfest. And unlike last year, I took the time to write about the experience again! And for someone like me, who doesn’t really do much open-source…Continue reading Hacktoberfest 2022
This article explains how to fix an issue when updating a module in PowerShell. The error is something along the lines of: “System.InvalidOperationException: PowerShell Gallery is currently unavailable. Please try again later.” The whole error looks something like the one below, although you can probably get it for many different…Continue reading How to fix “System.InvalidOperationException: PowerShell Gallery is currently unavailable.”
You might’ve heard the news – Delve Blogs are on the way out, leaving your users without a blogging platform on Office 365, and their data homeless. And by homeless, I mean deleted pretty soon. And by pretty soon I mean really soon. Might be a good time to start…Continue reading How do you migrate your Delve Blogs content to Modern SharePoint?
The news is out – Delve Blogs will be axed, leaving your users without a blogging platform on Office 365, and their data homeless. And by homeless, I mean deleted. Might be a good time to start thinking about storing it somewhere else instead! This post is the second post…Continue reading How to export your Delve blogs content?
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”?
This was a peculiar case! An issue I hadn’t run into before, and luckily a disturbingly simple fix. But first, let’s set up the scene: We were running a long-ish PowerShell script using a Global Administrator account. One part of the script was supposed to add and deploy a couple…Continue reading How to fix Add-PnPApp failing with an Access Denied error