orca icon indicating copy to clipboard operation
orca copied to clipboard

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

Open hanneschu1z opened this issue 9 months ago • 2 comments

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.

hanneschu1z avatar Apr 29 '24 09:04 hanneschu1z

@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

BohrenAn avatar Apr 29 '24 12:04 BohrenAn

Thanks!

hanneschu1z avatar Apr 29 '24 14:04 hanneschu1z