Closed nicsuzor closed 1 month ago
Hi @nicsuzor,
Thanks for the feedback. Prompt flow utilizes azure.ai.ml
to do the authentication. Not sure what change has been made in azure.ai.ml, but from the error message, you could try to grant RBAC role Storage Blob Data Contributor
of the related storage account to yourself, if you are not sure what storage account it is, you can also do it at resource group level.
Yes, thank you @0mza987, I did try that, and gave the permission to the service account as well, and then recreated a new resource group in case I messed something up and did it all again. It's entirely possible I missed something, but it doesn't seem like it actually is a permissions issue since it works with the same resources if I just downgrade the azure.ai.ml
library. Happy to close if it's not relevant here, just thought this might be helpful to others.
Hi, we're sending this friendly reminder because we haven't heard back from you in 30 days. We need more information about this issue to help address it. Please be sure to give us your input. If we don't hear back from you within 7 days of this comment, the issue will be automatically closed. Thank you!
Was hitting same AuthorizationPermissionMismatch
error while running pf flow test
to evaluate from ADO pipeline, and granting Storage Blob Data Contributor
RBAC role of the related storage account to the app that was created to run ADO pipeline resolved the issue!
Describe the bug After upgrading to azure-ai-ml==1.19.0, I get an error trying to upload the run to cloud storage.
Runs locally, and then errors out:
How To Reproduce the bug Steps to reproduce the behavior, how frequent can you experience the bug:
pip install azure-ai-ml==1.19.0
and minimal test case:
I went through and re-created my resource group and my workspace and storage resources trying to chase this bug down. I think I can rule out most anything else.
Expected behavior
Downgrading uploads the run with no problems.
Running Information(please complete the following information):
pf -v
: 1.15.0, also tested on 1.13.0 and 1.14.0.python --version
: 3.11.0Additional context I don't know if I should file this over at https://github.com/Azure/azure-sdk-for-python/, but people running into the problem here might benefit from this report, and promptflow could certainly use a more informative error message. I can't do any more debugging, sorry, I've lost a whole day trying to figure this out already, and it's working on the older version.