Created: 1/24/23
Updated: 1/24/23
Something I found myself doing recently was to harden M365 services such as Sharepoint from malware. Below is a PowerShell command to prevent the download of infected files from Sharepoint.
- Open PowerShell in an elevated state
- Set-SPOTenant -DisallowInfectedFileDownload $True
- verify that the setting is enabled with “Get-SPOTenant”