ms365 profile dlp
Use this command after you configure the scan rules/conditions. Add the scan rules/conditions to the DLP profiles. In the profiles, you also specify what actions to take. Then you apply the DLP profiles to the IP or recipient based policies.
See profile dlp for more details on commands and descriptions.