cammurray / orca

The Microsoft Defender for Office 365 Recommended Configuration Analyzer (ORCA)
292 stars 50 forks source link

'Get-ProtectionAlert' is not recognized as a name of a cmdlet #312

Closed hanneschu1z closed 1 month ago

hanneschu1z commented 3 months ago

When you run: Get-ORCAReport, the Protection Alert Check fails with the following error:

04/29/2024 11:47:57 Getting Protection Alerts Get-ProtectionAlert: The term 'Get-ProtectionAlert' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

BohrenAn commented 3 months ago

@hanneschu1z This happens if you are connected with Exchange Online Connect-ExchangeOnline but not with SSC (Security & Compliance PowerShell ) Connect-IPPSSession

If you're not connected with Exchange Online Orca will ask you twice for a login: Connect-ExchangeOnline Connect-IPPSSession Then it works

image

Kind Regards Andres

hanneschu1z commented 3 months ago

Thanks!