I tried using the following script to disable one of my sub-sites:
Connect-SPOService -Url https://contoso-admin.sharepoint.com -credential email@example.com
I get the following error:
The site is not properly formed.
It seems that this script only works at site collection level. Do we have any script which would work at sub site level as well? Or any other suggestion how I could disable this site.