Getting "Automtic runtime not found for the flow" error consistently in promptflow in Azure AI foundry project

Sabtain Khan 0 Reputation points
2025-06-20T15:04:11.5+00:00

Keep getting this and dont know how to get past it. I was following the tutorial by MSFT Reactor team on you tube.

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,602 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Pavankumar Purilla 8,335 Reputation points Microsoft External Staff Moderator
    2025-06-23T02:13:07.7233333+00:00

    Hi Sabtain Khan,

    The error message "Automatic runtime not found for flow" in your Azure AI Studio PromptFlow project means that the system cannot find an available runtime environment to execute your flow. In Azure AI Studio, a runtime is essentially a compute resource with the necessary environment and dependencies for running your PromptFlow tasks. This error often occurs if you have not set up a runtime, if the compute instance is stopped, or if the runtime was deleted or not properly attached to your project. To fix this, go to the "Compute" or "Runtime" section of your AI Studio workspace and ensure that you have at least one compute instance created and running. If you recently deleted and recreated your compute or runtime, you may need to reattach it to your project and refresh your session. Once a valid and running runtime is available and connected to your PromptFlow, the error should be resolved and your flow should execute as expected.

    Reference thread: https://learn.microsoft.com/en-us/answers/questions/1598940/error-flow-runtime-not-found-llms-built-in-evaluat
    For more information: Develop a prompt flow


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.