Connect to Yammer

To enhance your organization’s collaboration, use Dynamics 365 for Customer Engagement to connect directly to Yammer, a powerful tool for social networking in your company.


  • Before you set up a connection to Yammer in Dynamics 365 for Customer Engagement, you must purchase Yammer enterprise licenses for your organization, such as an Enterprise Network or SharePoint Online + Yammer account.

  • Yammer integration is only available for Dynamics 365 for Customer Engagement.


Connecting to Yammer is a one-way process. After the connection is established, it can’t be removed.

Several attributes are available that support connection to Yammer. The msdyn_PostRuleConfig.msdyn_PostToYammer attribute determines whether certain auto posts are posted in Customer Engagement and Yammer, or only in Customer Engagement. Other attributes, intended for internal use only, are added to the Post, PostFollow, Organization, and SystemUser entities. To view the entity metadata for your organization, install the Metadata Browser solution described in Browse the metadata for your organization. You can also browse the reference documentation for entities in the Entity Reference. The description of the msdyn_PostRuleConfig.msdyn_PostToYammer attribute appears as “For internal use only” until you enable the Yammer connection. After the connection is enabled, the attribute’s description is updated in the metadata. The attributes exist in the databases of all deployments.

You’ll notice that, if you enable the Yammer connection, Activity Feeds behavior changes, as shown here:

  • User posts (manual posts) added through the Customer Engagement user interface are created and stored directly in Yammer. Existing user posts, created before the Yammer connection was enabled, aren’t migrated from Customer Engagement to Yammer.

  • Auto posts are created and stored in Customer Engagement.


    Selective auto posts are stored in Yammer in addition to Customer Engagement, if you set the msdyn_PostRuleConfig.msdyn_PostToYammer attribute to true. Some of the auto post rules for Yammer are enabled out-of-the-box. Other rules can be enabled by the administrator. To see the auto post rules that are available for Yammer in the Customer Engagement web application, on the nav bar, click Dynamics 365 for Customer Engagement > Settings > Post Rule Configurations. Click the All Activity Feeds Rules drop-down list, and then click All Yammer Rules.

  • Objects, except users, are followed in Customer Engagement and Yammer. You must enable the Yammer connection before you can follow an object in Yammer.

  • Users are only followed in Yammer. A user must have a valid Yammer account to be followed.

  • You can stop following an object in Dynamics 365 for Customer Engagement programmatically or through the user interface. However, this doesn’t unfollow the object in Yammer. To stop following an object in Yammer, you have to use the Yammer user interface. You can’t unfollow an object in Yammer programmatically.

    If you’re connected to Yammer, the RetrieveRecordWallRequest message and the RetrievePersonalWallRequest message return the following posts:

  • All auto posts.

  • User posts created by using the Yammer web application, before you enabled the connection to Yammer.

  • User posts created programmatically in Yammer before or after you enabled the connection to Yammer.

See also

Activity Feeds Entities
Post Entity
Collaborate and communicate with Yammer
Connect Microsoft Dynamics 365 Customer Engagement to Yammer