Add Mailbox Import Export Role in Office 365 using PowerShell

Install-Module -Name ExchangeOnlineManagement
Import-Module ExchangeOnlineManagement
Connect-ExchangeOnline

Enable-OrganizationCustomization

New-ManagementRoleAssignment –Role “Mailbox Import Export” –User “user name”

Get-ManagementRoleAssignment –Role “Mailbox Import Export” | FL RoleAssigneeName, Name

Disconnect-ExchangeOnline

Leave a Reply

You must be logged in to post a comment.