Skip to main content

How can we help you?

Druva Documentation

inSync fails to recognize users on OneDrive

This article applies to inSync Cloud.

Problem description

User account verification of OneDrive users under cloud apps fails with a eusernotfound error. However, the same user account verification succeeds on Exchange Online.

Cause

User authentication of OneDrive users fails when inSync does not have the Use Remote Interfaces permission on the SharePoint Online root site.  

Traceback

The following traceback is found in the logs.

[2018-02-14 08:28:33,945] [ERROR] Error in fetching user details. User druva.testi@druva-support.com Error User properties not found for user druva.testi@druva-support.com request https://druva-support.sharepoint.com...va-support.com' error:Unable to read file. Permission Denied Response Code: 403 Text:{"odata.error":{"code":"-2147024891, System.UnauthorizedAccessException","message":{"lang":"fi-FI","value":"K\u00e4ytt\u00f6 …. … resource k\u00e4ytt\u00e4miseen."}}} (#100000046) 
[2018-02-14 08:28:33,948] [ERROR] Error <class 'inSyncLib.inSyncError.SyncError'>:Requested user does not exist. (#100000087). Traceback -Traceback (most recent call last):

Before you begin

  1. Enable Cloud Apps and configure O365.
  2. Adhere to all the requirements mentioned in the Prerequisites to back up Cloud Apps data section.

Resolution

Assign the Use Remote Interfaces permission to the SharePoint Online root site to enable inSync backups.

See also

For more information on the permissions, see: