Azure ML authentication with Service Principal certificate

Debanjan Banerjee 1 Reputation point


I am responsible for deploying Azure ML resources like workspace, compute target and datastore using Python from Azure CI/CD Devops Pipeline. I have Service principal certificate for authentication. I am confused about which authentication method of Python I will follow.

Shall I used MSAL authentication? or

please suggest a secure authentication method of python that supports Service Principal certificate to authenticate Azure ML workspace. Please share a sample as reference if any.

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,666 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. GiftA-MSFT 11,161 Reputation points

    Hi, thanks for reaching out. Check out this document regarding Azure Resource Manager service connection which provides information on different connection methods. Hope this helps, otherwise, let me know so we can get you the information you need. Thanks!

    0 comments No comments