Stage 12 of 17

Stage 12 of 17

Troubleshooting

Eight troubleshooting scenarios for the Visitor Management system. Each scenario follows the structured approach: gather evidence before guessing, identify the root cause, apply the fix, and retest.

Why Are We Doing This?

Troubleshooting is a structured process, not guesswork. The scenarios in this stage are based on real issues that occur in Power Apps and Power Automate applications. Learning to diagnose them systematically — rather than randomly changing things until something works — is a professional skill.

Troubleshooting Methodology

1

Identify the system

Is the problem in Power Apps (UI), Power Automate (flow), or SharePoint (data)? The symptom tells you where to start.

2

Gather evidence

Check the Power Automate run history. Check the SharePoint list record directly. Do not assume — look at the data.

3

Identify the root cause

What specifically caused the problem? A missing formula? An expired connection? A wrong field reference?

4

Apply the fix

Fix the root cause, not the symptom.

5

Retest

Repeat the original action. Verify the expected behaviour now occurs.

Troubleshooting Scenarios

TS-001

Host arrival notification not received

How It Was Reported

"Sandra checked in a visitor for Sophie Clarke at 10:42. It is now 11:05 and Sophie has not received a notification."

Expected

Sophie receives an email notification within 2 minutes of check-in.

Actual

No email received after 23 minutes.

Evidence to Gather

  1. 1.Open Power Automate → My flows → DToDLab004-HostArrivalNotification.
  2. 2.Check the run history. Is there a run at approximately 10:42?
  3. 3.If yes: expand the run. Which action failed?
  4. 4.If no: the flow did not trigger. Check whether the flow is turned on.
  5. 5.Check the Visits list. What is the current Status of the visit?

Likely Cause

The flow is turned off, or the SharePoint connection has expired. If the run exists but failed: the HostEmail field is blank or contains an invalid email address.

Fix

Check the flow is turned on (green toggle in Power Automate). Check the SharePoint and Outlook connections — reconnect if expired. Verify the HostEmail field in the visit record contains a valid email address.

Retest

Check in a new test visitor with your own email as the host. Verify the notification is received within 2 minutes.

TS-002

Status remains "Arrived" after notification is sent

How It Was Reported

"The notification email was received by the host. But the visit record still shows status "Arrived" instead of "Host Notified"."

Expected

Status changes to "Host Notified" automatically after the notification is sent.

Actual

Status remains "Arrived".

Evidence to Gather

  1. 1.Open Power Automate → DToDLab004-HostArrivalNotification.
  2. 2.Find the run for this visit. Expand it.
  3. 3.Check the "Update item" action (step 5). Did it succeed or fail?

Likely Cause

The Update item action failed. Possible causes: the SharePoint connection expired between the Send email and Update item actions, or the item ID is incorrect.

Fix

Check the Update item action in the flow. Verify the ID field references the ID from the trigger (not a hardcoded value). Reconnect the SharePoint connection if expired.

Retest

Check in a test visitor. Verify the status changes to "Host Notified" within 2 minutes.

TS-003

Walk-in visitor not appearing in On Site Now

How It Was Reported

"Sandra used the Reception Actions screen to check in a walk-in visitor. The visitor does not appear in On Site Now."

Expected

Walk-in visitor appears in On Site Now immediately after check-in.

Actual

On Site Now is empty or does not show the walk-in visitor.

Evidence to Gather

  1. 1.Navigate to the Visits list in SharePoint. Is the walk-in record there?
  2. 2.If yes: check the Status field. Is it "Arrived"?
  3. 3.If yes: navigate to On Site Now in the app. Select the OnVisible property of OnSiteScreen. Is Refresh(Visits) present?

Likely Cause

The OnSiteScreen is not refreshing the data on load. The walk-in record exists in the list but the gallery is showing cached data.

Fix

Select OnSiteScreen in the app editor. Check the OnVisible property. Add Refresh(Visits) if it is missing. Save and republish.

Retest

Check in a walk-in visitor. Navigate to On Site Now. Verify the visitor appears immediately.

TS-004

Daily expected visitors summary not received

How It Was Reported

"It is 09:15. The reception team has not received the expected visitors summary email."

Expected

Reception receives the summary email at 08:00 every weekday.

Actual

No email received.

Evidence to Gather

  1. 1.Open Power Automate → DToDLab004-ExpectedVisitorsSummary.
  2. 2.Check the run history. Did the flow run at 08:00 today?
  3. 3.If yes: did it succeed? If it succeeded but no email was received, check the "No visitors" branch — the flow may have sent the "no visitors today" email instead.
  4. 4.If no: check the recurrence trigger timezone setting.

Likely Cause

Two possible causes: (1) The recurrence trigger timezone is set to UTC, causing the flow to run at 08:00 UTC (09:00 BST in summer). (2) No Expected visits exist for today, so the flow sent the "no visitors" email to a different address.

Fix

Check the recurrence trigger timezone. Set it to "(UTC+00:00) Dublin, Edinburgh, Lisbon, London". Verify the email address in both branches of the condition.

Retest

Manually trigger the flow using the Test button. Verify the email is received with the correct content.

TS-005

Employee can see all visits in My Upcoming Visits (not just their own)

How It Was Reported

"Ravi Sharma can see visits registered by Sophie Clarke in his My Upcoming Visits screen."

Expected

My Upcoming Visits shows only visits where the current user is the host.

Actual

My Upcoming Visits shows all visits.

Evidence to Gather

  1. 1.Open the Power Apps app in edit mode.
  2. 2.Select MyVisitsScreen.
  3. 3.Select the gallery.
  4. 4.Check the Items formula.

Likely Cause

The Items formula on MyVisitsGallery is missing the HostEmail filter, or the filter condition is incorrect. The gallery is showing all visits instead of filtering by the current user.

Fix

Check the Items formula. It must include: HostEmail = User().Email. Correct formula: Filter(Visits, HostEmail = User().Email, Status.Value in ["Expected", "Arrived", "Host Notified"], ExpectedDate >= Today())

Retest

Log in as Employee A. Verify only Employee A's visits are shown. Log in as Employee B. Verify only Employee B's visits are shown.

TS-006

Check In button visible to employees (not just reception)

How It Was Reported

"Tom Reeves (Head of Operations, not reception) can see the Check In button on Today's Visitors."

Expected

The Check In button is only visible to reception staff and administrators.

Actual

The Check In button is visible to all users.

Evidence to Gather

  1. 1.Open the Power Apps app in edit mode.
  2. 2.Select TodaysVisitorsScreen.
  3. 3.Select the Check In button inside the gallery.
  4. 4.Check the Visible property.

Likely Cause

The Visible property of the Check In button is set to true (or is missing a condition). The IsReception variable may not be set correctly in the App OnStart property.

Fix

Check the Visible property of the Check In button. It should be: IsReception || IsAdmin. Check the App OnStart property — verify IsReception is set based on the current user's group membership.

Retest

Log in as an employee (not reception). Navigate to Today's Visitors. Verify the Check In button is not visible.

TS-007

Visit record not created after selecting Register Visitor

How It Was Reported

"Sophie registered a visitor. The app showed a success notification. But the visit does not appear in Today's Visitors or in the Visits list."

Expected

A new visit record is created in the Visits list immediately after registration.

Actual

No record created.

Evidence to Gather

  1. 1.Navigate to the Visits list in SharePoint. Is the record there?
  2. 2.If no: open the Power Apps app in edit mode. Select RegisterVisitorScreen. Select the Register Visitor button. Check the OnSelect formula.
  3. 3.Is the Patch() formula correct? Does it reference the Visits data source?
  4. 4.Check the data source connection — is the Visits list still connected?

Likely Cause

The Patch() formula has an error (check for red underlines in the formula bar). Or the data source connection has been lost (the Visits list was renamed or moved).

Fix

Open the app in edit mode. Check the Patch() formula for errors. Verify the data source is connected: Data panel → check Visits is listed and shows no error. If the list was renamed, remove and re-add the data source.

Retest

Register a test visitor. Verify the record appears in the Visits list and in Today's Visitors.

TS-008

On Site Now shows departed visitors

How It Was Reported

"Marcus Webb reports that On Site Now is showing visitors who have already been checked out."

Expected

On Site Now shows only visitors with status Arrived or Host Notified.

Actual

On Site Now shows visitors with status Departed.

Evidence to Gather

  1. 1.Open the Power Apps app in edit mode.
  2. 2.Select OnSiteScreen.
  3. 3.Select the OnSiteGallery.
  4. 4.Check the Items formula.

Likely Cause

The Items formula is not filtering by status correctly. The filter may be using = instead of in, or the status values may be misspelled.

Fix

Check the Items formula. Correct formula: Filter(Visits, Status.Value in ["Arrived", "Host Notified"]). Verify the status values match exactly (case-sensitive).

Retest

Check out a visitor. Verify they no longer appear in On Site Now.

Stage Complete — What You Now Have

  • ✓5-step troubleshooting methodology
  • ✓8 scenarios: notification failure, status not updating, walk-in not appearing, daily summary, data isolation, permission visibility, record not created, on-site filter
  • ✓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