What's the difference between GetSitePropertiesFromSharePoint and GetSiteProperties

Occasional Contributor

Hi All,


I know PNP is using the GetSitePropertiesFromSharePoint because the GetSiteProperties will be deprecated, but I didn't find any official message from Docs web site to say why and the difference between the two APIs, any one knows this?


Thank you.


3 Replies
best response confirmed by Long Liang (Occasional Contributor)

@Long LiangI think this blog answers your question:


In short: GetSiteProperties doesn't return modern site collections and GetSitePropertiesFromSharePoint does.

@Paul Pascha 


Thank you. So any site collections show in new SharePoint online Admin UI will be available with this API?