Manage Yammer data compliance

As a verified admin, here's how to keep your users' Yammer posts appropriate and meet compliance requirements. You can set up alerts for content that matches keywords, set data retention policies, and export data. If needed, you can view private content.

Monitor Keywords

Monitor sensitive content by specifying keywords such as banned words or employees’ personal information.

Set person responsible for monitoring, editing, and deleting flagged posts

  1. In the Yammer admin center, go to Content and security > Monitor Keywords, and enter the person's email address in Email Address. This person should be a verified admin so they have permission to delete messages anywhere in Yammer.

  2. When a post matches a keyword, the person listed in Email Address receives an email. They can then click a link in the email to review, edit, or delete the flagged post.

Specify keywords and phrases to monitor

  1. In the Yammer admin center, go to Content and Security > Monitor Keywords.

  2. Enter the words and phrases you want to monitor, each on its own line.

    You can use regular expresssions to match patterns. For information on using regular expressions, see Regular Expression Language.

    Here are some examples of regular expressions commonly used for monitoring.




    Word boundary


    \btheme\b matches "theme" but not "themes" or "them"

    Credit cards

    \b(?:\d[ ‐]*?){13,16}\b

    1234 5678 90123

    1234 5678 9012 3456


    Social Security numbers

    \b\d{3}[ -]\d{2}[ -]\d{4}\b

    123 45 6789


    Tip: For a starting point for creating your keyword list, visit: (

Export all Yammer data

You can export details of Yammer usage to monitor usage, and for discovery purposes.

To set up automatic recurring exports, use the Yammer API. For information about the Data Export API, go to /export on the Yammer Developer Center.


Export detailed usage data for a specified date range 

  1. In the Yammer admin center, go to Content and Security > Export data.

  2. Specify the date range, and whether or not to include attachments and external network data.

  3. Click Export.

    Data is exported into a .zip file containing a separate folder for each network:

    • .CSV files:    These files contain details for inbound and outbound messages, message versions, pages, topics, users, admins, and groups.

    • Files folder:    This folder contain files that have been created or modified during the specified time period. Files are in their native format.

Data retention

You can control whether deleted messages are retained.

Set whether to save deleted messages

  1. In the Yammer admin center, go to Content and Security > Data Retention.

  2. To prevent deleted data from being available in exported data, select Hard Delete. Or, to enable deleted data to appear in exported data, select Soft Delete.

    Data can be permanently deleted by using the Developer API. For information, see the Developer API on the Yammer Developer Center.

Content mode

If as a verified admin, you have a legal reason to view private messages, you can select to see them. For more information, see Monitor private content in Yammer

See Also

Overview of security and compliance in Yammer

Expand your skills
Explore training
Get new features first
Join Office Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.