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?