title: How to access Sharepoint site's document library via Microsoft Graph API?
body: <p>I'm working on accessing document libraries for Sharepoint sites via Mircosoft Graph, but haven't had any luck so far.</p>
  
  <p>Here is my setup:</p>
  
  <p>I have two sites</p>
  
  <p><a href="https://%3Cmydomain%3E.sharepoint.com" rel="noreferrer">https://mydomain.sharepoint.com</a></p>
  
  <p><a href="https://%3Cmydomain%3E.sharepoint.com/teams/MyTestSite" rel="noreferrer">https://mydomain.sharepoint.com/teams/MyTestSite</a></p>
  
  <p>When I make an api call to <a href="https://graph.microsoft.com/v1.0/drives" rel="noreferrer">https://graph.microsoft.com/v1.0/drives</a>, the response doesn't contain id of document library for second site (<a href="https://mydomain.sharepoint.com/teams/MyTestSite" rel="noreferrer">https://mydomain.sharepoint.com/teams/MyTestSite</a>).</p>
  
  <p>I have gone through documentation and haven't found anything on how to accomplish this. If anyone got any idea about this, please share.</p>
  
  <p>Thanks.</p>