Unable to access the dag.yaml file with original storage location

manideep karnati 1 Reputation point
2025-01-22T18:15:14.8833333+00:00

I am trying to access the prompt flow created in Azure AI foundry project, provisioning all the necessary permissions as per the documentation including CORS, yet I get the below error.
"Authentication Failed

Unable to access the dag.yaml file with original storage location at Users/test/promptflow/Chat with Wikipedia-test/flow.dag.yaml. Please check the storage setting."

I have tried switching the storage account access to identity based. I have tried tweaking network settings, etc. Nothing seems to address the issue.

Any suggestions would be really appreciated.

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

1 answer

Sort by: Most helpful
  1. Manas Mohanty (Quadrant Resource LLC) 95 Reputation points Microsoft Vendor
    2025-01-23T11:36:30.38+00:00

    Hi manideep karnati,

    Welcome to Microsoft Q&A Forum, thank you for posting your query here!

    Please check on below areas .

    1. Storage role and permission: See if you are able to access datastore holding the prompt flow and update authentication with update keys if needed. 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.
    2. Storage firewall configuration
      1. Add your public ip or virtual network from storage firewall. Add your ML studio as trusted resource from trusted resource instance. Additional check DNS resolution is happening to private IPs mentioned in storage private endpoint/DNS configuration. DNS troubleshooting
    3. CORS Policy: Please go to resource sharing in storage account file tab and add below origins and methods. - Allowed origins: https://mlworkspace.azure.ai,https://ml.azure.com,https://*.ml.azure.com,https://ai.azure.com,https://*.ai.azure.com,https://mlworkspacecanary.azure.ai,https://mlworkspace.azureml-test.net - Allowed methods: DELETE, GET, HEAD, POST, OPTIONS, PUT

    Flow missing

    authentication failed while creating promptflow

    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.