AzureAD / MSAL.PS

MIT License
159 stars 29 forks source link

Fix Authority bug in Get-MSALToken cmdlet in v4.37 #46

Closed ioamnesia closed 2 years ago

ioamnesia commented 2 years ago

In v 4.37.0.0, a bug was introduced causing the error described in Issue 45: https://github.com/AzureAD/MSAL.PS/issues/45 Microsoft.Identity.Client.ConfidentialClientApplication.ApplicationConfiguration does not have an "Authority" member. The previous code referencing AuthorityInfo is correct.

ioamnesia commented 2 years ago

This appears to be an issue with the installed version of the Microsoft.Identity.Client package. This code shouldn't be changed. Instead we need to make sure that installing the module also installs the latest version of Microsoft.Identity.Client. Confirmed broken using 4.16.0