Forum Discussion
berniehuntfamilycom
Oct 19, 2024Copper Contributor
Need to Add Mailbox Import Export Role But Roles Admin Roles Is Missing
I'm setting up my first Exchange 365 and it's time to start importing PSTs. I am the one user in the systems and my users says I'm a "Global Administrator". I go to add the import role and the Roles ...
Kidd_Ip
Oct 19, 2024MVP
Try this:
New-ManagementRoleAssignment -Role "Mailbox Import Export" -SecurityGroup "Organization Management"
berniehuntfamilycom
Oct 19, 2024Copper Contributor
Looks like I'm missing permissions somewhere.
Write-ErrorMessage : |System.InvalidOperationException|You don't have access to create, change, or remove the
"*******.onmicrosoft.com\Mailbox Import Export-Organization Management" management role assignment. You must
be assigned a delegating role assignment to the management role or its parent in the hierarchy without a scope
restriction.
At C:\Users\bhunt\AppData\Local\Temp\tmpEXO_otrzmmk1.tyg\tmpEXO_otrzmmk1.tyg.psm1:1205 char:13
+ Write-ErrorMessage $ErrorObject
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (cybertecservice...tion Management:ADObjectId) [New-ManagementRoleAssi
gnment], InvalidOperationException
+ FullyQualifiedErrorId : [Server=DM4PR16MB5093,RequestId=e890a8be-82ed-973c-4c77-6444d226599e,TimeStamp=Sat, 19 O
ct 2024 17:05:29 GMT],Write-ErrorMessage
Write-ErrorMessage : |System.InvalidOperationException|You don't have access to create, change, or remove the
"*******.onmicrosoft.com\Mailbox Import Export-Organization Management" management role assignment. You must
be assigned a delegating role assignment to the management role or its parent in the hierarchy without a scope
restriction.
At C:\Users\bhunt\AppData\Local\Temp\tmpEXO_otrzmmk1.tyg\tmpEXO_otrzmmk1.tyg.psm1:1205 char:13
+ Write-ErrorMessage $ErrorObject
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (cybertecservice...tion Management:ADObjectId) [New-ManagementRoleAssi
gnment], InvalidOperationException
+ FullyQualifiedErrorId : [Server=DM4PR16MB5093,RequestId=e890a8be-82ed-973c-4c77-6444d226599e,TimeStamp=Sat, 19 O
ct 2024 17:05:29 GMT],Write-ErrorMessage