Microsoft-Authentication-with-PowerShell-and-MSAL
Microsoft-Authentication-with-PowerShell-and-MSAL copied to clipboard
These scripts are throwing errors with latest MSAL 4.7 libraries...
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.