OnPremHideFromAddressLists

%3CLINGO-SUB%20id%3D%22lingo-sub-2082401%22%20slang%3D%22en-US%22%3EOnPremHideFromAddressLists%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2082401%22%20slang%3D%22en-US%22%3E%3CP%3EI%20like%20to%20hide%20my%20resource%20accounts%20from%20the%20address%20list%20which%20you%20have%20on%20your%20Teams%20client.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20checked%20the%26nbsp%3BOnPremHideFromAddressLists%20and%26nbsp%3BHideFromAddressLists%20which%20you%20can%20see%20with%20get-csonlineuser.%20I%20cannot%20find%20where%20to%20change%20these.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20was%20able%20to%20change%20the%20hiddenfromaddresslist%20in%20exchange%20but%20than%20you%20first%20have%20to%20give%20the%20user%20a%20license.%20This%20setting%20in%20exchange%20does%20not%20change%20the%20setting%20%22OnPremHideFromAddressLists%22%20in%20the%20csonlineuser.%3C%2FP%3E%3CP%3EHas%20anyone%20an%20idee%20how%20to%20hide%20resource%20accounts%20from%20the%20addressbook%20in%20Teams%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2082401%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdministrator%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Senior Member

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?

1 Reply
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-micr...

Adam