Export mailboxes

Glenn Maxwell 13,141 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.

Exchange Online
Exchange Online
A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.
Exchange | Exchange Server | Management
Exchange | Exchange Server | Management
The administration and maintenance of Microsoft Exchange Server to ensure secure, reliable, and efficient email and collaboration services across an organization.
Exchange | Hybrid management
Exchange | Hybrid management
The administration of a hybrid deployment that connects on-premises Exchange Server with Exchange Online, enabling seamless integration and centralized control.
0 comments No comments
{count} votes

Answer accepted by question author
  1. KyleXu-MSFT 26,396 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

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.