Migrating Moodle Workplace Certification Data from one Tenant to another

Migrating Moodle Workplace Certification Data from one Tenant to another

by Chris Swinney -
Number of replies: 2

Hi,

Kind of an urgent question.

We are in the process of trying to migrate and merge multiple Moodle instances into a single Moodle Workplace. Due to some initial limitations in authentication and provisioning via AAD, we had to provision all of our internal users in the default tenant. We also setup Programs and Certifications for those users in that tenant. We have now moved to MWP 3.10 and have the ability to change how users are provision so we need to migrate users, certifications, programs and reports from the default tenant to the proper dedicated tenant for our internal users.

The migration tool has been run to migrate certifications, but this only seems to migrate the construct of the certification, not the actual data of what users have completed and when, and their certification status. It is of huge importance to us that we retain this data.

How is this best achieved? I can't see a simple way to export the data from the original certification to import into the new construct. 

Average of ratings: -
In reply to Chris Swinney

Re: Migrating Moodle Workplace Certification Data from one Tenant to another

by Ruslan Kabalin -
Picture of Core developers Picture of Moodle HQ Picture of Moodle Workplace team Picture of Peer reviewers Picture of Plugin developers
Hello Chris, this feature is designed to export and import things, not moving them around within same site. The problem you see is related to the fact that users and courses used in particular program or certification are not accessible at destination tenant, thus you end up having empty certification or program. With some preparation this may be achievable, i.e. make sure that users exist in the tenant (moved to the tenant beforehand) and courses are accessible in this tenant too before importing program or certification into it. Your Moodle partner should be able to assist you with this.
Average of ratings: Useful (1)
In reply to Ruslan Kabalin

Re: Migrating Moodle Workplace Certification Data from one Tenant to another

by Chris Swinney -
Hi Ruslan,

It would be really cool to get official Moodle documentation around this as we have had some issues. It would also be really cool if you could just export the Program and Certification allocations directly to CSV without first having to build a report with all the relevant fields.

I believe the order that you should do things in is:

  1. Export all current Certifications and other Programs (ensuring you grab allocation data, which is unchecked by default)
  2. Migrate users from one Tenant to another.
  3. Import all current Certifications and other Programs (ensuring the import allocation data) into the relevant Tenant