Why some users are not displayed in people pickers?

 

Trouble

Sometime,  users can't be found in our people pickers.
This could have happened while adding a user:
-in a team
-in a template
-in a people tag
-even as a Powell Teams administrator.

Powell Teams use the Graph API to get the users of your tenant and display them into our people pickers. All users have a "UserType" attribute that should be filled to "member" or "guest" to find them within Graph API.

Capture_d__cran_2021-09-10_103906.jpg

This new attribute has been introduced by Microsoft in the last few years. Users that had been created before this update still have their "UserType" attribute defined as "blank".

 

Solution

You can set the value with the Microsoft Graph SDK PowerShell module and use the following command:

Update-MgUser -UserPrincipalName user@company.com -UserType Member

Or you can manually edit the attribute in the Azure Active Directory portal.

Was this article helpful?
0 out of 0 found this helpful