DTOD-005: Project Tracker
12 / 17

Troubleshoot

Stage 12 of 17

Stage 12 of 17

Troubleshooting

Eight troubleshooting scenarios covering the most common issues in a training register system: missing reminders, duplicate reminders, incorrect dates, Power BI discrepancies, missing mandatory training, flow errors, view filter problems, and publishing issues.

Why Are We Doing This?

The scenarios in this stage are based on real issues that occur in Microsoft Lists, Power Automate, and Power BI. The date logic in the expiry reminder flow is particularly prone to subtle errors — a single character wrong in the filter query can cause reminders to be missed or duplicated.

Troubleshooting Scenarios

TS-001

Expiry reminders not being received

How It Was Reported

"Rachel Okafor reports that neither Sophie Clarke nor her manager Ravi Sharma received a 60-day reminder for REC-003 (Health & Safety Induction, expiring in 60 days)."

Expected

Both Sophie and Ravi receive a 60-day reminder email on the day the expiry date is exactly 60 days away.

Actual

No email received.

Evidence to Gather

  1. 1.Open Power Automate → My flows → DToDLab005-ExpiryReminder.
  2. 2.Check the run history. Did the flow run on the expected date?
  3. 3.If yes: expand the run. Which action failed or returned 0 items?
  4. 4.If no: check whether the flow is turned on.
  5. 5.Check the training record. What is the ExpiryDate? What is Reminder60Sent?
  6. 6.Calculate: is ExpiryDate exactly today + 60 days? (Check the date format — yyyy-MM-dd.)

Likely Cause

Most likely cause: the ExpiryDate in the training record does not match the filter exactly. Common reasons: (1) ExpiryDate was entered as a different date than expected. (2) The date format in the filter does not match SharePoint's stored format. (3) The flow is turned off.

Fix

Verify the ExpiryDate in the training record. Verify the flow is turned on. Check the filter query in the Get items action — ensure formatDateTime uses 'yyyy-MM-dd'. If the date is correct and the flow is on, check the SharePoint connection — it may have expired.

Retest

Create a test record with ExpiryDate = today + 60 days. Manually trigger the flow. Verify the email is received.

TS-002

Duplicate reminders being sent

How It Was Reported

"Oliver Grant has received three 60-day reminder emails for the same training record."

Expected

Each reminder is sent exactly once.

Actual

Three 60-day reminders received.

Evidence to Gather

  1. 1.Open the training record for Oliver Grant. Check the Reminder60Sent column.
  2. 2.If Reminder60Sent = No: the Update item action in the flow is failing after the email is sent.
  3. 3.If Reminder60Sent = Yes: the filter is not working correctly — it is finding records where Reminder60Sent = Yes.
  4. 4.Open the flow run history. Check the Update item action for this record.

Likely Cause

Two possible causes: (1) The Update item action is failing after the email is sent, so Reminder60Sent is never set to Yes. (2) The filter query is incorrect — it is not filtering on Reminder60Sent = No.

Fix

Check the Update item action in the flow. Verify it references the correct item ID and sets Reminder60Sent = Yes. Check the filter query in the Get items action — it must include "and Reminder60Sent eq 'No'".

Retest

Set Reminder60Sent = No on the test record. Trigger the flow. Verify one email is received and Reminder60Sent = Yes. Trigger the flow again. Verify no second email is received.

TS-003

Incorrect expiry date on a training record

How It Was Reported

"Sandra Obi notices that REC-008 (Marcus Webb, Health & Safety Induction) has an ExpiryDate of 05/06/2024 instead of 05/06/2025. The course validity is 24 months, not 12."

Expected

ExpiryDate = CompletionDate + 24 months = 05/06/2023 + 24 months = 05/06/2025.

Actual

ExpiryDate = 05/06/2024 (12 months, not 24).

Evidence to Gather

  1. 1.Open REC-008. Check CompletionDate and ExpiryDate.
  2. 2.Open the Courses list. Find CRS-003 (Health & Safety Induction). Check ValidityMonths.
  3. 3.Calculate the correct ExpiryDate: CompletionDate + ValidityMonths.

Likely Cause

The ExpiryDate was calculated manually using the wrong validity period. The L&D team member used 12 months instead of 24 months.

Fix

Correct the ExpiryDate in REC-008 to 05/06/2025. Document the correction in the record's EvidenceReference field: "ExpiryDate corrected from 05/06/2024 to 05/06/2025 on [date] by [name]. Reason: incorrect validity period used at time of entry." Reset Reminder60Sent, Reminder30Sent, and Reminder7Sent to No so the correct reminders are sent.

Retest

Verify REC-008 shows ExpiryDate = 05/06/2025. Verify all three reminder flags are No.

TS-004

Power BI dashboard shows different numbers to the SharePoint list

How It Was Reported

"Ravi Sharma reports that the Power BI dashboard shows 3 expired records for the Finance team, but the Expired Training view in SharePoint shows 4."

Expected

Power BI and SharePoint show the same number of expired records.

Actual

Power BI shows 3, SharePoint shows 4.

Evidence to Gather

  1. 1.Open the Power BI dashboard. Note the 3 expired Finance records shown.
  2. 2.Open the Expired Training view in SharePoint. Filter by Team = Finance. Note the 4 records shown.
  3. 3.Compare the two lists. Which record is missing from Power BI?
  4. 4.Check when the Power BI dataset was last refreshed.

Likely Cause

The Power BI dataset has not been refreshed since the 4th record was added. Power BI shows a snapshot of the data at the time of the last refresh, not real-time data.

Fix

Refresh the Power BI dataset manually: open the report in Power BI Desktop → Home → Refresh. Or, if published to the Power BI service, configure a scheduled refresh. After refreshing, verify the dashboard shows 4 expired Finance records.

Retest

Add a test expired record. Refresh the Power BI dataset. Verify the new record appears in the dashboard.

TS-005

Missing mandatory training not identified

How It Was Reported

"Tom Reeves reports that Oliver Grant has never completed the Equality, Diversity & Inclusion course (CRS-005, mandatory), but the compliance view does not flag this."

Expected

The compliance view identifies employees with no training record for a mandatory course.

Actual

Oliver Grant's missing EDI training is not flagged.

Evidence to Gather

  1. 1.Navigate to the TrainingRecords list. Filter by Employee = Oliver Grant.
  2. 2.Check whether a record exists for CRS-005 (Equality, Diversity & Inclusion).
  3. 3.Navigate to the Power BI dashboard. Check the "By Course" page for CRS-005.

Likely Cause

The base build (Lists only) does not have a view that identifies employees with no record for a mandatory course. This requires a cross-list query that SharePoint views cannot perform. The Power BI dashboard's "By Course" page should show this, but only if the measure is correctly defined.

Fix

This is a known limitation of the base build. The Power BI dashboard's "By Course" page should include a "Not Started" count for each mandatory course. If it does not, check the DAX measure — it must count employees with no matching training record, not just employees with an expired record. See the Improve stage for the full Power BI build instructions.

Retest

Navigate to the Power BI "By Course" page. Verify CRS-005 shows Oliver Grant in the "Not Started" count.

TS-006

Flow fails with "Item not found" error

How It Was Reported

"The DToDLab005-ExpiryReminder flow failed with the error: "The requested item is not found.""

Expected

The flow runs successfully and processes all matching records.

Actual

Flow fails with "Item not found" error.

Evidence to Gather

  1. 1.Open the flow run history. Expand the failed run.
  2. 2.Identify which action failed. Is it the Get items, Send email, or Update item action?
  3. 3.If Update item: check the ID field. Is it referencing the correct item ID from the Get items action?
  4. 4.If Get items: check the list name. Has the TrainingRecords list been renamed?

Likely Cause

Most likely cause: the Update item action is referencing a hardcoded item ID instead of the dynamic ID from the Get items action. Or the TrainingRecords list has been renamed and the flow still references the old name.

Fix

Check the Update item action. The ID field must reference the dynamic ID from the current item in the Apply to each loop: @{items('Apply_to_each')?['ID']}. If the list was renamed, update the list name in all Get items and Update item actions.

Retest

Manually trigger the flow with a test record. Verify the flow completes successfully.

TS-007

Expiring Training view shows records that have already expired

How It Was Reported

"Sandra Obi notices that the Expiring Training view includes REC-001 (Sophie Clarke, Data Protection Awareness, expired January 2025)."

Expected

The Expiring Training view shows only records where ExpiryDate is between today and today + 60 days.

Actual

Expired records appear in the Expiring Training view.

Evidence to Gather

  1. 1.Navigate to the TrainingRecords list.
  2. 2.Select the Expiring Training view.
  3. 3.Select the view settings (Edit current view).
  4. 4.Check the filter conditions.

Likely Cause

The Expiring Training view filter is missing the lower bound condition. It filters for ExpiryDate ≤ today + 60 days but does not also filter for ExpiryDate ≥ today. Records with ExpiryDate in the past satisfy the ≤ today + 60 condition.

Fix

Edit the Expiring Training view. Add a second filter condition: ExpiryDate is greater than or equal to [Today]. The combined filter should be: ExpiryDate ≤ [Today] + 60 AND ExpiryDate ≥ [Today].

Retest

Navigate to the Expiring Training view. Verify REC-001 (expired) does not appear. Verify records expiring within 60 days do appear.

TS-008

Power BI dashboard shows no data after publishing

How It Was Reported

"Rachel Okafor published the Power BI report to the Power BI service. The dashboard shows "No data" on all pages."

Expected

The dashboard shows training data from the TrainingRecords list.

Actual

All pages show "No data".

Evidence to Gather

  1. 1.Open the Power BI service. Navigate to the dataset.
  2. 2.Check the dataset refresh history. Has the dataset been refreshed since publishing?
  3. 3.Check the data source credentials. Are the SharePoint credentials configured?

Likely Cause

When a Power BI report is published to the Power BI service, the data source credentials must be reconfigured. The credentials used in Power BI Desktop do not transfer automatically.

Fix

In the Power BI service, navigate to the dataset settings. Under Data source credentials, select Edit credentials. Enter the SharePoint credentials (or use OAuth). Refresh the dataset. Verify the dashboard shows data.

Retest

Refresh the dataset. Verify all dashboard pages show data.

Stage Complete — What You Now Have

  • ✓8 troubleshooting scenarios
  • ✓Covers: missing reminders, duplicates, incorrect dates, Power BI discrepancies, missing mandatory training, flow errors, view filter problems, Power BI publishing
  • ✓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