Azure Machine Learning SDK version 2 Update Impact to Prompt Flow

Matthew Adian Hartono 85 Reputation points
2025-04-08T09:25:56.06+00:00

I have received notification via email that stated to migrate to Azure Machine Learning SDK to version 2 before 30 june 2026.

I am using prompt flow and develop it via Azure AI Foundry, after deployed it becomes machine learning online endpoint and machine learning online deployment with container registry.

My question is : what is the impact of this machine learning sdk v2 upgrade to my existing prompt flow? If it has impact how to upgrade the SDK? Is it prompt flow in Azure AI Foundry has already used v2 version?

Thanks

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
3,341 questions
{count} votes

Accepted answer
  1. santoshkc 15,355 Reputation points Microsoft External Staff Moderator
    2025-04-08T13:37:26.3766667+00:00

    Hi @Matthew Adian Hartono,

    Prompt Flow in Azure AI Foundry is built on top of Azure Machine Learning SDK v2, so if you're developing and deploying Prompt Flows through Foundry, you're already using the v2 SDK under the hood.

    The notice you received is mainly relevant for users who are directly writing code using the Azure Machine Learning SDK v1. Since your workflow is based on Prompt Flow and Azure AI Foundry, you should not be impacted by the SDK migration requirement.

    No immediate action is needed on your part. However, if you’re using any custom code outside of Foundry (e.g., standalone scripts or pipelines using SDK v1), you should plan to migrate to SDK v2 by June 30, 2026.

    I hope you understand! Thank you.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Manas Mohanty 6,115 Reputation points Microsoft External Staff Moderator
    2025-04-09T10:36:00.9566667+00:00

    Hi Matthew Adian Hartono

    As an effort to re-emphasize @santoshkc pointers, It is suggested to get familiar with v2 SDK which is more robust and expendable with more features compared to SDK v1 if you are planning to migrate from SDK v1.

    SDK v2 is broadly categorized into below categories

    1. Data
    2. Model training
    3. Foundation models
    4. Generative AI
    5. Deploy model
    6. Monitor Models
    7. Infrastructure and Security
    8. Troubleshoot and known issues

    If you are already using SDK v2, you can consider it safe alert as part of azure life cycle policies.

    Please accept this or above answer if the pointers helped.

    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.