How to auto-authenticate AML compute instance to start on a regular schedule?

Caiwen Wu 0 Reputation points Microsoft Employee
2025-01-16T22:49:43.1966667+00:00

Hi, I am trying to use Azure ML workspace to run Python notebooks on a regular basis to query Kusto data and conduct data processing. I created a Compute instance in AML, set up the starter shell script, and configured the Startup schedule of the compute instance. I also used User assigned identity as the authentication method. However, the Compute instance does not always start successfully with the schedule, when it failed, a banner would appear: "Your compute needs to be authenticated before you can mount data to it. Please use the authenticate button to sign in to receive the authentication token." How can I resolve it? Thank you!

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
3,073 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,289 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.