Connect Microsoft Dynamics CRM to Yammer


Applies To: Dynamics CRM 2015

Yammer gives colleagues at your organization a central place to have conversations, create and edit documents, and share information without sending a single email or attending any meetings.

After you set up your organization to work with Yammer, employees will see posts in a newsfeed on their Microsoft Dynamics CRM dashboard whenever people update customer info, and they’ll be able to join in the conversation with their own posts.

Check out the following videos:

Though the videos describe Yammer and CRM Online, the content applies to Microsoft Dynamics CRM (on-premises), as well.

Connect your organization to Yammer

Prepare a CRM on-premises edition


If you are connecting a Microsoft Dynamics CRM (on-premises) deployment to Yammer that is not using Internet-facing deployment (IFD), you need to run the following PowerShell commands to disable secure channel HTTPS.

You shouldn’t run these commands if you are deploying Microsoft Dynamics CRM (on-premises) with IFD.

Allow for credentials via HTTP

  1. Open a Windows PowerShell command window.

  2. Add the Microsoft Dynamics CRM PowerShell snap-in:

    Add-PSSnapin Microsoft.Crm.PowerShell
  3. Enter the following:

    $itemSetting = new-object 'System.Collections.Generic.KeyValuePair[String,Object]'("AllowCredentialsEntryViaInsecureChannels",1)
    $configEntity = New-Object "Microsoft.Xrm.Sdk.Deployment.ConfigurationEntity"
    $configEntity.Attributes = New-Object "Microsoft.Xrm.Sdk.Deployment.AttributeCollection"
    Set-CrmAdvancedSetting -Entity $configEntity

Then, run the following command at a command prompt: iisreset


  • Before your organization can use Yammer in CRM, your organization needs to buy Yammer enterprise licenses.

  • Make sure you have the System Administrator security role or equivalent permissions in Microsoft Dynamics CRM.

  • You’ll also need to have verified system administrator privileges for your organization’s Yammer account, plus both the Write Organization and Configure Yammer privileges. If you’re not an administrator, by default these privileges aren’t available, and must be added.

  • Install the most recent product updates for Microsoft Dynamics CRM.

  • Meet browser and system requirements.

Connect CRM to Yammer

  1. Sign up for a Yammer Enterprise account, and note the name of the network you receive. More information:   Visit the Yammer website

  2. Go to Settings > System.

  3. Choose Administration > Yammer Configuration

  4. Read the disclaimer, and then choose Continue.

  5. Choose Authorize Microsoft Dynamics CRM Online (or CRM 2015) to connect to Yammer.

  6. Sign in to your enterprise Yammer account using your administrator credentials.

  7. Follow the on-screen instructions to accept the Yammer terms of service, note which Yammer network has been set up for you, and connect your organization to it. After your organization is connected, you’ll see a confirmation message at the bottom of the screen.


    CRM only supports connecting to the primary Yammer network. Connecting to External Networks in Yammer is not supported.

  8. If desired, stay signed in to your Yammer account and set your organization’s preferences for Yammer posts.

Set your organization’s preferences for Yammer posts (optional)

  1. Make sure you’re signed in to your enterprise Yammer account using your administrator credentials.

  2. If desired, select whether Yammer posts are public (everyone sees Microsoft Dynamics CRM posts in the newsfeed, or private (people must “follow” a record to see posts about that record in the newsfeed).

  3. If desired, select the default group where you would like Microsoft Dynamics CRM posts to appear.

  4. If desired, select which record types trigger automatic posts to the Yammer newsfeed.

Enable CRM entities for Yammer

Once you’ve connected CRM to Yammer, you need to specify which CRM entities are enabled for use with Yammer. Enabled entities can be followed by users

  1. Go to Settings > System.

  2. Choose Activity Feeds Configuration > Post Configurations

  3. Choose the entity, and then choose Activate.

  4. Confirm the activation, and then choose More Commands (…) > Publish All Customizations

What triggers automatic posts to the Yammer newsfeed?

The record types and rules in the following list can be enabled to trigger a Yammer post automatically. Record types that are enabled by default are marked “Yes.” If you want to enable an entity or rule type, make sure that the entity or rule is activated and that the types of auto-posts you want are enabled.

Post Entity Id


Enabled to Post Automatically


New Case for an Account



New Case for a Contact



Case Closed for an Account


Case closed for a Contact


Case Assigned to User/Team


Case Routed to Queue


New Lead created


A Lead has been qualified


New opportunity for an Account



New opportunity for a Contact



Probability for an Opportunity Updated for an account


Probability for an Opportunity Updated for a contact


Opportunity Won for an Account



Opportunity Won for a Contact



Opportunity Lost for an Account


Opportunity Lost for a Contact


New Account Created



New Contact Created


New Competitor Created


When you have Yammer set up, keep these things in mind:

  • All user posts (conversations) are stored in Yammer, not in Microsoft Dynamics CRM.

  • All system posts are stored in Microsoft Dynamics CRM.

  • If the Post to Yammer Activity Stream rule (or posttoyammer attribute) is set to True in Post Rules Configuration, that activity will post to Yammer.

Additional considerations

When connecting CRM with a federated Yammer

If you have configured Yammer to use single sign-on, you’ll need to generate and use a temporary password to connect CRM to Yammer.

  1. Sign in to Yammer with the single sign-on credentials.

  2. Choose More commands (…) > Apps

  3. Scroll to the bottom of the page to the All Apps section.

  4. Choose the Yammer tab, and then choose an app like Windows Phone. The app must support generating a temporary password.

  5. Complete the process to obtain a temporary user name and password.

  6. Use the temporary user name and password to complete the CRM to Yammer connection configuration.

Add Yammer sites to the browser as trusted

Add your Yammer sites to your browser as trusted. For example, for CRM Online, add the following:

Privacy notice

By enabling Yammer, you consent to share your data with an external system. Data that is imported from external systems into Microsoft Dynamics CRM Online is subject to our privacy statement, which you can access here.

See Also

Collaborate and communicate with Yammer
Visit the Yammer website

© 2016 Microsoft Corporation. All rights reserved. Copyright