Configure Cloud App Security to quarantine email messages and files violating scanning policies. Cloud App Security uses the Quarantine to move infected messages and files to a quarantine folder.
For Exchange Online, Cloud App Security moves the whole email message to the Quarantine when an attachment triggers a policy violation.
For SharePoint Online, OneDrive for Business, Microsoft Teams, Box, Dropbox, and Google Drive, Cloud App Security quarantines a file when the file triggers a policy violation. After quarantining a file, Cloud App Security replaces the original file content with a text warning file to notify users. Cloud App Security allows customers to customize the content of the replacement text file.
The Quarantine folder path cannot be updated.