DTOD-011: Risk Register
12 / 17

Troubleshoot

Stage 12 of 17

Stage 12 of 17

Troubleshooting

11 troubleshooting scenarios covering the most common issues in the IT Change Management application: risk calculation, ChangeID generation, approval notifications, Approver visibility, rollback plan display, ChangeHistory, weekly schedule, app crash, close button, Power BI, and duplicate notifications.

TS-001

Risk not calculated — Risk column is empty after submission

How It Was Reported

"Tom Reeves reports that CHG-20261205-001 has an empty Risk column in the Changes list."

Expected

Risk is calculated automatically by the DToDLab011-SubmissionAck flow on submission.

Actual

Risk column is empty.

Evidence to Gather

  1. 1.Check the DToDLab011-SubmissionAck flow run history. Did the flow run when CHG-20261205-001 was created?
  2. 2.If yes: expand the run. Did the Switch action execute? Did the Update item action succeed?
  3. 3.If no: check whether the flow is turned on.

Likely Cause

Most likely causes: (1) The flow is turned off. (2) The Switch expression has a syntax error. (3) The Update item action failed because the Risk column name in the flow does not match the internal name of the column in SharePoint.

Fix

Verify the flow is turned on. Check the Switch expression — the concat expression must exactly match the Impact and Likelihood choice values (case-sensitive). Check the Risk column internal name in SharePoint (List settings → Columns → Risk → check the URL for the internal name).

Retest

Submit a test change with Impact = High, Likelihood = High. Verify Risk = Critical in the Changes list.

TS-002

ChangeID not generated — ChangeID column is empty

How It Was Reported

"Rachel Okafor reports that her change does not have a ChangeID."

Expected

ChangeID is generated by the DToDLab011-SubmissionAck flow in the format CHG-YYYYMMDD-NNN.

Actual

ChangeID column is empty.

Evidence to Gather

  1. 1.Check the DToDLab011-SubmissionAck flow run history.
  2. 2.Check the Compose action — did it produce the correct output?
  3. 3.Check the Update item action — did it set the ChangeID field?

Likely Cause

The Compose expression may have a syntax error. The padLeft function syntax in Power Automate is: padLeft(string(triggerBody()?['ID']), 3, '0'). If the ID is already 3+ digits, padLeft does not truncate — the ChangeID will be longer than expected.

Fix

Check the Compose expression. Verify the Update item action references the ChangeID column correctly. Note: for IDs > 999, the ChangeID will be CHG-YYYYMMDD-1000 etc. — this is expected behaviour.

Retest

Submit a test change. Verify the ChangeID is generated correctly.

TS-003

Approval notification not sent — Approver did not receive email or Teams message

How It Was Reported

"Priya Mehta reports she did not receive an approval notification for CHG-20261205-002."

Expected

Priya Mehta receives an email and Teams message when a change reaches Approval status.

Actual

No notification received.

Evidence to Gather

  1. 1.Check the DToDLab011-ApprovalFlow run history. Did the flow run when CHG-20261205-002 was moved to Approval?
  2. 2.If yes: did the condition check pass? Did the email action succeed?
  3. 3.If no: check the trigger condition — is the flow detecting the status change correctly?

Likely Cause

Most likely causes: (1) The condition check for status change is not working — the flow fires on every modification but the condition does not correctly detect the transition to Approval. (2) The Approver email address in the Changes list is incorrect. (3) The Teams action failed because the Approver is not in the Teams workspace.

Fix

Review the condition logic. If using the PreviousStatus workaround, verify the PreviousStatus column is being updated correctly. Check the Approver email address in the Changes list. If the Teams action is failing, add a Configure run after to handle Teams failures gracefully.

Retest

Move a test change to Approval status. Verify Priya Mehta receives both the email and Teams notification.

TS-004

Change stuck in Approval — Approver cannot see the Approval Decision dropdown

How It Was Reported

"Priya Mehta reports she cannot see the Approval Decision dropdown on the Approval Status screen."

Expected

The Approval Decision dropdown is visible to the Approver.

Actual

Dropdown not visible.

Evidence to Gather

  1. 1.Check the Visible property of the Approval Decision dropdown in Power Apps Studio.
  2. 2.Check the condition: varCurrentUser.Email = varSelectedChange.Approver.Email. Is varSelectedChange.Approver.Email returning the correct value?
  3. 3.Check the Approver column type in SharePoint — is it a Person or Group column?

Likely Cause

Person or Group columns return an object. The email address is at Approver.Email (or Approver/Email in flows). If the Visible formula compares varCurrentUser.Email to varSelectedChange.Approver (the whole object) instead of varSelectedChange.Approver.Email, the comparison always returns false.

Fix

Update the Visible formula to: varCurrentUser.Email = varSelectedChange.Approver.Email || varIsITTeam. Verify varSelectedChange.Approver.Email returns the email address string.

Retest

Log in as Priya Mehta. Open a change in Approval status. Verify the Approval Decision dropdown is visible.

TS-005

Implementation screen does not show the Rollback Plan

How It Was Reported

"Marcus Webb reports the Rollback Plan is not visible on the Implementation screen."

Expected

The Rollback Plan is prominently displayed on the Implementation screen.

Actual

Rollback Plan is not visible.

Evidence to Gather

  1. 1.Check the Implementation screen in Power Apps Studio.
  2. 2.Check the Rollback Plan label or TextInput — is it present? Is it visible?
  3. 3.Check the Visible property — is it conditional?

Likely Cause

The Rollback Plan control may have an incorrect Visible property, or it may be hidden behind another control. Alternatively, the RollbackPlan field may not be included in the varSelectedChange context variable.

Fix

Verify the Rollback Plan control exists on the Implementation screen. Set Visible = true (unconditional — it must always be visible on this screen). Verify varSelectedChange.RollbackPlan is not blank for the test change.

Retest

Open a change in Implementation status. Verify the Rollback Plan is visible and displays the correct text.

TS-006

ChangeHistory records not being created

How It Was Reported

"Tom Reeves reports that the ChangeHistory list is empty despite multiple status changes."

Expected

A ChangeHistory record is created for every status transition.

Actual

ChangeHistory list is empty.

Evidence to Gather

  1. 1.Check the Power App formula for a status transition (e.g. the "Advance to Assessment" button OnSelect).
  2. 2.Is the Patch(ChangeHistory, ...) call present?
  3. 3.Check the SharePoint connection used by the Power App — does it have Edit permission on the ChangeHistory list?

Likely Cause

Most likely causes: (1) The Patch(ChangeHistory, ...) call was not added to the status transition formulas. (2) The Power App connection does not have Edit permission on the ChangeHistory list. (3) The ChangeHistory list name in the Patch formula does not match the actual list name.

Fix

Check each status transition formula. Verify the Patch(ChangeHistory, Defaults(ChangeHistory), {...}) call is present. Verify the SharePoint connection has Edit permission on the ChangeHistory list. Check the list name in the formula.

Retest

Advance a test change from Draft to Assessment. Verify a ChangeHistory record is created.

TS-007

Weekly schedule email not received by Sandra Obi

How It Was Reported

"Sandra Obi reports she did not receive the weekly schedule email on Friday."

Expected

Sandra Obi receives a weekly schedule email every Friday at 08:00.

Actual

No email received.

Evidence to Gather

  1. 1.Check the DToDLab011-WeeklySchedule flow run history. Did the flow run on Friday?
  2. 2.If yes: did the Get items action return any results? Did the email action succeed?
  3. 3.If no: check the recurrence trigger — is it set to run on Fridays?

Likely Cause

Most likely causes: (1) The recurrence trigger is not set to run on Fridays. (2) The Get items filter query has a syntax error — no items returned even when changes are scheduled. (3) Sandra Obi's email address is incorrect in the flow.

Fix

Check the recurrence trigger settings. Verify the OData filter query syntax. Check Sandra Obi's email address in the flow (s.obi@contoso.co.uk).

Retest

Manually trigger the flow. Verify Sandra Obi receives the email.

TS-008

Power App crashes on load — "Something went wrong"

How It Was Reported

"Multiple users report the app shows "Something went wrong" when they open it."

Expected

The app loads successfully for all users.

Actual

App crashes on load.

Evidence to Gather

  1. 1.Check the App OnStart formula in Power Apps Studio.
  2. 2.Check the SharePoint connection — has it expired?
  3. 3.Check whether the Changes or ChangeHistory list has been renamed or deleted.

Likely Cause

Most likely causes: (1) The SharePoint connection has expired — re-authenticate. (2) The Changes list has been renamed — the ClearCollect or Set formula in OnStart references the old name. (3) A column referenced in the OnStart formula has been deleted from the list.

Fix

Re-authenticate the SharePoint connection. Verify the list names in the OnStart formula match the current list names. Check for deleted columns.

Retest

Open the app. Verify it loads successfully for a requester and an IT team member.

TS-009

Change cannot be closed — "Close Change" button not visible after PIR

How It Was Reported

"Tom Reeves reports the "Close Change" button is not visible for a change with Status = PIR."

Expected

The "Close Change" button is visible for IT team members when Status = PIR.

Actual

"Close Change" button not visible.

Evidence to Gather

  1. 1.Check the Change Details screen in Power Apps Studio.
  2. 2.Check the Visible property of the "Close Change" button.
  3. 3.Check the condition: varSelectedChange.Status = "PIR" && varIsITTeam.

Likely Cause

The Visible formula may have a typo in the status value ("PIR" vs "Pir" — choice values are case-sensitive in Power Apps). Or varIsITTeam is false for Tom Reeves (his email may not be in the colITTeamEmails collection).

Fix

Check the Visible formula. Verify the status value matches exactly (case-sensitive). Verify Tom Reeves' email is in the colITTeamEmails collection in the App OnStart formula.

Retest

Log in as Tom Reeves. Open a change with Status = PIR. Verify the "Close Change" button is visible.

TS-010

Power BI dashboard shows no data

How It Was Reported

"Priya Mehta reports the Power BI dashboard is blank."

Expected

The dashboard shows change volume, outcomes, and trends.

Actual

Dashboard is blank.

Evidence to Gather

  1. 1.Check the Power BI dataset. Has it been refreshed?
  2. 2.Check the data source connection — is it pointing to the correct SharePoint site and Changes list?
  3. 3.Check Priya Mehta's Power BI Pro licence.

Likely Cause

Most likely causes: (1) The dataset has not been refreshed since the Changes list was populated. (2) The data source connection is pointing to the wrong site or list. (3) Priya Mehta does not have a Power BI Pro licence. POTENTIAL PREMIUM LICENSING.

Fix

Refresh the dataset manually. Verify the data source connection. Verify Priya Mehta has a Power BI Pro licence.

Retest

Refresh the dataset. Verify the dashboard shows data.

TS-011

Duplicate approval notifications — Approver receives multiple emails

How It Was Reported

"Priya Mehta reports she received 3 approval notification emails for CHG-20261205-003."

Expected

One approval notification per change.

Actual

Three notifications for the same change.

Evidence to Gather

  1. 1.Check the DToDLab011-ApprovalFlow run history. How many times did the flow run for CHG-20261205-003?
  2. 2.Check what modifications were made to the change item — did it get modified 3 times while in Approval status?

Likely Cause

The flow fires on every modification to the Changes list. If the change was modified 3 times while in Approval status (e.g. Approver assigned, PlannedStart set, then another field updated), the flow fired 3 times. The condition check may not be correctly detecting that the status has already been in Approval.

Fix

Add a condition: Status = "Approval" AND PreviousStatus <> "Approval". This ensures the notification is only sent when the status first changes to Approval, not on subsequent modifications while in Approval status.

Retest

Move a test change to Approval status. Modify the change twice more while in Approval status. Verify Priya Mehta receives only one notification.

Stage Complete — What You Now Have

  • ✓11 troubleshooting scenarios
  • ✓Covers: risk calculation, ChangeID, approval notifications, Approver visibility, rollback plan, ChangeHistory, weekly schedule, app crash, close button, Power BI, duplicate notifications
  • ✓Each scenario: reported quote, expected, actual, evidence, cause, fix, retest
NextRelease

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