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

Problem: When trying to connect to SharePoint Online site collection, I 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 - SharePoint Expert with Two decades of SharePoint Experience. Love to Share my knowledge and experience with the SharePoint community, through real-time articles!

Leave a Reply

Your email address will not be published. Required fields are marked *