How to get admin access to files for all user's OneDrive
<p>I am tenant admin for our Office 365 deployment. we have our internal system which need to access all OneDrive sites. We are using my tenant admin credential to get the OAuth token and trying to get files from all OneDrive sites using SharePoint/OneDrive REST API with that OAuth token. </p>

<p>With OAuth token of the tenant admin, we are only able to get the files owned by tenant admin or Shared with tenant admin. we are not able to get the files form other user's OneDrive.</p>

<p>Same result with Microsoft Graph API also. we are only able to get the files owned by tenant admin or Shared with tenant admin. we are not able to get the files form other user's OneDrive. </p>

<p>One Solution for this could be by adding tenant admin to the site collection admin for all OneDrive Sites, but this is not a feasible option for us.</p>

<p>Is there any API, or any other way to get all OneDrive user's file by using OneDrive admin or tenant admin credential ?</p>

<p>Thanks,
Abhi      </p>