https://github.com/microsoftgraph/msgraph-sdk-javascript/blob/0f9ebecb26b0ba99210ba0bae8e739cafcbf4b5a/src/common.ts#L12-L14 it makes sense when we got an error to get an access token