none
How to check if the Sharepoint site is on Sharepoint online (or On premises).? RRS feed

  • Question

  • Hi

    Is there any way to check whether the SharePoint site is on SharePoint Online or on premises.

    Can we do that using URL?

    I need to write a PowerShell script to check is the site is on SO, but no idea what condition to use.

    Thanks

    Paru

    

    Paru

    Monday, April 17, 2017 1:56 PM

Answers

  • An easy check for SharePoint Online or on premises would be to look at the host name. In the case of SharePoint Online, it will always be in the form of tenant.sharepoint.com. A local installation, third party hosted, or something running in Azure, it will be for all intents and purposes the same thing, an on premises installation.



    get2pallav
    Please click "Propose As Answer" if this post solves your problem or "Vote As Helpful" if this post has been useful to you.

    • Proposed as answer by Maruthachalam Monday, April 17, 2017 8:30 PM
    • Marked as answer by Paru Upreti Tuesday, April 18, 2017 6:41 AM
    Monday, April 17, 2017 3:29 PM

All replies

  • An easy check for SharePoint Online or on premises would be to look at the host name. In the case of SharePoint Online, it will always be in the form of tenant.sharepoint.com. A local installation, third party hosted, or something running in Azure, it will be for all intents and purposes the same thing, an on premises installation.



    get2pallav
    Please click "Propose As Answer" if this post solves your problem or "Vote As Helpful" if this post has been useful to you.

    • Proposed as answer by Maruthachalam Monday, April 17, 2017 8:30 PM
    • Marked as answer by Paru Upreti Tuesday, April 18, 2017 6:41 AM
    Monday, April 17, 2017 3:29 PM
  • Okay, I will try this

    Thank you so much


    Paru

    Tuesday, April 18, 2017 6:41 AM