Forum Discussion
showInAddressBook attribute
I am looking for a bit of expertise on Exchange attributes.
I have a user who is reporting he is not appearing in the GAL. He is not hidden according to Exchange. His mailbox is there. It can even receive email. He is in same groups and ou of working users and get-mailbox | fl shows him as the same as other users.
After some digging I discovered an AD attribute called "showInAddressBook". It was blank. My understanding is that this is supposed to contain an LDAP value(s) showing which address books the user is supposed to be in. Logically I can understand if this is blank then it means it won't show anywhere.
The "Exchange Recipient Update Service" is named as what is supposed to update it. I can also see a cmdlet called "Update-Recipient". The cmdlet documentation suggests that it will populate AD with Exchange attributes.
My question is relatively straightforward. Before I run this does anyone know if this cmdlet will fix the "showInAddressBook" and populate it with correct values. Alternatively, how is this done manually?
Its all a bit of a mystery. I am contempating creating a VM to build a scenario of broken AD record where it's blank but before I do I thought I would ask.
- stephen_dxc122Brass ContributorI dislike questions without solutions, Here is what we looked at.
Some PowerShell may have solved the issue. Something like this.
$CorrectUser = get-AdUser “workinguser” -Properties *
Foreach($AddressBookListing in $CorrectUser.ShowInAddressBook){Set-AdUser notworkinguser -Add @{ShowInAddressBook=$AddressBookListing}}
In theory this should have populated the AD entry.
It didn't. So we output the working user and pasted the value using the GUI.
I was mostly worried about the Exchange Recipient Update Service overwriting it. However, this worry was misplaced.
At least here are some ideas if you see this.