Microsoft-Authentication-with-PowerShell-and-MSAL icon indicating copy to clipboard operation
Microsoft-Authentication-with-PowerShell-and-MSAL copied to clipboard

These scripts are throwing errors with latest MSAL 4.7 libraries...

Open vedeevi opened this issue 5 years ago • 0 comments

The provided scripts in this Git repository are outdated and throwing error when trying to use with latest Microsoft.Identity.Client modules. Please update these scripts with latest MSAL libraries...

Error which we are getting with this scripts: New-Object : Exception calling ".ctor" with "2" argument(s): "See https://aka.ms/msal-net-3-breaking-changes" At C:\AAD-Auth-MSAL-PowerShell\MSAL-Auth-PS.ps1:23 char:8 $app = New-Object Microsoft.Identity.Client.PublicClientApplication($ ... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CategoryInfo : InvalidOperation: (:) [New-Object], MethodInvocationException FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.PowerShell.Commands.NewObjectCommand

Thanks, Venu.

vedeevi avatar Dec 20 '19 10:12 vedeevi