When we click the File/Site in OWA, it will redirect to a SharePoint page like this: https://.sharepoint.com/_layouts/groupstatus.aspx?id=&target=documents
In this page, the office 365 group site will be created if the Group site is not existing.
Like user OneDrive site, we can provision it via Microsoft.SharePoint.Client.UserProfiles.PeopleManager.GetDefaultDocumentLibrary So is there any API provisioning group site for specified group? Microsoft Graph API, AAD Graph or SharePoint Client API, any one?
And when I create an Office 365 Group in Office 365 Portal, the group site will be created automatically after some minutes. But when I create the group in exchange online or by MS Graph API, the group site cannot be created. When I try to access /groups/groupid/drive, I got this error
Status Code: 404
{ "error": { "code": "ResourceNotFound", "message": "Resource provisioning is in progress. Please try again.", "innerError": { "request-id": "4f7e6581-4092-4fdb-834f-67c0b4f400b4", "date": "2016-11-22T05:59:52" } } }
Thanks