Azure / Azure/azureml-examples

Authentication error in pipeline after batch endpoint invocation

Open
#2,501 1 comment 1 reaction 0 assignees View on GitHub
bug
Dominant language
Jupyter Notebook
Stars
2k
Forks
1.7k
Avg merge
18h 18m
Merged PRs (30d)
2

Description

### Operating System

Linux 23.06.30

### Compute Cluster
Standard_NC6s_v3 (Managed identity: User assigned identity)

### Version Information

Python Version: 3.10.11
azure-ai-ml package version: 1.8.0

### Steps to reproduce

1. Run the [custom-output-batch.ipynb](https://github.com/Azure/azureml-examples/blob/main/sdk/python/endpoints/batch/deploy-models/custom-outputs-parquet/custom-output-batch.ipynb) until step 4.6.2

### Expected behaviour

The pipeline job completes without problems.

### Actual behaviour

The prepared_data component fails directly with the following error:
**_Datastore has no credentials, and workspace msi failed to authenticate storage account. Please grant Storage Account Contributor role to workspace msi._**

### Addition information

![image](https://github.com/Azure/azureml-examples/assets/19412391/c0adbaf0-8cb6-4da7-b7a8-430b6fdb3d6d)

Contributor guide

Open the contributing guide

Research direction

Start by running custom-output-batch.ipynb through step 4.6.2 with the listed Python, azure-ai-ml, cluster, and managed identity settings. Investigate the prepared_data authentication failure and verify that the pipeline completes without the datastore credential error.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, jupyter-notebook, python
Domain
authentication, cloud, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.