locked
Sharepoint api sitecollections RRS feed

  • Question

  • The count from this restapi is 59.

    https://temppdomain.sharepoint.com/_api/search/query?querytext='(contentclass:STS_Site)'&selectproperties='Title,Path'&rowlimit=500

    The count get-sposite is 75.

    Why there is a mismatch between the api and the commandlet .otherwise Am I using wrong rest endpoint to get all the sitecollections.If wrong what is the restapi to get all the sitecollectionsurl.

    Thanks & Regards

    Sai Monesh C S




    • Edited by Sai Monesh Thursday, February 14, 2019 1:36 PM
    • Moved by Dave PatrickMVP Thursday, February 14, 2019 1:43 PM looking for forum
    Thursday, February 14, 2019 1:31 PM

Answers