Skip to main content

inSync fails to recognize users on OneDrive

This article applies to inSync Cloud.

Problem Description

User account verification for OneDrive users under Cloud Apps fails with the error “EUSERNOTFOUND”. Interestingly, the same user account verification succeeds on Exchange Online.

Cause

This failure occurs when Druva inSync lacks the Use Remote Interfaces permission on the SharePoint Online root site. Without this specific permission, Druva cannot query the properties required to identify the user within the OneDrive environment.


Traceback & Logs

The following error pattern is typically found in the logs (Note the 403 Unauthorized response):

Log Entry Example:

[ERROR] Error in fetching user details. User druva.testi@druva-support.com Error User properties not found... Response Code: 403 Text:{"odata.error":{"code":"-2147024891, System.UnauthorizedAccessException"... [ERROR] Error <class 'inSyncLib.inSyncError.SyncError'>:Requested user does not exist. (#100000087)


Before You Begin

Ensure the following basic configurations are in place:

  1. Enable Cloud Apps and successfully configure the Druva M365 apps.

  2. Verify Prerequisites: Adhere to all requirements mentioned in the Prerequisites to Back Up Cloud Apps data section of the Druva documentation.


Resolution

To resolve the “EUSERNOTFOUND” error and enable successful OneDrive backups:

  • Action: Assign the Use Remote Interfaces permission to the SharePoint Online root site.

  • Result: This allows inSync to use SOAP, WebDAV, or SharePoint Designer interfaces to access the site and verify user properties.


📖 See Also

For a deeper dive into how SharePoint permissions affect third-party integrations, refer to:

Did this answer your question?