Skip to main content
All CollectionsKnowledge BaseEndpoint and SaaS AppsHow To - Endpoint and SaaS Apps
How to resolve "Unable to connect to Microsoft 365. Check connector status" Cloud App status alert
How to resolve "Unable to connect to Microsoft 365. Check connector status" Cloud App status alert
Updated over 4 months ago

Problem description

Unable to connect to Microsoft 365 Advanced app. Check configuration status. All the Microsoft 365 workload backups fails with error EAUTH.

Cause

A few of the reasons why this occurs are as follows:

  • The global admin password has been changed.

  • One of the Druva Microsoft 365 apps is deleted.

  • Global admin is disabled or deleted.

  • Microsoft 365 tenant policy-level changes.

  • Conditional access policy is applied.

  • MFA is enabled on the Microsoft 365 environment.

User Debug Logs

[2024-08-07 11:46:06,111] [ERROR] Error in generating access token for user=shoebs3@druvadataspl.in, Error='unicode' object has no attribute 'get', client in use=2b74c147
[2024-08-07 11:46:06,112] [ERROR] Cloud App Office 365 authentication failure. Disconnecting app, creating CloudAppStatus alert.
[2024-08-07 11:46:06,113] [ERROR] Error <class 'inSyncLib.inSyncError.SyncError'>:The user key is either invalid or the username no longer exists. (#100000016). Traceback -Traceback (most recent call last):
File "/opt/Druva/inSync/active/src/drcloud/Srv/Worker.py", line 3251, in check_cloudapp_status
__check_cloudapp_status(r, authinfo, backupinfo, ddict['userid'])
File "/opt/Druva/inSync/active/src/drcloud/Srv/Worker.py", line 3291, in __check_cloudapp_status
sessionid = AgentAPI.authenticate(backupinfo['apptype'], authinfo, graph_endpoint=True)
File "/opt/Druva/inSync/active/src/drcloud/Lib/CloudApps.py", line 112, in authenticate
raise SyncError(inSyncError.EAUTH)
SyncError: The user key is either invalid or the username no longer exists. (#100000016)

Resolution

To Re-Install inSync with Microsoft 365:

  1. From the global navigation panel, click Microsoft 365.

  2. On the Overview page, click โ€˜Manage Appsโ€™.

  1. From the three dots menu, click Re-Install beside the app type that you want to Re-Install.

  2. On the confirmation pop-up, click Re-Install to proceed with installation.

  3. On the Microsoft 365 login page, enter the Microsoft 365 global administrator's username and password, and then click Sign in.

  4. Click Accept to grant inSync app the required permissions to access Microsoft 365 data.

The permissions displayed are a combined list for all Microsoft 365 apps. inSync gets connected to the Microsoft 365 data of all users in your organization.

Did this answer your question?