AzureAD / microsoft-authentication-library-for-python

Microsoft Authentication Library (MSAL) for Python makes it easy to authenticate to Microsoft Entra ID. General docs are available here https://learn.microsoft.com/entra/msal/python/ Stable APIs are documented here https://msal-python.readthedocs.io. Questions can be asked on www.stackoverflow.com with tag "msal" + "python".
https://stackoverflow.com/questions/tagged/azure-ad-msal+python
Other
799 stars 200 forks source link

How to connect to Azure Database for MySQL -Single Server from Azure Functions(Python) using MSAL? #523

Closed ecormaksin closed 1 year ago

ecormaksin commented 1 year ago

I refered this sample code.

I want to let Azure Function to authenticate by Azure Active Directory.

I cannot understand how to connect to Azure Database for MySQL -Single Server from Azure Functions using MSAL. How do I configure scope and endpoint ?

rayluo commented 1 year ago

Similar suggestion as the other question.

In particular, there is an older wiki page for how to Connect to Azure SQL Database from ADAL Python. Now, ADAL Python is deprecated, but the concept and steps in that wiki page might still work for MSAL.