Microsoft Defender for Office 365 Recommended Configuration Analyzer (ORCA)
The Microsoft Defender for Office 365 Recommended Configuration Analyzer (ORCA) is a PowerShell module created by Cameron Murray, Principal Product Manager at Microsoft. ORCA can be run in a Microsoft Defender for Office 365 environment to
AI-assisted translation, approved by Mateo.

The Microsoft Defender for Office 365 Recommended Configuration Analyzer (ORCA) is a PowerShell module created by Cameron Murray, Principal Product Manager at Microsoft. ORCA can be run in a Microsoft Defender for Office 365 environment to identify known configuration issues and improvements that may affect the user experience.
ORCA's Scope focuses on EOP components regarding advanced threat protection, SafeLinks and SafeAttachments configuration, and antiphish/antispoof policies. We will have information on the check results in an HTML Output together with a Health Index, which is a weighted value representing its configuration.
How is it run?
- First, we must open PowerShell as an administrator.
- We must connect to Exchange Online with an account that has administrative permissions for Exchange Online.
Connect-ExchangeOnline- Then, we must download the ORCA PowerShell module using the following cmdlet:
Install-Module -Name ORCA -RequiredVersion 1.9.11- Then we will run the following cmdlet to export the report:
Get-ORCAReport

What is the Output?
The Output will be an HTML report exported to a location specified in the final log of the cmdlet run in PowerShell. In this case it was: C:\Users\MateoDiLoreto\AppData\Local\Microsoft\ORCA\ORCA-M365x58439970-202305062136.html

Some of the recommended configurations:
- Set the quarantine retention period to 30 days
- Enable end-user spam notification and set the frequency to less than or equal to 3 days.
- Apply Safe Attachements and Safe Links to all domains.
In conclusion, this report created by Cameron Murray at Microsoft will allow us to obtain a Best Practices-based view of advanced threat protection, SafeLinks and SafeAttachments configuration, and antiphish/antispoof policies in Microsoft Defender for Office. We recommend running it together with the Configuration Anayzer for Protection Policies.
Thanks for reading. The learning continues in the next article.
