I am working on an application that manages Azure resources for clients (provisioning virtual machines, creating virtual networks).
We created a multi-tenant application on the Azure portal, configured for delegated permissions of the Windows Azure Service Management API and Windows Azure Active Directory.
We can log in to the AAD account without any problems. But when a live.com-based account logs in, the user receives error AADSTS50020.
We are to enter the system, we go to https://login.microsoftonline.com/common/OAuth2/Authorize with the following parameters:
client_id=XXX&response_mode=query&response_type=code&redirect_uri=XXX&prompt=consent
Here is the complete error message:
AADSTS50020: The user account " xxx@hotmail.com " from the identity provider "live.com" does not exist in the client "XXX" and cannot access the application "xxx" in this client. First you need to add the account as an external user to the client. Log out and log back in using a different Azure Active Directory user account.
source
share