Forum Discussion
Per Ola Sneve
Jun 21, 2017Copper Contributor
SharePoint site for Office 365 group not created when group is created programmatically via Graph
I have created Office 365 Group programmatically via C# and Graph. The group shows up as expected in Outlook but when I try to enter the site https://<tenant>.sharepoint.com/teams/<mailNickName> I ju...
- Aug 29, 2017
This is now working as expected. You can create O365 groups with SharePoint sites via Graph API using app-only credentials. I am using the PnP UnifiedGroups utility and this works pretty well with a few exceptions though now and than.
Andrew Jones
Jun 28, 2017Tin Contributor
I had the same issue with app only authentication and ended up with the same solution as you - make a http request authenticating as a user. The PnP library internally makes a request to the Graph API root drive to try and trigger the site to be provisioned but this too fails with app-only credentials.
Would love to see this change as it's really messy to do http requests as a user in our provisioning engine when we would rather just use app-only authentication.
Bernd Rickenberg
Aug 29, 2017Brass Contributor
This is now working as expected. You can create O365 groups with SharePoint sites via Graph API using app-only credentials. I am using the PnP UnifiedGroups utility and this works pretty well with a few exceptions though now and than.