Friday, 8 June 2018

Office 365 : How to get SharePoint Online Admin Site Url

You have to give your SharePoint admin site url as root scope when you work with SharePoint online PowerShell module and SharePoint Client Object Model (CSOM). The possible admin site url would be like below sample url.
Consider your office 365 user id (userPrincipalName) is : "" and most probably your tenant name is "contoso" then your sharepoint admin site url should be below one.
You can test the url is correct or not by using this url as root scope with SharePoint Online Powershell module. The below connect your sharepoint admin site and list all sites.
Connect-SPOService -url ""
Get-SPOSite | Select Title, Url
You can also get the correct url by connecting Office 365 Admin center site:
Steps to get sharepoint admin site url from Office 365 admin center
  • Now, you can view your admin site and get the correct admin site url as shown in below image.
how to get sharepoint admin site url


No comments:

Post a Comment