Forum Discussion
Frank Verharen
Jan 21, 2021Copper Contributor
OnPremHideFromAddressLists
I like to hide my resource accounts from the address list which you have on your Teams client.
I checked the OnPremHideFromAddressLists and HideFromAddressLists which you can see with get-csonlineuser. I cannot find where to change these.
I was able to change the hiddenfromaddresslist in exchange but than you first have to give the user a license. This setting in exchange does not change the setting "OnPremHideFromAddressLists" in the csonlineuser.
Has anyone an idee how to hide resource accounts from the addressbook in Teams?
- Hi! AFAIK you can’t right now! A workaround is creating a scoped directory search and create and assign policy’s for these accounts. This can due to client cache take up to 30 days not to show though!
https://docs.microsoft.com/en-us/microsoftteams/teams-scoped-directory-search
There’s also a uservoice you can upvote here:
https://microsoftteams.uservoice.com/forums/555103-public/suggestions/34198972-hide-a-user-from-microsoft-teams
Adam