Guest users enabled in Global Address List, but 'Email Address' field blank

AlexRat 20 Reputation points
2024-11-04T12:45:19.4733333+00:00

How do I populate the 'Email Address' field for guest users in the Outlook (classic) Address Book?

I changed -HiddenFromAddressListsEnabled to $false for a series of Guest Mail Users; they now show in the GAL; however, the 'Email Address' field is blank when searching/browsing the directory.

Functionally, the list entries operate: if selected as a reciepent an email can be sent and is delivered. This makes sense as when right-clicking and viewing 'Properties' there is an entry for SMTP:[guestemailaddress], but as the 'Email Address' field is blank it looks like it's broken and is likely to confuse end users.

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,171 questions
Outlook Windows Classic Outlook for Windows For business
Microsoft 365 and Office Install, redeem, activate For business Windows
0 comments No comments
{count} votes

Accepted answer
  1. Vasil Michev 119.5K Reputation points MVP Volunteer Moderator
    2024-11-04T16:43:27.04+00:00

    Outlook uses the value of the WindowsEmailAddress property to populate this field, which I'm guessing has a null value on said guest user objects. You cannot edit how Outlook handles this, but you can populate said field on the affected users:

    Set-MailUser ******@domain.com -WindowsEmailAddress ******@externaldomain.com
    

    Keep in mind that updating the value of WindowsEmailAddress will also update the value of PrimarySMTPAddress.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.