Microsoft Purview Troubleshooting: Archive Mailbox can't be Provisioned or Deprovisioned after a Mailbox is Migrated to Office 365 Dedicated/ITAR vNext

 







Symptom

You are unable to add an archive to a mailbox that has not yet been migrated to Microsoft Office 365 Dedicated/ITAR vNext. Additionally, mailbox that was moved from Dedicated cannot be used to deprovision an archive. 

Cause

The system anticipates that an on-premises Exchange installation will handle all management when Exchange Online is set up in a hybrid architecture. This keeps the web directory and the on-premises directory up to date. 

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

Following a migration, scripts that mimic the features of an on-premises Exchange setup can be used to manage archives for mailboxes that were moved from Dedicated.

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

  1. 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.
  2. Start PowerShell with the Active Directory Module for Windows PowerShell enabled.
  3. Run the following script:

Enable-remotearchive.ps1 -Identity 'X'

      4. Wait for Microsoft Entra Connect to synchronize the changes.

Deprovisioning an Archive

  1. 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.
  2. Start PowerShell with the Active Directory Module for Windows PowerShell enabled.
  3. Run the following script:
  4. disable-remotearchive.ps1 -Identity 'X'

      4. Wait for Microsoft Entra Connect to synchronize the changes. 

Conclusion

The issue of that the Archive Mailbox can't be provisioned or deprovisioned after a mailbox is migrated to Office 365 Dedicated/ITAR vNext is resolved with the help of above steps.










































Comments

Popular posts from this blog

Deployment (Part 3)

Deployment (Part 1)

Design Planning (Part 3)