An Inconvenient PowerShell Error: “format-default : The collection has not been initialized”

For many months now, I’ve been getting our favorite kind of error – a sporadic one – when I am running PnP PowerShell which loops through the same code many times. The errors look something like this: format-default : The collection has not been initialized. It has not been requested or the request has not…

Using the PnP Modern Search Web Parts with Refiners for Site Name and Content Type

I am a huge fan of the Modern Search Web Parts. They are a perfect bridge from classic search to where we all hope Microsoft Search is heading. The team working on these Web Parts is a first class bunch, and they are doing fantastic work. Franck Cornu – @FranckCornu Tarald Gåsbakk – @taraldgasbakk Yannick Reekmans – @yannickreekmans…

Displaying a Lock Icon with Navigation Links to Restricted Content

I saw this trick during a recent webinar or session, but I can’t remember who showed it. I think it’s useful enough to share. If it’s your trick, please let me know and I’ll give you credit! Right now, we don’t have permission trimming in Hub Site navigation. It’s coming, but until it’s there sometimes…

Opening Office Documents in Client Applications Instead of the Browser

At Sympraxis, we work with organizations in a wide variety of industries. That’s one of the reasons we love working with SharePoint and Office 365 – there are no vertical focuses required. Organizations of just about every size and shape use these platforms, which makes life much more interesting. That said, people in different industries…

Using Invoke-SPOSiteSwap to Swap in a New Root Site in Office 365 – Follow Up

Last week, I wrote a post about using Invoke-SPOSiteSwap to swap a new modern site into the root site of our Sympraxis tenant. While it worked just great, there were some follow on issues I wanted to document in case you might run into them, too. Nothing horrible, but a bit of required cleanup. The…

Using Invoke-SPOSiteSwap to Swap in a New Root Site in Office 365

Things we used to think of as miracles happen almost every week in Office 365. The latest thing that impressed me is the ability to swap an existing site into the root site of your tenant using the Invoke-SPOSiteSwap PowerShell cmdlet. The Sympraxis tenant has been around since practically the old BPOS days, so the…

Solving the `For security reasons DTD is prohibited in this XML document.’ PowerShell Error

This is more a Todd Klindt (@ToddKlindt) post than a me post, but hey – he was on vacation. I was trying to run some PowerShell on my new-ish tenant and was getting an error Todd and I had worked past before. Just a simple: …was giving me an error like this: Connect-PnPOnline : For…