title: Is there any API to provision the Office 365 Group Site?
body: <p>When we click the File/Site in OWA, it will redirect to a SharePoint page like this: https://.sharepoint.com/_layouts/groupstatus.aspx?id=&amp;target=documents</p>
  
  <p>In this page, the office 365 group site will be created if the Group site is not existing.</p>
  
  <p>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?</p>
  
  <p>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</p>
  
  <blockquote>
    <p>Status Code: 404</p>
    
    <p>{
       "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"
           }
       }
    }</p>
  </blockquote>
  
  <p>Thanks</p>