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
757 stars 192 forks source link

How to know what scope and endpoint to use, for accessing service XYZ? #522

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 access to Azure BLOB Storage from Azure Functions using MSAL. How do I configure scope and endpoint ?

rayluo commented 1 year ago

how to access to Azure BLOB Storage How do I configure scope and endpoint ?

Please refer to this introduction of scopes (permissions). Specific scopes and endpoints are defined by the service that you are going to use, so you will need to find them from Azure BLOB storage's documentation.

Last but not the least, this kind of general usage question shall better be asked in StackOverflow, which is back by a broader community.