Authentication Failed When Creating Prompt Flow

Sally Chen 80 Reputation points Microsoft Agency Temporary
2024-11-01T07:42:36.11+00:00

I want to create prompt flow in Azure AI Studio. However, I face the following issue:

Authentication Failed

Unable to access the dag.yaml file with original storage location at Users/MY_USERNAME/promptflow/MY_PROMPT_FLOW/flow.dag.yaml. Please check the storage setting.

If there any solutions to this error? Thank you.

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

3 answers

Sort by: Most helpful
  1. Jason Leong 5 Reputation points Microsoft Employee
    2024-11-25T03:05:39.7966667+00:00

    The Storage access key has been disabled on the Storage account. You could re-enable it if you have the permissions, as per Mauro Minella's comment. But if your company has a policy to disable it, you will need to find another way.

    Refer to this page for information on how to change the access to using Entra ID:

    https://learn.microsoft.com/en-gb/azure/ai-studio/how-to/disable-local-auth?tabs=portal#update-an-existing-hub

    1 person found this answer helpful.
    0 comments No comments

  2. Mauro Minella 21 Reputation points Microsoft Employee
    2024-11-25T10:14:36.0766667+00:00

    Hi @Jason, you are absolutely right: this solution definitely solved the problem.

    Thank you,

    MauroUser's image

    0 comments No comments

  3. Nguyen Tran 0 Reputation points Microsoft Employee
    2024-12-01T02:29:06.4133333+00:00

    I had done following configs and it works:

    1. From Azure Portal, go to the Storage Account which is used for your AI Project, go to IAM, select Add role assignment.
    2. In the Role Assignment, in the Roles, you'll see a drop down list, please select the role storage blob DATA contributor & then, role Storage File Data Privileged Contributor; add member for the identity you want to grant access.
    3. Click review & assign.
    4. Done.
    0 comments No comments

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.