SOLVED

What's the difference between GetSitePropertiesFromSharePoint and GetSiteProperties

Copper 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.

Long

3 Replies
best response confirmed by Long Liang (Copper Contributor)
Solution

@Long LiangI think this blog answers your question:

http://www.ktskumar.com/2018/05/get-site-collections-sharepoint-online-tenant/

 

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?

1 best response

Accepted Solutions
best response confirmed by Long Liang (Copper Contributor)
Solution

@Long LiangI think this blog answers your question:

http://www.ktskumar.com/2018/05/get-site-collections-sharepoint-online-tenant/

 

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

View solution in original post