Share via


msExchHideFromAddressLists to be configured as not set

Question

Thursday, August 2, 2018 10:32 PM

we did  bulk migration and user's msExchHideFromAddressLists got configured as true.

Is there a way I can provide samaccount name and set it back as Not set.

get-content D:\users.txt |foreach {Set-adUser $_ -Add @{msExchHideFromAddressLists="Not Set"}}

All replies (4)

Friday, August 3, 2018 3:50 PM ✅Answered

I just needed it to be set as not set not true or false. so following does the trick. 

 

Set-ADUser -Identity "samaccountname" -clear msExchHideFromAddressLists


Friday, August 3, 2018 4:05 PM ✅Answered

That is exactly the same as setting it to $false.

\(ツ)_/


Friday, August 3, 2018 12:14 AM | 2 votes

Set it to $false.

\(ツ)_/


Friday, August 3, 2018 8:23 AM

Hi,

Thanks for your question.

About the value of the attribute "msExchHideFormAddressLists" is Blooean. You can set it as $true or $false.

The following link is some information I found about an attribute.

https://msdn.microsoft.com/en-us/library/cc223177.aspx

https://social.technet.microsoft.com/Forums/sharepoint/en-US/89b424a2-85fa-4b6b-b3b2-71eae2455556/msexchhidefromaddresslists-azure-ad-synchronisation?

Best Regards,

Lee 

Just do it.