Forum Discussion
Create Office 365 group for existing Team site
Thanks Deleted
Appreciate it, however I don't see that there's an API for this in the Graph. Sure you can create a Group, but I need to "groupify" an existing SharePoint site collection.
The SharePoint API is
{siteUrl}/_api/GroupSiteManager/CreateGroupForSite
But again, it cannot be called using AppOnly context.
I guess the conclusion is that it is not possible yet.
Hi Michael,
True it is not possibble yet but with the solution of John you could create a account which only can do what you want.
Kind regards,
Paul
- Michael SchauJul 06, 2018Copper Contributor
It is a multi tenant solution running against hundreds of customers, so can't use username/password.
- kalpesh-vaghelaNov 01, 2021Copper Contributor
Michael Schau Did you find any solution meanwhile? I have same requirement i.e. I want to use CreateGroupForSite method with App Only Context.