Microsoft Purview Troubleshooting: Archive Mailbox can't be Provisioned or Deprovisioned after a Mailbox is Migrated to Office 365 Dedicated/ITAR vNext
Symptom
Cause
Exchange Server is frequently not installed on-premises by dedicated users. However, the objects behave as though they are a part of a hybrid deployment as a result of the migration from Dedicated. Installing Exchange on-premises for the vNext transition is not necessary, although management is advised to have Exchange deployment on-premises to make the move smoother and reduce total expenses. Due to this, some users might not be able to control the archives for mailboxes that were moved from Dedicated.
Resolution
Prerequisites
- The Active Directory Module for Windows PowerShell must be installed on the management computer.
- The management computer must have .NET 4.0 or a later version installed.
- The management computer must be domain-joined to the on-premises AD forest of the users who will be managed.
- The operator must have Account Operator permissions or equivalent rights.
- The enable-remotearchive.ps1 and disable-remotearchive.ps1 scripts must be on the management computer.
Provisioning an Archive
- Determine the value for the 'name' property of the user being managed. This step will be passed as the value for the -Identity parameter of the script.
- Start PowerShell with the Active Directory Module for Windows PowerShell enabled.
- Run the following script:
Enable-remotearchive.ps1 -Identity 'X'
4. Wait for Microsoft Entra Connect to synchronize the changes.
Deprovisioning an Archive
- Determine the value for the 'name' property of the user being managed. This step will be passed as the value for the -Identity parameter of the script.
- Start PowerShell with the Active Directory Module for Windows PowerShell enabled.
- Run the following script:
disable-remotearchive.ps1 -Identity 'X'
4. Wait for Microsoft Entra Connect to synchronize the changes.
Comments
Post a Comment