As we delay the point at which we fetch user information from M365 to later in the backup pipeline (see #2582) we lose the ability to check if M365 credentials are valid early on. While fetching all users in a tenant during the creation of GraphConnector is not the best way to check for valid credentials, it did work and gave an early signal
We should identify another way to verify credentials early and implement that. Checking if credentials are valid should hopefully be cheap to make in terms of Graph API calls
As we delay the point at which we fetch user information from M365 to later in the backup pipeline (see #2582) we lose the ability to check if M365 credentials are valid early on. While fetching all users in a tenant during the creation of
GraphConnector
is not the best way to check for valid credentials, it did work and gave an early signalWe should identify another way to verify credentials early and implement that. Checking if credentials are valid should hopefully be cheap to make in terms of Graph API calls