Problem description
M365 backups are failing with Authentication error. (#100000003)
Cause
The account using which M365 app is configured in inSync does not have all permissions required.
Traceback
Traceback (most recent call last):
File "/opt/Druva/active/src/lib/mst_backup_client.py", line 178, in backup
self.syncer.check_token_status()
File "/opt/Druva/active/src/lib/mst_backup_client.py", line 376, in check_token_status
raise MSTeamError(mst_error.EAUTH)
common.errors.mst_error.MSTeamError: Authentication error. (#100000003)
[2024-10-09 13:33:26,309] [ERROR] Error <class 'common.errors.mst_error.MSTeamError'>:Authentication error. (#100000003). Traceback -Traceback (most recent call last):
File "/opt/Druva/active/src/lib/mst_backup_client.py", line 368, in check_token_status
self.agent.authenticate()
File "/opt/Druva/active/src/lib/mst_agent.py", line 164, in authenticate
raise fault
File "/opt/Druva/active/src/lib/mst_agent.py", line 160, in authenticate
self.get_team(self.teamid)
File "/opt/Druva/active/src/lib/mst_agent.py", line 255, in get_team
return self.client.get_retry(url=request_url)
File "/opt/Druva/active/src/common/utils/oauth_utils.py", line 473, in get_retry
raise error
3-b6f9-b6fd320c3337","client-request-id":"71429041-736d-4253-b6f9-b6fd320c3337"}}} (#100000004)
Resolution
Procedure to Re-Install inSync with Microsoft 365:
From the global navigation panel, click Microsoft 365.
On the Overview page, click on “Manage Apps”.
From the three dots menu, click “Re-Install” beside the app type that you want to reconfigure.
📝 Note
The Microsoft 365 tenant must be the same for all the sub-apps you would like to configure. Configuring sub-apps for Microsoft 365 in multiple tenants is not supported.
4. On the confirmation pop-up, click Re-Install to proceed with reinstallation.
5 . On the Microsoft 365 login page, enter the Microsoft 365 global administrator's username and password, and then click Sign in.
6. Click Accept to grant the inSync app the required permissions to access Microsoft 365 data.
7. The permissions displayed are a combined list for all Microsoft 365 apps.
Verification
Backup will complete successfully after reconfiguration of the M365 app in inSync.
See also