Fix “Get-SPOSite: The Site ‘’ is not properly formed” Error in SharePoint Online

Problem: When trying to connect to SharePoint Online site collection, got this error message “Get-SPOSite The Site Tenant-URL is not properly formed.”

Get-SPOSite: The Site "" is not properly formed


The solution is simple! Just remove the trailing “/” from the URL! E.g. In my case, instead of “”, I had to remove the backslash “/ “after marketing.

So the right format of my site collection is: “

Salaudeen Rajack

Salaudeen Rajack is a SharePoint Architect with Two decades of SharePoint Experience. He loves sharing his knowledge and experiences with the SharePoint community, through his real-world articles!

Leave a Reply