DTOD-004: Visitor Management
06 / 17

Solution Design

Stage 6 of 17

Stage 6 of 17

Solution Design

The solution design translates the requirements into a concrete technical architecture. It defines which tools will be used, how they connect, what each screen will contain, and how the automation flows will work. This is the blueprint for the Build stage.

Why Are We Doing This?

Designing before building prevents rework. A screen design that takes 30 minutes to draw can save 3 hours of rebuilding. The design stage is also where you make explicit decisions about technology choices — and document why you made them.

Solution Architecture

Microsoft Lists

Data store

The Visits list stores all visit records. It is the single source of truth for all visit data. All other components read from and write to this list.

Why: Microsoft Lists is already licensed, integrates natively with Power Apps and Power Automate, and provides the column types needed (Choice, Date and Time, Person or Group).

Power Apps (Canvas App)

User interface

A canvas app provides the user interface for hosts (pre-registration, cancellation) and reception (check-in, check-out, today's visitors). 7 screens.

Why: A canvas app gives full control over the layout and user experience. It can be deployed to tablets at reception desks and accessed by employees on any device.

Power Automate

Automation

Two flows: DToDLab004-HostArrivalNotification (triggered on check-in) and DToDLab004-ExpectedVisitorsSummary (scheduled daily at 08:00).

Why: Power Automate is already licensed and integrates natively with Microsoft Lists and Outlook/Teams. It handles the notification requirements without any custom code.

Microsoft Teams / Outlook

Notifications

Host arrival notifications are sent via email (Outlook). The daily expected visitors summary is sent to the reception team channel (Teams) or email.

Why: All Contoso Services employees use Outlook and Teams. No additional tools are needed for notifications.

Screen Designs

Home Screen

All users

Navigation hub. Provides quick access to the most common actions.

Controls

ButtonRegister Visitor button:Navigate(RegisterVisitorScreen, ScreenTransition.Fade)
ButtonMy Upcoming Visits button:Navigate(MyVisitsScreen, ScreenTransition.Fade)
ButtonToday's Visitors button (reception only):Navigate(TodaysVisitorsScreen, ScreenTransition.Fade); visible only if IsReception = true
ButtonOn Site Now button (reception/facilities):Navigate(OnSiteScreen, ScreenTransition.Fade); visible only if IsReception or IsFacilities = true

Register Visitor Screen

All employees (hosts)

Pre-register an expected visitor. Creates a new visit record with status Expected.

Controls

Text InputVisitor Name:Required. Max 100 chars.
Text InputVisitor Organisation:Optional. Max 100 chars.
DropdownVisitor Type:Required. Choices: Client, Contractor, Candidate, Auditor, Delivery, Other.
Text (auto-populated)Host:Auto-populated with User().FullName. Read-only.
Date PickerExpected Date:Required. Default: Today(). Cannot be in the past.
Text InputExpected Arrival Time:Required. Format HH:MM. Validated on submit.
Text InputPurpose:Required. Max 200 chars.
DropdownOffice:Required. Choices: London, Manchester, Bristol.
ButtonRegister button:Patch(Visits, Defaults(Visits), {VisitorName: VisitorNameInput.Text, Status: "Expected", HostName: User().FullName, HostEmail: User().Email, ...}); Navigate(HomeScreen)
ButtonCancel button:Navigate(HomeScreen, ScreenTransition.Back)

Today's Visitors Screen

Reception, Facilities, Administrators

Shows all visits expected today across all statuses. Reception's primary working view.

Controls

DropdownStatus filter dropdown:Choices: All, Expected, Arrived, Host Notified, Departed, Cancelled, No Show. Default: All.
Text InputSearch box:Filters gallery by visitor name or host name.
GalleryVisits gallery:Items: Filter(Visits, ExpectedDate = Today(), (StatusFilter.Selected.Value = "All" || Status = StatusFilter.Selected.Value), (VisitorName in SearchBox.Text || HostName in SearchBox.Text))
LabelGallery row — visitor name:ThisItem.VisitorName
LabelGallery row — host:ThisItem.HostName
LabelGallery row — expected time:ThisItem.ExpectedArrivalTime
LabelGallery row — status badge:ThisItem.Status; background colour driven by status (see colour map)
ButtonGallery row — Check In button:Visible: ThisItem.Status = "Expected". OnSelect: Patch(Visits, ThisItem, {Status: "Arrived", ActualArrival: Now()})

Expected Visitors Screen

Reception, Administrators

Shows all visits with status Expected (today and future). Used for planning.

Controls

Date PickerDate filter:Default: Today(). Filters gallery by ExpectedDate.
DropdownOffice filter:Choices: All, London, Manchester, Bristol.
GalleryExpected gallery:Items: Filter(Visits, Status = "Expected", ExpectedDate >= DateFilter.SelectedDate, (OfficeFilter.Selected.Value = "All" || Office = OfficeFilter.Selected.Value))

On Site Now Screen

Reception, Facilities, Administrators

Real-time view of all visitors currently on site (status = Arrived or Host Notified). Used for emergency evacuation.

Controls

GalleryOn-site gallery:Items: Filter(Visits, Status in ["Arrived", "Host Notified"])
LabelGallery row — visitor name:ThisItem.VisitorName
LabelGallery row — host:ThisItem.HostName
LabelGallery row — arrival time:Text(ThisItem.ActualArrival, "HH:MM")
ButtonGallery row — Check Out button:OnSelect: Patch(Visits, ThisItem, {Status: "Departed", ActualDeparture: Now()})

Visitor Details Screen

Reception, Administrators

Full details of a single visit record. Accessed by selecting a visit from any gallery.

Controls

LabelsAll visit fields:Display all 14 fields from the selected visit record.
ButtonCheck In button:Visible: SelectedVisit.Status = "Expected". Patch(Visits, SelectedVisit, {Status: "Arrived", ActualArrival: Now()})
ButtonCheck Out button:Visible: SelectedVisit.Status in ["Arrived", "Host Notified"]. Patch(Visits, SelectedVisit, {Status: "Departed", ActualDeparture: Now()})
ButtonCancel Visit button:Visible: SelectedVisit.Status = "Expected" AND (SelectedVisit.HostEmail = User().Email OR IsAdmin). Patch(Visits, SelectedVisit, {Status: "Cancelled"})
ButtonMark No Show button:Visible: SelectedVisit.Status = "Expected" AND IsReception. Patch(Visits, SelectedVisit, {Status: "No Show"})

Reception Actions Screen

Reception, Administrators

Quick-action screen for walk-in visitors. Creates a new visit record and immediately checks in the visitor.

Controls

Text InputVisitor Name:Required.
Text InputVisitor Organisation:Optional.
DropdownVisitor Type:Required.
Text InputHost Name:Required. Free text (not a Person picker — walk-ins may be visiting someone not in the system).
Text InputHost Email:Required. Used for the arrival notification.
Text InputPurpose:Required.
ButtonCheck In Now button:Patch(Visits, Defaults(Visits), {VisitorName: ..., Status: "Arrived", ActualArrival: Now(), ExpectedDate: Today(), ...}); Navigate(OnSiteScreen)

Status Colour Map

Expected

#DBEAFE / #1E40AF

Arrived

#DCFCE7 / #166534

Host Notified

#F3E8FF / #6B21A8

Departed

#F3F4F6 / #374151

Cancelled

#FEE2E2 / #991B1B

No Show

#FEF3C7 / #92400E

Flow Designs

DToDLab004-HostArrivalNotification

Trigger: When an item is modified in the Visits list (SharePoint)

1

Get item — retrieve the full visit record from the Visits list.

2

Condition — check that Status = "Arrived" (guard against other modifications triggering the flow).

3

Send an email (V2) — To: HostEmail. Subject: "Your visitor [VisitorName] has arrived". Body: visitor name, organisation, expected time, actual arrival time, link to visit record.

4

Update item — set Status to "Host Notified" in the Visits list.

5

Scope (failure handling) — if any action fails, send an email to the reception team alerting them that the notification failed and they should contact the host manually.

DToDLab004-ExpectedVisitorsSummary

Trigger: Recurrence — every day at 08:00

1

Get items — retrieve all visits from the Visits list where ExpectedDate = Today() and Status = "Expected".

2

Condition — check if the count of items is greater than 0.

3

Yes branch: Create HTML table from the items (visitor name, organisation, host, expected time, office). Send email to reception team with the table. Subject: "Expected visitors today — [date]".

4

No branch: Send email to reception team: "No visitors are expected today."

Permission Groups

Employees

Contribute

All Contoso Services employees

Can do

Pre-register visits, view own visits, cancel own visits

Cannot do

View other employees' visits, check in/out, access reception views

Reception

Edit

Reception staff at all three offices

Can do

All employee actions + check in/out, view all visits, mark no-show

Cannot do

Delete records, manage permissions

Facilities

Read

Facilities and security staff

Can do

View all visit records (read-only), view on-site list

Cannot do

Create, edit, or delete records

Administrators

Full Control

IT Manager, designated administrators

Can do

All actions including delete, manage permissions, manage retention

Cannot do

N/A

Stage Complete — What You Now Have

  • ✓4-component architecture: Microsoft Lists, Power Apps, Power Automate, Teams/Outlook
  • ✓7 screen designs with all controls and formulas
  • ✓Status colour map for all 6 statuses
  • ✓2 flow designs with all actions and failure handling
  • ✓4 permission groups with capabilities
NextPrepare

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