Configure SLA in Dynamics 365
Written By Parth Sharma
Last Updated: February 9, 2024
May 16, 2023

Want to receive our Blog every month?

What exactly are SLAs?

SLAs, or Service level Agreements, establish the level of service provided to clients in many businesses. Using SLAs in Dynamics 365 Customer Service, we can define the level of service or support an organization agrees to provide a customer. Providing help based on service levels guarantees that you deliver measurable and predictable results. SLAs provide advantages such as tracking service level performance and goals, prioritization of cases, and reminders to customer service employees.

To configure SLAs, we must first construct SLA KPIs and SLA items, and then apply the SLA via entitlements or a default SLA, as discussed in this blog.

Steps to Get Started

To begin building SLA for an entity, we must first ensure that SLA is enabled for that entity.

  1. Open Custom Solution for this.
  2. Select the entity from the left pane.
  3. Check the Enable for SLA check box under Communication & Collaboration.
  4. Save and publish your work

Additionally, we must ensure that SLAs are not disabled because of this.

Open the Service Configuration Settings window.

Ensure Disable SLA is configured to No.

Setting up Holiday and Customer Service Schedule

We can avoid our SLAs being affected and recorded on the days when service organization is closed by creating a Holiday Schedule Calendar.

  1. Open Holiday Schedule in Service Management
  1. Click New, Add Name and Description then click Create
  1. Select New in Holiday Grid
  1. Add details

We need to associate this Holiday schedule with a Customer Service Schedule later.

Customer Service Schedule store details of business hours of each day and weekly off. These details are used in the time tracking of SLAs by customer service. For Creating Customer Service Schedule,

  1. Open Customer Service Schedule in Service Management
  2. Click New, Add Name and Description then click Create
  1. Under Weekly Schedule select the work hours for day by using Set Work Hours and days of the week when customer service is available.
  2. In Holiday Schedule select Observe and select the created Holiday Schedule.

Creating SLA KPIs

SLA KPIs are the performance indicators that we want to track. It holds the data for the KPI field, entity and which field the KPI is applicable from.

  1. Open SLA KPIs in Service Management and select new, here we can add the required data:
    Name: The name of the SLA KPI.
    Entity Name: Select the entity for which the KPI will be measured.
    KPI Field: Select the respective KPI field.
    Applicable From: Select a value based on which the warning and failure time will be measured
  1. KPI Fields define N:1 relationship between the entity and the SLA KPI Instance entity. We can create our own by creating a lookup field for the SLA KPI Instance Entity on the required entity.
  2. We can define Pause Conditions for the SLA KPI. For example, if we want the KPI to pause if the Status Reason of the entity  is set to either On Hold or Waiting for Details

Creating SLA

  1. On Service Management, Select SLA then NEW
  2. Enter the Name, Description, and Primary Entity
  3. Save the form to view SLA Item section

Creating an SLA Item

A SLA can have multiple SLA items associated with it. A SLA item determines the Warning and Failure Time based on the Applicable from field on the SLA KPI and gives us features to specify conditions and actions. To add SLA Item to SLA:

  1. Open SLA record and select New SLA Item to open dialogue
  1. Enter the required details:
    Name: Item name
    KPI: Select the KPI to be associated
    Allow Pause and Resume: Enable this option if you want the SLA to be paused during the time the record is on hold.
    Business Hours: Select the Customer Service Schedule entity to be associated
  1. In the Applicable When section, we can define the conditions for the entity when the SLA can be applied.
  1. In the Success Conditions section, we define the success criteria for our SLA
  1. In the Pause Configurations section we can add conditions to pause SLA item. Select Yes in Override Criteria to override settings defined at entity, Service Configuration or SLA KPI level.
  1. In Warn and Fail Duration section, add time after which warning and failure notifications are sent.

Configuring Actions

In an SLA Item, we can also configure actions to be triggered based on SLA success, failures, or for warnings. For this,

  1. Select Configure Actions, in the action pane of the SLA item to open Power Automate.
  1. Select Continue to confirm the connection.
  2. A predefined flow specific to SLA appears.
  3. We can see the Switch step in the flow which has three conditions
    Is Nearing Non-Compliance: Will run when the warning time is reached for the SLA
    Is Succeeded: Will run when the SLA succeeds
    Is Non-compliant: Will run when the SLA fails
  1. Under each condition we can add an action to be executed such as send a warning email based on SLA conditions.

Keep up to date with Osmosys Blog!

Keep up to date with Osmosys Blog!

Keep up to date with Osmosys Blog!