Display parameters on Exchange Online

Anthony-123 380 Reputation points
2024-08-05T17:14:55.7833333+00:00

We have migrated from Exchange 2016 to Exchange Online.

In the mailbox view in EAC for both 2016 and Online you can Add/remove columns to customize your view. However it seems to be limited in Exchange Online compared to that in 2016.

In our local AD we use a number of CustomAttributes for our users which are synced to AAD/Exchange, and in 2016 those can be chosen as columns to be displayed, also it's possible to display the HiddenFromAddressListsEnabled property. In Exchange Online however I can't choose those columns. But if I double click a mailbox/user in Exchange Online I can directly see the checkbox for the HiddenFromAddressListsEnabled property and clicking on More options... I can see that the CustomAttributes are visible to Exchange.

I've tried with both the old and the new EAC view for Exchange Online and neither of them allows me to choose those columns to display.

With Powershell and the cmdlet I can get the mailboxes matching the desired criteria, but the new not seem to expose these attributes.Get-MailboxGet-EXOMailbox does

Get-Mailbox -ResultSize Unlimited | Where-Object -FilterScript {$_.HiddenFromAddressListsEnabled -eq 'True'}

Get-Mailbox -ResultSize Unlimited | Where-Object -FilterScript {$_.CustomAttribute7 -eq 'Staff'}

The best would be to be able to display these columns so our support-staff can sort on them if they need to.

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,172 questions
Exchange | Hybrid management
{count} votes

Accepted answer
  1. Anonymous
    2024-08-06T06:34:30.9166667+00:00

    Hi

    Thanks for posting your question in the Microsoft Q&A forum.

    Andy is right, here are my additions.

    We cannot add columns for CustomAttribute in Exchange Online. The old Get-Mailbox cmdlet will retrieve all of the mailbox properties. The new Get-EXOMailbox, by default, will only retrieve a minimum set of properties. To include additional properties to the minimal output you can use the Properties parameter. So for your issue, we should refer to the followings:

    Get-EXOMailbox -Properties CustomAttribute7 | Where{$_.CustomAttribute7 -eq 'exo'} | select UserPrincipalName

    https://www.easy365manager.com/get-exomailbox/

    If my answer is helpful to you, please mark it as the answer so that other users can refer to it. Thank you for your support and understanding.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Andy David - MVP 157.5K Reputation points MVP Volunteer Moderator
    2024-08-05T18:25:59.8933333+00:00

    Yea, you arent going to get alot of flexibility here with that. powershell is the only way to surface alot of that

    0 comments No comments

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.