Hi @sns ,
The cmdlet Connect-SPOService connects a SharePoint Online administrator or Global Administrator to the SharePoint Online Administration Center.
The value of parameter –Url should specify the URL of the SharePoint Online Administration Center site. For example:
Connect-SPOService -Url https://contoso-admin.sharepoint.com
If you are going to connect to a SharePoint Online site, you can use the PnP cmdlet Connect-PnPOnline. For example:
Connect-PnPOnline -Url https://contoso.sharepoint.com/sites/test123
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.