Hi @Chris Barr • Thank you for reaching out.
When you say user@weird random words.onmicrosoft.com
does that look like user_example.com#EXT#@yourtenant.onmicrosoft.com
? If yes, this is expected when the user e.g., user@ssss .com is added to your tenant as a Guest/External User. The reason behind this is, you cannot have a UPN with suffix @example.com
if you have not added example.com
as a verified domain to your tenant. Please check and confirm if those 2 users are added as guest users. Usually, we use Microsoft Account (Live ID) to create Azure Account and the Microsoft Account gets added to the newly created tenant as a Guest user.
Now, for the error: We're sorry. You can't reset your own password because you haven't registered for password reset.
When Guest/External identity is used, the password of the user is stored in the Home Tenant or the Identity Provider where the account was initially created. External Identity is the concept of bringing your own identity, that means,
- If the guest user is invited from another tenant, the credentials of the user are stored in that specific tenant.
- If the invited user is from an external IDP, e.g., outlook.com or hotmail.com, the credentials are stored in that identity provider.
This is why you will not be able to reset the password of these users via Azure Portal or Graph API.
For instance, if you log in to the Azure portal using ******@outlook.com
, you will be redirected to login.live.com
endpoint, and credentials are validated against MSA IDP (Microsoft Account Identity provider) and not in Azure. So, in this case, to sign in to Azure Portal, you will use user@harsh.com .com and NOT user_outlook.com#EXT#@yourtenant.onmicrosoft.com.
Feel free to tag me in your reply if you have any further questions.
Read more:
- What is guest user access in Azure Active Directory B2B?
- Properties of an Azure Active Directory B2B collaboration user
-----------------------------------------------------------------------------------------------------------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.