title: Is there a way to tell if automapping is enabled for mailbox permissions in Office 365 via Powershell?
body: <p>I tried the PowerShell command below to extract a report for all Shared Mailboxes to our tenant. It was successful but it didn't provide the information I need. I would like to know as well if the automapping is set as &quot;True&quot; or &quot;False&quot; for each member of a Shared Mailbox. TIA!</p>
  <pre><code>Get-Mailbox -RecipientTypeDetails SharedMailbox -ResultSize:Unlimited | Get-MailboxPermission | Select-Object Identity,User,AccessRights,IsInherited | Where-Object {($_.user -like '*@*')} | Export-Csv C:\Users\xxxxx\Downloads\xxxxx.csv -NoTypeInformation
  </code></pre>