Hi Bradley, it looks like your Azure DevOps organization is backed by the IJYI Ltd Azure AD tenant, but your Plant-Parts.com account isn’t a member there. That mismatch triggers the AADSTS50020 error “Selected user account does not exist in tenant…”
Please try below steps to resolve it and let me know if it works.
- Invite your work account into the IJYI Ltd Azure AD tenant as a guest
- In the Azure portal, go to Azure Active Directory > Users > New guest user
- Enter your colleague’s or your email and send the invitation
- The guest must accept the invite (check their mailbox and click Join now)
- Enable external guest access in Azure DevOps
- Sign in as the organization owner or Project Collection Administrator
- In Azure DevOps, go to Organization settings > Policies
- Under External guest access, make sure it’s set to On
- Go to Organization Settings>> Overview>> Microsoft Entra, and use the Switch Directory button (with caution).
- Add the guest user to your Azure DevOps org
- Still in Organization settings, select Users > Add users
- Enter the guest’s email, pick an access level, and click Add
- (If the org owner has left) Claim or transfer ownership
- If you’re a Global Admin with the Azure DevOps Administrator role and the org is orphaned, sign in to https://dev.azure.com/PlantPartsLtd and click Claim ownership
- Or, if an active owner still exists, go to Organization settings > Overview > Change owner and select your guest account
Once your account exists in the tenant and you’re added as a user (or owner), you’ll be able to sign in without that error. Hope this gets you back up and running!
References:
- Error AADSTS50020 – User account from identity provider does not exist in tenant
- Quickstart: Add guest users to your directory in the Azure portal
- Add external users to your Azure DevOps organization
- Change the organization owner in Azure DevOps
Note: This content was drafted with the help of an AI system.