Aug 14 2023 02:53 PM
Hello,
I'll be doing emails migration soon and would need to import PST files. Would like to use the Import tool available in MS Purview.... However, to be able to use Import feature, I need to add "Mailbox Import Export" role in Exchange Online.... I was trying to add that role but getting the error below... I've been trying to do it for 2 days already and still no luck.... The error doesn't give me any idea of what could be wrong...
I have a "global admin" group in "Assigned" tab and I'm logged as an admin that is included in that group.
Any idea what I'm doing wrong here?
Aug 14 2023 05:28 PM
Seems you are not the 1st or 2nd user hit the problem, may raise a ticket to Microsoft to check from the back:
"We couldn't save your changes. Please try again." error and July 2022 - Microsoft Community
Aug 14 2023 11:56 PM
SolutionAug 15 2023 05:21 AM
Mar 09 2024 04:32 PM
I am seeing the following:
PS C:\Users\jeffs> New-ManagementRoleAssignment -Role "Mailbox Import Export" -SecurityGroup "Organization Management"
Write-ErrorMessage : |Microsoft.Exchange.Configuration.Tasks.InvalidOperationInDehydratedContextException|The command
you tried to run isn't currently allowed in your organization. To run this command, you first need to run the command:
Enable-OrganizationCustomization.
At C:\Users\jeffs\AppData\Local\Temp\tmpEXO_tfzx3ihw.ckm\tmpEXO_tfzx3ihw.ckm.psm1:1191 char:13
+ Write-ErrorMessage $ErrorObject
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [New-ManagementRoleAssignment], InvalidOperatio...ontextException
+ FullyQualifiedErrorId : [Server=BYAPR15MB3240,RequestId=0ade90e2-a1ae-b16e-352c-8a07f8c0cd11,TimeStamp=Sun, 10 M
ar 2024 00:30:27 GMT],Write-ErrorMessage
However, this is already enabled:
PS C:\Users\jeffs> Enable-OrganizationCustomization
Write-ErrorMessage : |System.InvalidOperationException|This operation is not required. Organization is already enabled
for customization.
At C:\Users\jeffs\AppData\Local\Temp\tmpEXO_tfzx3ihw.ckm\tmpEXO_tfzx3ihw.ckm.psm1:1191 char:13
+ Write-ErrorMessage $ErrorObject
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Enable-OrganizationCustomization], InvalidOperationException
+ FullyQualifiedErrorId : [Server=BYAPR15MB3240,RequestId=187e6496-df39-f799-d59a-bb39560a40b1,TimeStamp=Sun, 10 M
ar 2024 00:30:21 GMT],Write-ErrorMessage
Aug 14 2023 11:56 PM
Solution