I can enable and remove AutoMapping on a user/mailbox, but how can I query for it using powershell?
I've looked for the properties in Get-MailboxPermission
, Get-Mailbox
or Get-AzureADUser
but couldn't find it. Nor any luck on Google.
It seems to be found in the property msExchDelegateListLink
of Get-ADUser
.
But I think Get-ADuser
is deprecated or not for Azure/O365, so I don't wanna create scripts using that cmdlet.