MB2-717 Certification: (Microsoft Dynamics for Sales) – Microsoft Social Engagement

As I prepare for my Dynamics 365 certification in sales (MB2-717), I am creating blog posts based on my revision. I hope that collectively these posts may prove useful to anyone also preparing for the MB2-717 exam. This time I will cover Microsoft Social Engagement.

By social engagement we mean engaging with customers via multiple social platforms such as Twitter, Facebook and many others. In many situations social media has changed or is changing the way people communicate with organizations. Customers are more informed and obtaining that information from varied sources. Purchasing decisions are often influenced by discussions online.

The Microsoft Social Engagement application used with Microsoft Dynamics 365 allows companies to monitor key accounts, gain insight into competitors and be alerted to purchasing “signals”. Service / customer care concerns can also be identified. This information can then be used to help companies better react to customer need.

In addition, fresh leads may be generated from the various social sources. Or cases created to resolve potential issues.

The Microsoft Social Engagement application supports more than 20 languages and Azure machine learning also helps it adapt / evolve to learn new words. (and even emojis!)

Key benefits of social engagement include;

  • Listening, listen everywhere to understand how people really feel about the company and its products. And to appreciate how you compare to competitors.
  • Analyse sentiment, determine your share of the “voice” across social channel and understand who your key influencers are.
  • Drive engagement, foster conversations about your products / brand and gain insight to influence sales and marketing strategy.

Key features of social engagement include;

  • Social listening, listen to what people are saying in 20 languages across Twitter, Facebook, Blogs, Videos, news and custom RSS sources. Know who your key influencers are and stay informed with alerts on trending topics.
  • Intelligent Social gain insights using rich analytics including share of voice, location and tag cloud visualizations. Keywords are evaluated to determine if sentiment is positive, negative or neutral. And automatically understand the intention of social posts and route then as cases or leads as required.
  • Social Engagement improves social media presence by engaging with social communities. Creates an end to end customer experience by creating CRM entities from social posts. (Including cases, leads and even custom entities.) Or simply reply to posts directly from the Social Engagement hub.
  • Social CRM adds social data into Dynamics 365 (“CRM”). Allows you to integrate social interactions into the end to end customer experience.

The Social Engagement hub provides a rich user interface to allow users to see information on sentiment, trending key words (etc.) by source, language geographical area (etc.). You can even “zoom in” on individual posts / tweets and reply directly in the hub. Or convert these interactions into leads or cases within Microsoft Dynamics 365.

Connect Dynamics 365 with MSE

You can add data from MSE directly into dashboards and forms with Dynamics 365. Before doing this, you’ll need to connect Microsoft Dynamics 365 to Microsoft Social Engagement.

In settings / administration you will find the “Microsoft Social Engagement Configuration” option.


Use this option to connect Dynamics 365 to MSE.


Once connected you will be able to add social insights into dashboards and forms. Below you can see that I am adding social insights into a dashboard. We can pick particular search topic or categories. (It is also possible to create new topics from within Dynamics 365.) We can then choose from one of several visuals. Including data on languages, locations, recent posts, sentiment, phrases etc.

Microsoft Social Engagement Settings

Within settings you will find numerous options to control how MSE behaves. Including personal settings to set things like language preferences. “Global settings” are where we can set search defaults etc. And “User Management”  is where we can define the configuration and interaction roles for users. “Automatic Rules” allow us to automatically take actions on newly found posts.


Search Setup

You can configure the searches you’d like to include in MSE analytics in the search setup screen.


Within search setup you can define what search topics to listen for.

One approach is to define key words. And then refine the logic to include or exclude any posts.


Whenever you apply a change to the search MSE will show a preview of typical posts that might be included. It will also estimate the impact on your quota.


By default you will have a quota of 10,000 posts per month. (More can be purchased if required.) If you create a search that looks likely to return more posts than your quota allows then you’ll get a message suggesting you refine the search.


Connect MSE with Dynamics 365

We can also connect MSE to Dynamics 365, to enable us to create records in Dynamics 365 from MSE. Before you can create any record in Dynamics 365 you’ll need to ensure that MSE and Dynamics 365 are connected. To do this open Microsoft Social Engagement and select the Settings option.


Next, select the connections option, and the pick “Microsoft Dynamics 365”. You can then use the “+” icon to add a new connection. Notice below that my MSE is connected to two instances. One being my sandbox and another being production.


The connection type can be on premise or online. It is possible to have multiple connections defined. If you are connecting to Dynamics online all of the instances you connect will need to be within the same Dynamics 365 tenant.

If, like me, you are connecting to Dynamics 365 online, you should be able to click the “CHECK INSTANCES” icon. This will search for options and insert the details automatically. After you have selected the correct instance click the arrow to proceed to the next step.


There will now be a short pause whilst the connection magic happens!

Once the connection has been tested you will be presented with the following screen. On this screen you can opt to set this instance as the default, meaning it will be used when creating records from posts. Notice that cases and leads are listed as entities by default. You could remove these and / or add whatever entities you wish. (For now, I will leave these unchanged.)

Note: Just because cases, leads or other entities are listed here it does not mean that these will be created in Dynamics 365. Sounds strange! What is actually going to happen is you will be able to “trigger” the creation of cases or leads in MSE. But to get them to actually create we will also need a record creation rule in Dynamics 365. (More on that in a second!) Once you are happy click save and you’ll be connected.


Create Social Activities from MSE (Not cases and leads!)

As already mentioned, at this point leads and cases will not create in Dynamics 365. But Social Activities should. So it will be worth testing this before you continue.

In MSE, navigate to a post you’d like to see in Dynamics 365. Select it and the use the “LINK TO DYNAMICS 365” option.


Once you have selected to connect the post with Dynamics 365. The instance will default but you can change it if you have multiple connections defined.

Then select the entity you wish to create. (The one that won’t get created!!!)

Add a note. If you wish. And finally select create.


You should now be able to find the record in Dynamics 365. To test this I have used advanced find to look for “Social Activities”. Below you can see that the tweet I selected has been created in Dynamics 365.


Note: In addition to the social activity record a contact and social profile may have been created for the author of the post.

Tip: The creation of a contact from a social media post may create a duplicate in your system. If the contact was already known to the organization! One solution to this is to simply merge the two contact records.

Edit Social Activities form

Now you have confirmed that social activities are being created in Dynamics 365, you might want to edit the form! The reason being that we may want to see some additional information that isn’t shown by default.

A case (or lead) hasn’t been created. Nor has the note we entered shown in Dynamics 365. But this information is available to us as a JSON payload in the additional parameters field. Adding this field to the form will allow us to view this information and then we can decide how to utilize in the case or lead creation process.

Below you can see that I have opened the Social Activity entity in customizations and added the “additional parameters” field to the form.


Now when we view the social activity you can see some additional information. Including the note we entered and that the use requested an incident be created from this social activity.


Record Creation Rules

Next let’s consider how cases and leads can be created from social activities. (And if required any entity for that matter!) In settings, find the service management option and then open the “Automatic Record Creation and Update Rules” option.

First of all create and saved a new rule with the source type as social activity.


Next you will need to create an additional properties entry under channel properties. So select the additional properties field, then use the “new” option. Below you can see that I have called mine MSE Post Payload.

Once saved I have added two properties. I got the names for these by looking at the parameters field we added to the social activity form in the previous step. (userPreferredTargetEntity and notes) Notice that the data type is text, application source is MSE and I have added an optional description.


Next I completed my record creation rule by adding two record create and update details lines. Once that would create cases and one that would create leads.


Let’s look at one of these in more detail. (Both are similar!)


Notice that my condition is “userPreferredTargetEntity” equals “lead”. Obviously for the case I will say equals “incident”!

The final step is to add the action to create lead. You can just simply add create lead, I however wanted to add the notes entered in MSE into the lead details. To do this click set properties and add the notes to a suitable field. I opted to add them into the description field on the lead. (See below.)


Tip: You can obviously also pick other fields from the social activity and set them to fields on the lead / case. Including post description, sentiment etc.

Auto Create Leads or Cases

Now I have a record creation rule when I manually link data from MSE into Dynamics 365 a case or lead will be created. But what if I want posts to automatically create leads without manual intervention?

If you navigate to settings in MSE you will be able to see automation rules, in here you can use the “+” to create new rules to automatically create cases etc.

Notice there is also a useful option to email you of any failures. (If you’d like!)


I have covered quite a few concepts connected with Microsoft Social Engagement, I hope this post will have touched on most things you might need to know about for the MB2-717 exam. If possible I encourage you to get some hands on experience. Try not to rely on theory alone!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s