Hi @testkfc
Thank you for contacting the Microsoft Q&A forum.
Regarding your question:
“Does Exchange Online perform server-side validation across the entire mailbox object regardless of the -PropertySets requested? If yes, is this behavior by design and documented anywhere?”
I’ve reviewed the available resources, and currently, there is no official Microsoft documentation that explicitly confirms whether server-side validation ignores the -PropertySets parameter.
About the quota validation warnings you encountered when running Get-EXOMailbox, I replicated your PowerShell command in my environment and observed that the original command did not return any results.
To address this, I adjusted the command based on PowerShell logic to ensure it retrieves information for mailboxes of type UserMailbox with the Audit property set:
Get-EXOMailbox -PropertySets Audit -ResultSize Unlimited -RecipientTypeDetails "UserMailBox"| Select-Object UserPrincipalName, AuditEnabled, AuditAdmin, AuditDelegate, AuditOwner
With this adjustment, the command returned the expected output.
This suggests that the original command likely produced no results because it did not include the -RecipientTypeDetails parameter. This behavior is consistent with what is described in the article: About the Exchange Online PowerShell V3 module | Microsoft Learn
As for the quota warnings, I suspect they may be related to remnants of an older cmdlet in the current PowerShell session. I recommend running the command in a completely new Windows PowerShell session. If possible, restart your device to ensure a clean environment.
I hope this clarifies the situation. Please feel free to reply if you have any updates or need further assistance.
Thank you for your understanding.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.