Stage 12 of 17
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?
Identify the system
Is the problem in Power Apps (UI), Power Automate (flow), or SharePoint (data)? The symptom tells you where to start.
Gather evidence
Check the Power Automate run history. Check the SharePoint list record directly. Do not assume — look at the data.
Identify the root cause
What specifically caused the problem? A missing formula? An expired connection? A wrong field reference?
Apply the fix
Fix the root cause, not the symptom.
Retest
Repeat the original action. Verify the expected behaviour now occurs.
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
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.
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
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.
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
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.
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
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.
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
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.
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
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.
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
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.
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
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.
Need more help with the concepts?
Visit DosToDigital for guides, templates, and deeper explanations.