Describe the issue
Windows 11 22621, AzureAD module version 2.0.2.140, latest version of CVE-2023-23397.ps1 script from here:
https://microsoft.github.io/CSS-Exchange/Security/CVE-2023-23397/
We wanted to do audit check on our Exchange Online env and to do that I tried running script using "-CreateAzureApplication" parameter. I get "CVE-2023-23397 script version 23.03.15.2119" and after that following error:
Unable to connect to Azure AD... Make sure you have AzureAD module installed Inner Exception AzureAD module was not found on this computer. You can install it by running Install-Module AzureAD
Expected behavior
Azure app created
Script Output
Unable to connect to Azure AD... Make sure you have AzureAD module installed Inner Exception AzureAD module was not found on this computer. You can install it by running Install-Module AzureAD
Additional context
Tried runniing Connect-AzureAD beforehand and I auth'd successfully and managed to test functionality with Get-AzureADUsers
Describe the issue
Windows 11 22621, AzureAD module version 2.0.2.140, latest version of CVE-2023-23397.ps1 script from here:
https://microsoft.github.io/CSS-Exchange/Security/CVE-2023-23397/
We wanted to do audit check on our Exchange Online env and to do that I tried running script using "-CreateAzureApplication" parameter. I get "CVE-2023-23397 script version 23.03.15.2119" and after that following error:
Unable to connect to Azure AD... Make sure you have AzureAD module installed Inner Exception AzureAD module was not found on this computer. You can install it by running Install-Module AzureAD
Expected behavior
Azure app created
Script Output
Unable to connect to Azure AD... Make sure you have AzureAD module installed Inner Exception AzureAD module was not found on this computer. You can install it by running Install-Module AzureAD
Additional context
Tried runniing Connect-AzureAD beforehand and I auth'd successfully and managed to test functionality with Get-AzureADUsers