Stage 17 of 17

Stage 17 of 17 — Final Challenge

The SLA Management Challenge

Priya Mehta wants to add SLA management to the IT Service Request application. She wants response targets, resolution targets, breach indicators, and escalation. This challenge asks you to design an SLA model — and to think carefully about what "SLA" really means and why it is much harder than it looks.

What Priya Wants

Message from Priya Mehta, IT Director

From: Priya Mehta, IT Director

Subject: SLA targets for the IT Service Request system

Now that the system is live, I want to add SLA targets. I need to be able to tell the business how quickly we respond to and resolve requests, and I need to know when we are breaching our targets.

My proposed targets:

  • Critical: respond within 1 hour, resolve within 4 hours
  • High: respond within 4 hours, resolve within 1 business day
  • Medium: respond within 1 business day, resolve within 3 business days
  • Low: respond within 2 business days, resolve within 5 business days

I also want the system to flag requests that are approaching or have breached their SLA, and to automatically escalate to me when a Critical request is not responded to within 30 minutes.

Can you design this?

Priya

The Honest Answer — Why SLA Is Hard

Do Not Pretend a Date Difference Is a Production-Grade SLA Engine

A simplistic SLA implementation calculates: SLA breach = CreatedDate + target hours < Now(). This is easy to build and completely wrong for most organisations. Here is why.

Business hours

Priya's targets say "1 business day" and "4 hours". Does "4 hours" mean 4 calendar hours (including nights and weekends) or 4 business hours? If a Critical request is raised at 4:30pm on a Friday, does the 4-hour resolution target expire at 8:30pm Friday (calendar) or 9:30am Monday (business hours)?

Implementation Complexity

Calculating business hours requires knowing: the working day start and end times, which days are working days, and the organisation's bank holiday calendar. None of this is trivial to implement in Power Automate.

On-hold time

If a request is put On Hold because the IT team is waiting for the requester to provide information, should the SLA clock pause? Most ITSM tools pause the SLA clock when a request is On Hold. If you do not pause the clock, the IT team is penalised for waiting for the requester.

Implementation Complexity

Tracking on-hold time requires recording when the request entered and left On Hold status, and subtracting that time from the elapsed time. This requires storing timestamps in the RequestUpdates list and calculating the total on-hold duration.

Priority change

If a request is raised as Low priority but the Service Desk changes it to Critical during triage, which SLA target applies? The original Low target (5 business days) or the new Critical target (4 hours)?

Implementation Complexity

Most ITSM tools apply the SLA target at the time of assignment, not at the time of submission. This requires recording the priority at assignment time, not just the current priority.

Calendar

Bank holidays vary by country and region. Contoso Services has offices in London, Manchester, and Edinburgh. Scotland has different bank holidays to England. A request raised in Edinburgh on a Scottish bank holiday may have a different SLA than the same request raised in London.

Implementation Complexity

Implementing a multi-region bank holiday calendar in Power Automate requires a lookup table of bank holidays and a formula that checks whether a given date is a bank holiday for the requester's office.

Contractual definition

An SLA is a contractual commitment. If Priya publishes SLA targets and the IT team breaches them, there may be consequences. The definition of "response" and "resolution" must be agreed and documented. Does "response" mean the first email reply, or the first status change to Assigned? Does "resolution" mean Resolved status, or Closed status?

Implementation Complexity

This is a governance question, not a technical one. The SLA targets must be agreed with the business before they are implemented.

What You Can Build — A Pragmatic SLA Model

Given the constraints of SharePoint Lists and Power Automate, a pragmatic SLA model uses calendar time (not business hours), does not pause for On Hold, and applies the target at the time of submission. This is not a production-grade SLA engine. It is a useful indicator that is honest about its limitations.

What this model gives you

  • ✓Automatic TargetDate calculation based on Priority at submission
  • ✓A visual SLA status indicator in the Power App (On Track / At Risk / Breached)
  • ✓An escalation flow for Critical requests not assigned within 30 minutes
  • ✓SLA breach reporting in Power BI

What this model does NOT give you

  • ✗Business-hours calculation
  • ✗On-hold time exclusion
  • ✗Priority-change SLA recalculation
  • ✗Multi-region bank holiday support
  • ✗Contractual SLA compliance reporting

Your Design Tasks

Task 1 — Add SLA columns to the Requests list

  • ▸ResponseTargetDate (Date and Time): the target date/time for the first response (Status changes from Triage to Assigned).
  • ▸ResolutionTargetDate (Date and Time): the target date/time for resolution.
  • ▸ResponseDate (Date and Time): the actual date/time when the request was first assigned (Status changed to Assigned).
  • ▸SLAStatus (Choice): On Track, At Risk (within 20% of target), Breached. Calculated by a Power Automate flow or Power Apps formula.

Task 2 — Build a flow to calculate target dates on submission

  • ▸Trigger: When an item is created in the Requests list.
  • ▸Switch on Priority: Critical → add 4 hours to CreatedDate, High → add 8 hours, Medium → add 24 hours, Low → add 48 hours.
  • ▸Update the Requests item: ResponseTargetDate = CreatedDate + response target, ResolutionTargetDate = CreatedDate + resolution target.
  • ▸Note: these are calendar hours, not business hours. Document this limitation.

Task 3 — Build an escalation flow for Critical requests

  • ▸Trigger: Scheduled, every 15 minutes.
  • ▸Get all Critical requests where Status = Triage AND CreatedDate < Now() - 30 minutes.
  • ▸For each: send an email to Priya Mehta: "Critical request not assigned after 30 minutes: [RequestID] — [Title]".
  • ▸Post a Teams message to the IT Team channel.
  • ▸Note: this flow runs every 15 minutes. Consider the impact on Power Automate run limits. POTENTIAL PREMIUM LICENSING for high-frequency flows.

Task 4 — Add SLA indicators to the Power App

  • ▸In the Team Queue gallery, add a coloured SLA indicator for each request: green (On Track), amber (At Risk — within 20% of target), red (Breached).
  • ▸Formula for SLA status: If(Now() > ThisItem.ResolutionTargetDate, "Breached", If(Now() > ThisItem.ResolutionTargetDate - (ThisItem.ResolutionTargetDate - ThisItem.CreatedDate) * 0.2, "At Risk", "On Track")).
  • ▸In the Request Details screen, show the ResponseTargetDate and ResolutionTargetDate with the SLA status.

Task 5 — Add SLA reporting to Power BI

  • ▸Add a calculated column: SLABreached = if(ResolvedDate > ResolutionTargetDate, 1, 0).
  • ▸Add a KPI card: SLA Breach Rate % = DIVIDE(SUM(Requests[SLABreached]), COUNTROWS(Requests), 0) * 100.
  • ▸Add a bar chart: SLA breach rate by category.
  • ▸Add a table: all breached requests with Request ID, Title, Priority, ResolutionTargetDate, ResolvedDate, breach duration.

Task 6 — Write a limitations statement for Priya

  • ▸Write a 1-page document explaining what the SLA model does and does not do.
  • ▸Explain the business-hours limitation clearly.
  • ▸Explain the on-hold time limitation.
  • ▸Recommend when to consider a dedicated ITSM product for production-grade SLA management.

Hints — Only Read If You Are Stuck

Lab Complete

DTOD-010 Complete

You have completed the full DToD Lab Method for DTOD-010 — IT Service Request Application. You have built a multi-screen Canvas Power App, three related SharePoint Lists, five Power Automate flows, and a Power BI dashboard — and you have designed an SLA model that is honest about its limitations.

17

Stages completed

34

Requirements written

25+

Test cases executed

Next: DTOD-011

Need more help with the concepts?

Visit DosToDigital for guides, templates, and deeper explanations.

DosToDigital
DToD Labs

Learn it. Build it. Make it work.

A DosToDigital Project

About DToD Labs

Practical technology learning for Microsoft 365 and Power Platform. Build real business solutions from real business problems.

Learn the concepts at DosToDigital. Put them into practice at DToD Labs.

DToD Labs provides practical learning projects for educational purposes. Microsoft services, interfaces, licensing and product capabilities change over time. Always check current Microsoft documentation and licensing before implementing a solution in a production environment. All organisations, business scenarios and data used in DToD Labs are fictional. Learners should not use confidential employer, customer or personal information when following DToD Labs exercises.

© 2026 DToD Labs — A DosToDigital Project