Get-SPOSite : The managed path sites is not a managed path in this tenant.
When we are trying to enable scripting at site collection level based on my input file, suddenly we got an error as per the below. Get-SPOSite : The managed path sites is not a managed path in this tenant.
This is very basic issue but just I am
sharing my knowledge and findings as an article.
We reviewed the input file for one of the
site collections it was added extra slash "/"
Example : https://dotnetsharepoint.sharepoint.com/sites/mytestsite/
Remove the / at the ending, issue will
resolve automatically.
Hope this will helps you all.