AzureAD / MSAL.PS

MIT License
159 stars 29 forks source link

Function App system assigned managed identity does not work #30

Open Raphdeumax opened 3 years ago

Raphdeumax commented 3 years ago

Function App system assigned managed identity does not work with MSAL.PS in lastest version.

Because "Microsoft.Identity.Client.dll" is already loaded in the core app.

It would be necessary to detect the execution in a function app so that the libraries are not loaded

Thank's ;-)

muzzar78 commented 3 years ago

I think this is fixed in the following PR that has been merged - https://github.com/AzureAD/MSAL.PS/pull/26 A new release hasn't been created but I just updated MSAL.PS.ps1 with the code from the PR and that solved my issue with the dll conflict