I need to change property SPS-HideFromAddressLists manually for some users but when I try do it via powershell I've got an error Exception calling "ExecuteQuery" with "0" argument(s): "Property Not Editable: This property can not be modified."
It is my code:
$peopleManagerAdm.SetSingleValueProfileProperty($userProfileAdm.AccountName,"SPS-HideFromAddressLists",$false)$contextAdm.ExecuteQuery()
In admin sharepoint panel in Office365 in manage users properties for this attribute I cannot set it as allow users to edit value of this property.
We sync msExchHideFromAddressLists attribute from on-premise AD to AAD. It is visible as HiddenFromAddressListsEnabled in ExchangeOnline with correct value but it is not sync to SharePointOnline as SPS-HideFromAddressLists.
Is it any way to change this attribute?