Forum Discussion
Susan Chueh
Mar 21, 2017Copper Contributor
When will Microsoft Graph API for SharePoint officially roll out?
When will Microsoft Graph API for SharePoint officially roll out?
Specifially to the enumerates sites in an organization. According to the api referencce release, currently, the beta version only returns the default site, are there plans to support enumerates sites? If so, possible date of launch?
- AFAIK, we don't have a specific roadmap of items that Microsoft is releasing in the Microsoft Graph
- Susan ChuehCopper ContributorThanks Juan, but do you know if there are plans to support enumerates sites in the sharepoint organization for Graph? We have develop a JAVA based application which needs such support, thus we are urgently seeking for such function.
- Kiril IlievBrass ContributorSusan, probably, you can tackle this differently. You mentioned that you already have a JAVA application which leverages on the Graph API - so you probably are using an app principle registered in Azure AD.
What you could do, is to provide full access on tenant level for SharePoint (one way is to provide the XML in https://yourtenant-admin.sharepoint.com/_layouts/15/appinv.aspx):
<AppPermissionRequests AllowAppOnlyPolicy="true">
<AppPermissionRequest Scope="http://sharepoint/content/tenant" Right="FullControl" />
</AppPermissionRequests>
Then you can use CSOM (or even PnP helper methods) to call for all site collections in the tenant - probably, you'd need a C#-based service.
If C# is not an option, then PowerShell will be your friend - you can leverage on Azure Functions to call your PowerShell as an HTTP-end point to get all your site collections for you (to confirm for you - we already have C#-based code which does that).
Hope this helps