You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am an Azure costumer. I can't use MSAL to generate an access token for the scope of my app reg using my managed identity.
I have this setup:
I deployed an Azure function app that is validating access token of an Application registration. It checks that the Client has the correct role.
I have a compute instance that is assigned a Managed identity. I want to send a HTTP request to my azure function with an access token generated for my Managed Identity.
This repo here is about Microsoft Authentication Library (MSAL) for Python. MSAL Python is currently implementing Managed Identity feature. If you are interested in trying out the bleeding edge, you can follow the instruction in #480 to try it out.
Activity
rayluo commentedon Apr 5, 2023
Hi Pierre Valentin (@pievalentin) , your code snippet is using a different library, Azure SDK for Python, so, you would want to create a similar github issue there.
This repo here is about Microsoft Authentication Library (MSAL) for Python. MSAL Python is currently implementing Managed Identity feature. If you are interested in trying out the bleeding edge, you can follow the instruction in #480 to try it out.
pievalentin commentedon Apr 6, 2023
Oh my bad. Thanks a lot for the kind and fast help Ray Luo (@rayluo). Will try what you suggested on my company laptop tomorrow morning!
pievalentin commentedon Apr 6, 2023
My azureml environment is very restricted (SSL inspection), I have some trouble installing your draft PR. I am still working on it.
bgavrilMS commentedon Aug 17, 2023
Ray Luo (@rayluo) - is this PR not merged? I though MSAL Py supports MI now. Can you please post a link to the sample and docs?