Update ADAL communication with Broker to stop using AccountManager::GetAccount
bgavrilMS opened this issue · 1 comments
bgavrilMS commented
Most of our ICMs on ADAL occur becaue of Android + Broker support. The underlying cause is that AccountManager.GetAccounts does not return any accounts, mainly due to an update to permissions Google introduced.
We can use AccountManager.AddAccounts technique to handle this instead, as it does not require permissions. This is what MSAL is using today.
bgavrilMS commented
After discussing this with the team, we have concluded that it would be too disruptive to make this change to ADAL, since the alternative (AccountManager::AddAccount) has its own set of known issues, such as not working with Android for Enterprise.
Customers are advised to move to MSAL.