Hello @Michael Shvets I hope you are doing well
The error message AADSTS50020 indicates that the user account you're trying to use is not recognized by the tenant. This typically happens when the account needs to be added as an external user in the tenant first. Here are the steps to resolve this issue:
Steps to Add an External User:
Sign in to the Microsoft Entra admin center:
- Go to the Microsoft Entra admin center.
Navigate to Users:
- Select **Users** from the left-hand menu.
- Click **Invite external user** **1**.
**Invite the External User**:
- Enter the email address of the user you want to add.
- Customize the invitation message if needed.
- Click **Invite** to send the invitation email **2**.
**Accept the Invitation**:
- The invited user will receive an email with an invitation link.
- They need to click the link and follow the prompts to accept the invitation **2**.
**Assign Necessary Permissions**:
- After the user accepts the invitation, you can assign them to the appropriate groups and permissions within the tenant **3**.
Additional Considerations:
- Ensure Correct Account Type: Verify that the app registration is set to allow multi-tenant or personal Microsoft accounts if needed 1.
- Sign Out and Sign In Again: Sometimes, signing out and signing back in with the correct Azure AD account can resolve the issue 4.
For more detailed guidance, you can refer to the official documentation
1
.
The error message AADSTS50020 indicates that the user account you're trying to use is not recognized by the tenant. This typically happens when the account needs to be added as an external user in the tenant first. Here are the steps to resolve this issue:
Steps to Add an External User:
Sign in to the Microsoft Entra admin center:
- Go to the Microsoft Entra admin center.
Navigate to Users:
- Select Users from the left-hand menu.
- Click Invite external user **1**.
Invite the External User:
- Enter the email address of the user you want to add.
- Customize the invitation message if needed.
- Click Invite to send the invitation email **2**.
Accept the Invitation:
- The invited user will receive an email with an invitation link.
- They need to click the link and follow the prompts to accept the invitation **2**.
Assign Necessary Permissions:
- After the user accepts the invitation, you can assign them to the appropriate groups and permissions within the tenant **3**.
Additional Considerations:
- Ensure Correct Account Type: Verify that the app registration is set to allow multi-tenant or personal Microsoft accounts if needed 1.
- Sign Out and Sign In Again: Sometimes, signing out and signing back in with the correct Azure AD account can resolve the issue 4.
For more detailed guidance, you can refer to the official documentation
😊 If my answer helped you resolve your issue, please consider marking it as the correct answer. This helps others in the community find solutions more easily. Thanks!