Issue


You are asked to update settings linked to the office 365 account whilst in the OBM and you receive an error similar to below on your backups:


Failed to login to Office 365, reason = com.ahsay.afc.cloud.d: com.ahsay.afc.cloud.office365.E: [Graph

AuthHelper.getOAuthTokenByRefreshTokenAndAppCredentials]Failed to login to Office 365, reason = AADSTS50173: The provided grant has

expired due to it being revoked, a fresh auth token is needed. The user might have changed or reset their password. The grant was issu

ed on '2021-05-25T08:56:56.7343677Z' and the TokensValidFrom date (before which tokens are not valid) for this user is '2021-09-14T14:1

9:52.0000000Z'.rnTrace ID: 20ecb750-e863-49b8-b8ff-dc8e384dad00rnCorrelation ID: fdc64290-6572-48ec-98f0-29e2cc43c2f3rnTimestamp: 2021-

10-12 04:00:19Zn


Cause


This can be caused by the O365 account password being changed and not being updated within the backup set.


Resolution


To resolve please follow the below steps.


1) Login to the OBM or web portal

2) Go to the backup sets tab 


3) Click on the desired Office 365 backup


4) On the general tab at the bottom click on change settings and re-enter the credentials for the stated office 365 and click save