Enabling onedrive access of all users to admin using Graph API RRS feed

  • Question

  •  I have an Office 365 business account and users created in it.I want to provision one drive access of all users to admin programmatically using graph API.

     Please help me on this.

    Friday, December 9, 2016 5:36 AM


  • Hi,

    This is not possible using the Microsoft Graph. You can use it to retrieve OneDrive data, but you cannot use it to set OneDrive access for your users. 

    What you can do if you want to set access programmatically, is to create a PowerShell script, host this inside an Azure Web Job,let your custom application send an signal to the Azure Service Bus and let the Service Bus trigger the WebJob.

    Regards, Sjoukje. Blog | LinkedIn | Twitter

    Monday, December 19, 2016 11:26 AM