Cloning a Work 365 Instance

Modified on Wed, Feb 12 at 7:44 PM

Applies to: Work 365
Audience: System Administrators


Issue

Duplicating a Work 365 environment, such as copying a production environment to a sandbox, requires careful execution to ensure the cloned instance operates correctly and is properly configured.


Resolution Steps

1. Backup License Information

βœ… Navigate to the Work 365 License page within System Settings of your current environment.
βœ… Copy the license XML; this will be required later in the target environment.


2. Clone the CRM Database

βœ… Duplicate the CRM database from the source environment to the destination environment.

? Note: This step involves CRM-level operations and is outside the direct scope of Work 365.


3. Delete Specific Configuration Records

βœ… In the target environment, access the Configuration entity.
βœ… Delete records where the "Name" field matches any of the following:

  • Work365
  • Work365.ApiCredentials
  • Work365.DefaultSalesTaxService
  • Work365.DefaultTaxService
  • Work365.Payments.DefaultPaymentsProcessor
  • Work365.Portal.WebsiteUrl
  • Work365.ProductService.ProviderSelection
  • Work365.ProviderSettings

4. Perform Consent for Dynamics 365

βœ… Initiate the consent process for Dynamics 365 in the target environment.
βœ… This action will also trigger the upgrade process.


5. Post-Upgrade Actions

βœ… Once the upgrade is complete:
βœ” Disable all automatic connectors.
βœ” Rename existing connectors to prevent confusion.


6. Recreate Necessary Connectors

βœ… Set up automatic connectors as needed, including:

  • Providers
  • Payment Processors
  • Accounting Connectors
  • Tax Services

7. Configure Settings via Work 365 Admin Hub

βœ… Within the Admin Hub, configure the following settings:

  • Work365.DefaultSalesTaxService
  • Work365.DefaultTaxService
  • Work365.Payments.DefaultPaymentsProcessor
  • Work365.Portal.WebsiteUrl
  • Work365.ProductService.ProviderSelection
  • Work365.ProviderSettings

8. Update License in the Target Environment

βœ… Navigate to the License page for Work 365 in the target environment.
βœ… Manually update the license using the XML copied in Step 1.


Important Considerations

⚠ Ensure all configurations and settings are thoroughly reviewed in the cloned environment to confirm they align with the intended setup.
⚠ It is recommended to perform these steps during a maintenance window to minimize potential disruptions.


Conclusion

By meticulously following these steps, you can successfully clone a Work 365 instance, ensuring that the new environment is properly configured and fully operational.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article