Forum Discussion
Dave Walker
Jan 11, 2019Copper Contributor
Powershell script for SharePoint online inventory fails with FullyQualifiedErrorId : IdcrlException
Hi All, I've bee tasked with creating a simple report that shows all the sites on SharePoint Online and a total of the content items in each site. It's just a basic inventory. The Powershell script ...
Dave Walker
Jan 14, 2019Copper Contributor
Hi Juan, yes I can get past excuting Connect-SPOService and Get-SPOSite. It's when I create a context object and execute a query on that object that I get the error.
Thomas Berman
Jan 16, 2019Iron Contributor
If you step through your code, does it fail on the very first iteration of your Get-SPOWebs() method? Could it be that one of the sub webs has broken inheritance and you don't have access?
Are you sure you have permissions to list webs and lists on that site?