Fix “Get-SPOSite: The Site ‘https://tenant.sharepoint.com/’ 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.” Solution: The solution is simple! Just remove the trailing “/” from the URL! E.g., In my case, instead of “https://crescent.sharepoint.com/sites/marketing/”, I had to remove the backslash “/ “after marketing….

Read more