Export mailboxes

Glenn Maxwell 10,146 Reputation points
2021-11-02T15:33:46.59+00:00

Hi All

I am using Office365 E5 license. i am using exchange 2016 hybrid environment. we have thousands of shared mailboxes. some are created in onprem and migrated to cloud, some are created as remote shared mailboxes from onprem. I want to pull all the shared mailboxes which have Office365 licenses assigned to them. Experts guide me how to pull this report.

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,221 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,373 questions
Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
1,905 questions
0 comments No comments
{count} votes

Accepted answer
  1. KyleXu-MSFT 26,211 Reputation points
    2021-11-03T02:29:46.407+00:00

    @Glenn Maxwell

    Connect to Azure AD first: Connect-MsolService

    Then you could use command below to check them:

    Get-MsolUser -Synchronized -Verbose | where{$_.MSExchRecipientTypeDetails -eq "34359738368" -and $_.isLicensed -eq $true}  
    

    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.



0 additional answers

Sort by: Most helpful