add more steps in the data migration script
Add 2 extra steps in the data migration script. The current script will migrate the data from v1 as-is. And the extra steps will do the following
- Run the tenant provisioning API first before migrating data. It creates the bootstrap groups and relationship
- Migrate data admins. In entitlements-azure, there is a feature allows the whitelisted data admins to be able to access all data groups. V2 achieve this through the group hierarchy through the data admin group (users.data.root). So just migrating data as-is will make the data admins. This extra step run at last to add all the whitelisted data admins from v1 into the data admin group.