Any idea, why script is giving error;
Invoke-WebRequest : The remote server returned an error: (400) Bad Request.
At C:\TEMP\CVE\CVE-2023-23397.ps1:515 char:5
+ Invoke-WebRequest @params
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
Unable to create the Azure application password
Tried script in first days of vulnerability and worked "fine", but now when I do extactly same as before, only getting same error.
Im running Get-EXOMailbox -ResultSize Unlimited | .\CVE-2023-23397.ps1 -Environment Online -UseSearchFolders