Forum Discussion
Info Update in Teams User Profile for all Users in Microsoft Teams
Hi Team,
We would like to show a few information like Role, Team, and ID details on the user profile for ALL users in our domain. Is there any possibility to update for all users via SharePoint or in what ways it shall be accomplished?
As a result, if we search for any users within our domain, we will be able to get the basic info like name, email, Phone number, Role, Team, and ID details.
Solutions are greatly appreciated! Thank you!
- LeonPavesicSilver Contributor
Hi Jeyeline,
to update user profiles for all users in Microsoft Teams, you can use the Microsoft 365 admin center, PowerShell, or use Azure Active Directory (Entra ID) to manage user attributes.
Here are the options:1. Microsoft 365 Admin Center:
- Go to the Microsoft 365 admin center.
- Navigate to "Users" and then "Active users."
- Select the user you want to update, and manage the Account settings you want to change.
- Update the relevant fields.
2. PowerShell:
- Use PowerShell scripts to update user profiles in bulk. You can use the Microsoft Teams PowerShell module.
- Install the module using
Install-Module -Name MicrosoftTeams
- Connect to Microsoft Teams using
Connect-MicrosoftTeams
- Use cmdlets like Set-TeamUser or Set-CsUserData to update user properties.
Example:
Set-TeamUser -UserId email address removed for privacy reasons -Role Owner -TeamName "Example Team" -PublicAccountId 12345
3. Azure AD:
- You can also use Azure AD to manage user attributes.
- Go to the Azure portal.
- Navigate to "Azure Active Directory" > "Users."
- Select the user and update the necessary profile information.
Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.If the post was useful in other ways, please consider giving it Like.
Kindest regards,
Leon Pavesic
(LinkedIn)- JeyelineBrass Contributor
Thanks for your response. Will check it out and update here the solution