How to fix permissions error running mslearn-bike Lab

JONATHAN MACHULES 0 Reputation points
2024-08-27T16:35:12.7+00:00

I am getting the following error when trying to run Azure Machine Learning Lab. https://microsoftlearning.github.io/mslearn-ai-fundamentals/Instructions/Labs/01-machine-learning.html

Encountered user error while fetching data from Dataset. Error: UserErrorException:
	Message: Failed to download mltable yaml with error: 
Error Code: UserError
Error Message: Getting permission error when trying to access MLTable,please make sure proper access is configured on storage: 
Error Code: ScriptExecution.StreamAccess.Authentication
Native Error: error in streaming from input data sources
	StreamError(PermissionDenied(Some(NoIdentityOnCompute)))
=> permission denied when access stream. Reason: Some(NoIdentityOnCompute)
	PermissionDenied(Some(NoIdentityOnCompute))
Error Message: Authentication failed when trying to access the stream. Make sure you have correct permissions set up. Ok(NoIdentityOnCompute)| session_id=179c3159-82d6-42dc-815a-a9bb5ee701f9| session_id=179c3159-82d6-42dc-815a-a9bb5ee701f9
	InnerException None
	ErrorResponse 
{
    "error": {
        "code": "UserError",
        "message": "Failed to download mltable yaml with error: \nError Code: UserError\nError Message: Getting permission error when trying to access MLTable,please make sure proper access is configured on storage: \nError Code: ScriptExecution.StreamAccess.Authentication\nNative Error: error in streaming from input data sources\n\tStreamError(PermissionDenied(Some(NoIdentityOnCompute)))\n=> permission denied when access stream. Reason: Some(NoIdentityOnCompute)\n\tPermissionDenied(Some(NoIdentityOnCompute))\nError Message: Authentication failed when trying to access the stream. Make sure you have correct permissions set up. Ok(NoIdentityOnCompute)| session_id=179c3159-82d6-42dc-815a-a9bb5ee701f9| session_id=179c3159-82d6-42dc-815a-a9bb5ee701f9"
    }
}
Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,951 questions
Azure Role-based access control
Azure Role-based access control
An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.
826 questions
{count} votes

2 answers

Sort by: Most helpful
  1. YutongTie-MSFT 52,596 Reputation points
    2024-08-28T02:43:33.8533333+00:00

    Hello @JONATHAN MACHULES

    Thanks for reaching out to us!

    I have seen the same issue from other customers caused by private networking setting, we finally figured out with checking the networking setting.

    Please check your storage account/ blob service (which connect to your Azure Machine Learning resource) - If "Allow Public Access" flag set to disable, with that everything was being unauthorized despite the app roles set to "Owner".

    User's image

    It should resolve your issue, please have a try. I hope it helps!

    Regards,

    Yutong

    -Please kindly accept the answer if you feel helpful to support the community, thanks a lot.


  2. JONATHAN MACHULES 0 Reputation points
    2024-09-01T15:08:04.2033333+00:00

    I ended up deleting the resource group and rebuilding the configuration. The service worked as expected once I did this.

    0 comments No comments

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.