Azure / llmops-gha-demo

MIT License
27 stars 97 forks source link

Missing permissions for endpoint to the ml workspace during Deploy Action #7

Open jakeatmsft opened 1 year ago

jakeatmsft commented 1 year ago

Looks like the endpoint needs to be granted permissions before running "Invoke Model" step in Deployment action:

image

Error: Run az ml online-endpoint invoke --name web-classification-0e1890 --request-file promptflow/deployment/sample-request.json -g -w Class WorkspaceHubOperations: This is an experimental class, and may change at any time. Please see https://aka.ms/azuremlexperimental for more information. ERROR: (UserError) Access denied to list workspace secret due to invalid authentication. Please assign RBAC role 'AzureML Data Scientist' to the endpoint for current workspace, and wait for a few minutes to make sure the new role takes effect. More details can be found in https://aka.ms/pf-runtime. Code: UserError Message: Access denied to list workspace secret due to invalid authentication. Please assign RBAC role 'AzureML Data Scientist' to the endpoint for current workspace, and wait for a few minutes to make sure the new role takes effect. More details can be found in https://aka.ms/pf-runtime.

jakeatmsft commented 1 year ago

Opened PR #8 to fix this.

georgeliang0821 commented 12 months ago

@jakeatmsft Has this issue been resolved? I still get the same error here.

jakeatmsft commented 11 months ago

@jakeatmsft Has this issue been resolved? I still get the same error here.

@georgeliang0821 - PR is still open, please check it out and see if it works for you.

simon-v-swyftx commented 10 months ago

hey @jakeatmsft that PR didn't seem to work for me :(