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 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…