I need to Migrate all the custom vision model from one Subscription to another

AzCredits User 20 Reputation points
2025-06-23T14:37:04.6033333+00:00

I'm having two different tenant in Azure.
I need to move all my custom vision model from one subscription to another subscription.

Azure AI Custom Vision
Azure AI Custom Vision
An Azure artificial intelligence service and end-to-end platform for applying computer vision to specific domains.
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Andreas Baumgarten 125.2K Reputation points MVP Volunteer Moderator
    2025-06-23T15:00:39.57+00:00

    Hi @AzCredits User ,

    to move Custom Vision Models you need to export and import the models:

    Export the project

    Import the project

    The required project id you get this way: Get the project ID


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards

    Andreas Baumgarten

    1 person found this answer helpful.

  2. SriLakshmi C 6,255 Reputation points Microsoft External Staff Moderator
    2025-06-23T15:47:38.98+00:00

    Hello @AzCredits User,

    Migrating Custom Vision models between two different Azure subscriptions across tenants is not supported through a native one-click feature in Azure. However, this can be accomplished by exporting and re-importing your projects and models manually or through automation.

    It is recommended to back up your project metadata, including tags, iterations, and training images, using the Custom Vision Training API or the Azure SDK for Python. These backups help you replicate the original setup more accurately in the destination subscription.

    Once you’ve set up new Custom Vision resources (Training and Prediction) in the target tenant and logged in to the Custom Vision portal, you can create a new project matching the original project’s configuration. If the model was exportable, you can deploy and use it directly for predictions either hosted on your own environment or using the exported package. If not, you'll need to retrain the model using the backed-up images and tags.

    If you're working in an environment where both tenants or subscriptions are accessible via the same authenticated user or service principal, you may use the Custom Vision REST APIs (ExportProject and ImportProject) to perform the migration programmatically.

    Use the ExportProject API to export your Custom Vision project from the source subscription. You'll need to find your training keys and endpoint URL from your Custom Vision resource for this step.

    
    POST https://<your-resource-endpoint>/customvision/v3.0/projects/<project-id>/export
    

    Once you have exported your project, you can then use the ImportProject API to import it into your target Custom Vision resource in the new subscription.

    POST https://<your-target-resource-endpoint>/customvision/v3.0/projects/import
    

    These APIs allow you to export a project from the source and import it into the destination, provided both resources support it and are configured correctly.

    Please refer this for copying and backing up your Custom Vision projects here.

    Before you begin the migration process, ensure that you have the necessary access to both Azure subscriptions involved both the source and the destination.

    It's important to verify that you meet all prerequisite conditions, such as having the appropriate permissions on the Custom Vision resources.

    Additionally, take time to familiarize yourself with the settings of your Custom Vision resources, as you will need specific details like the training keys and endpoint URLs in order to export, import, or retrain your models effectively.

    I Hope this helps. Do let me know if you have any further queries.


    If this answers your query, please do click Accept Answer and Yes for was this answer helpful.

    Thank you!


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.