Forum Discussion
Is it possible to use Office 365 REST API from flow?
- DeletedOct 13, 2016Hi Bart this is not possible at this time.
Bart,
You can call a custom API from flow. I have a series of articles discussing Flow integration. (The piece you want is still being written, but I will publish that this week.)
https://www.schaeflein.net/connecting-the-clouds-overview
You can create an Office 365 Group using the Microsoft Graph. See https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/group_post_groups
Note that your API will require Group.ReadWrite.All permission, which must be consented by a global administrator.
Lastly, I wrote an article that covers the Groups API. The service moves pretty quickly, but most of the concepts still apply.
https://www.schaeflein.net/exploring-the-office-365-groups-api/
- bart_vermeerschMar 14, 2017Steel Contributor
Cool, thanks Paul, I will try it out!
Do you know by any change if we can detect the creation of an O365 group? Is it possible to use webhooks to detect the creation of the site collection linked to an O365 group?
- Mar 21, 2017Bart,
I published the developer-centric part of the series: https://www.schaeflein.net/connecting-the-clouds-developer/ - Mar 14, 2017At the moment, webhooks in SharePoint Online are only available for Lists.
You could use the AAD Diff Query processing to detect new groups.
- https://msdn.microsoft.com/en-us/Library/Azure/Ad/Graph/howto/azure-ad-graph-api-differential-query
- https://azure.microsoft.com/en-us/resources/samples/active-directory-dotnet-graphapi-diffquery/