How to export apps from one tenant to another

Hi @Manju22 ,
The best I could find was using postman API calls.

Use Get call to get all application information, and then create each application one by one by making Create App API call.


Problem is, your access profiles should already be present in the system where you are migrating the apps, also, you will have to replace Access Profile Ids in the Create API call.

So, if there aren’t 100s of Apps you are doing, its actually good to do this manually.

If you want to automate this, then I would suggest writing a powershell/python script.
Following code writing steps might help in this case.

  1. In the script at the start, Get All the Apps from the QA system using Get apps API call
  2. Iterate through the API response
  3. For each application, check if the application already exist in the system, if it already exist then you will have to run an Update API call to update the APp, Otherwise Create a new application,
  4. Before creating new application, check if the Access Profiles exist in the system, if they do then prepare the Body of the Create API call accordingly and Create application.
    If Access Profile doesn’t exist in the system, then you will have to make another API call just create the respective Access Profile/Profiles and then Create the application with all Access Profile details.
    Seems tedious but I think approach will work.

Thank you,
Vaibhav