This error occurs if the Office365 Admin has not given users the ability to allow 3rd party application access.


Here are a couple links to help resolve this issue: 


https://social.technet.microsoft.com/Forums/ie/en-US/25a79856-2493-4a0c-8b16-8440aaa14b9e/aadsts90094-the-grant-requires-admin-permission-ios-cant-access-application?forum=ADFS

https://blogs.msdn.microsoft.com/exchangedev/2014/06/05/managing-user-consent-for-applications-using-office-365-apis/

https://blog.beecomedigital.com/2015/06/08/aadsts90093-calling-principal-cannot-consent-due-to-lack-of-permissions/

http://stackoverflow.com/questions/34414284/office365-oauth-api-returns-error-aadsts90093-does-not-have-access-to-consent


An administrator needs to approve the WebDrive application to talk to Azure AD, which then allows going into app registrations in Azure AD, finding the WebDrive App, and pushing it out to more people by adding them to it.


The Admin can also go to this URL and authenticate in order to get this setup and running: https://login.microsoftonline.com/<TenantID>/oauth2/authorize?client_id=<AppID>&response_type=code&redirect_uri=<ReplyURI>&prompt=admin_consent