Volume mount failed with: DataAccessError(PermissionDenied) Azure-ML

MANAN GAJJAR 1 Reputation point
2022-04-13T19:18:04.3+00:00

I have created AzureML experiment where i am ingesting a dataset with azure SQL Server as source. below is the code.

from azureml.core import Experiment, ScriptRunConfig, Environment

input_data = ws.datasets.get('azure_sql_data')

experiment_folder = 'experiment'
env = Environment.from_conda_specification("env", "environment.yml")

script_config = ScriptRunConfig(source_directory=experiment_folder,
                                script='tranformer.py',
                                arguments = ['--input-data', input_data.as_named_input('input_data')],
                                environment=env)

When i run this experiment i am getting following error. Dataset initialization failed: DataAccessError(PermissionDenied)

Am i missing something here?

I can access the azure SQL server data in while running it in aml notebook but when i run experiment i am getting above error.

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

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.