Hi @Michael Dratch (US) , can you please try these troubleshooting steps for me?
- Make sure you're using the correct username and password for the user account. Double-check that the username and password are correct and that there are no typos or other errors.
- Check that the user account is in the correct directory. Make sure that the user account is in the same directory that is associated with the Azure AD tenant you're using for authentication. You can check this by logging into the Azure portal and navigating to the Azure AD tenant, then checking the list of users to see if the user account is present.
- Verify that the user account is enabled for sign-in. Make sure that the user account is enabled for sign-in to the Azure AD tenant. You can check this by logging into the Azure portal and navigating to the Azure AD tenant, then checking the list of users to see if the user account is enabled for sign-in.
- Check the permissions for the application registration. Make sure that the application registration in Azure AD has the necessary permissions to authenticate users. You can check this by logging into the Azure portal and navigating to the application registration, then checking the list of permissions to see if the necessary permissions are present.
Also, please review the following threads and let me know your results:
- https://learn.microsoft.com/en-us/answers/questions/264003/exception-aadsts50034-the-user-account-((emailhidd
- https://stackoverflow.com/questions/61307295/user-does-not-exists-in-the-tenant-directory-error-when-calling-microsoft-graph
Best,
James