Stage 7 of 17
Preparation is the work you do before you start building. In this stage you will verify your Microsoft 365 access, create the SharePoint site, create the Microsoft Lists data store, and enter the sample data. Completing this stage correctly means Stage 8 (Build) can focus entirely on the Power Apps canvas app.
Why Are We Doing This?
Before creating anything, verify that you have the access you need. Work through this checklist and resolve any issues before proceeding.
Microsoft 365 account with Power Apps access
Sign in to make.powerapps.com. If you see the Power Apps home screen, you have access. If you see a licensing error, you need a Power Apps licence.
Power Automate access
Sign in to make.powerautomate.com. If you see the Power Automate home screen, you have access.
SharePoint site creation permission
Navigate to your Microsoft 365 SharePoint home (sharepoint.com). Verify you can see the option to create a new site. If not, contact your Microsoft 365 administrator.
Microsoft Lists access
Navigate to lists.microsoft.com. Verify you can see the Microsoft Lists home screen.
Outlook access for testing
You will need two email accounts to test the approval flow: one for the employee and one for the manager. If you only have one account, you can use a personal email address as the manager email for testing purposes.
Potential Premium Licensing
The Leave Requests list will live on a SharePoint site. Create a dedicated site for this project rather than using an existing site — this makes permissions management cleaner.
Navigate to your SharePoint home page (sharepoint.com or via the Microsoft 365 app launcher).
Look for the option to create a new site. The exact location may vary — look for a "+ Create site" button or a "New" menu.
Select "Team site" (not Communication site). A team site gives you a document library and lists by default.
Site name: "Leave Request System". Site description: "DTOD-002 — Leave request application for Contoso Services Ltd."
Privacy settings: Private (only members you add can access). This is important for security (SEC-006).
Add yourself as the site owner. Do not add other members yet — permissions are configured in Stage 10.
Select Finish. Wait for the site to be created (usually 30–60 seconds).
Note the site URL. You will need it when creating the Power Automate flow. It will look like: https://[tenant].sharepoint.com/sites/LeaveRequestSystem
Create the Microsoft Lists data store using the column specification from Stage 6. Work through each column in order. Do not skip any column — the Power Apps app and the Power Automate flow both depend on the exact column names specified.
Common Mistake
On the SharePoint site, navigate to Site contents. Select "+ New" and choose "List".
Select "Blank list". Name: "Leave Requests". Description: "Leave request records for Contoso Services Ltd." Select Create.
The list is created with a single "Title" column. Select the column header and choose "Column settings" → "Rename". Change the display name to "Request Reference". Do not change the internal name.
Add the EmployeeName column: Select "+ Add column" → "Single line of text". Name: EmployeeName. Display name: Employee Name. Required: Yes. Select Save.
Add the EmployeeEmail column: Single line of text. Name: EmployeeEmail. Display name: Employee Email. Required: Yes. Select Save.
Add the ManagerName column: Single line of text. Name: ManagerName. Display name: Manager Name. Required: Yes. Select Save.
Add the ManagerEmail column: Single line of text. Name: ManagerEmail. Display name: Manager Email. Required: Yes. Select Save.
Add the LeaveType column: Choice. Name: LeaveType. Display name: Leave Type. Required: Yes. Choices: Annual Leave, Sick Leave, Other. Allow fill-in choices: OFF. Select Save.
Add the StartDate column: Date and Time. Name: StartDate. Display name: Start Date. Required: Yes. Date only (no time). Select Save.
Add the EndDate column: Date and Time. Name: EndDate. Display name: End Date. Required: Yes. Date only (no time). Select Save.
Add the WorkingDays column: Number. Name: WorkingDays. Display name: Working Days. Required: No. Default value: 0. Decimal places: 0. Select Save.
Add the EmployeeComments column: Multiple lines of text. Name: EmployeeComments. Display name: Employee Comments. Required: No. Plain text. Select Save.
Add the Status column: Choice. Name: Status. Display name: Status. Required: Yes. Choices: Draft, Submitted, Approved, Rejected, Cancelled. Default value: Draft. Allow fill-in choices: OFF. Select Save.
Add the SubmittedDate column: Date and Time. Name: SubmittedDate. Display name: Submitted Date. Required: No. Date and time. Select Save.
Add the DecisionDate column: Date and Time. Name: DecisionDate. Display name: Decision Date. Required: No. Date and time. Select Save.
Add the Approver column: Single line of text. Name: Approver. Display name: Approver. Required: No. Select Save.
Add the ApproverComments column: Multiple lines of text. Name: ApproverComments. Display name: Approver Comments. Required: No. Plain text. Select Save.
Verify the list has 17 columns (including Title/Request Reference, Created, and Modified). The Created and Modified columns are added automatically by SharePoint.
All 15 custom columns created with correct names
Open List settings and verify each column name matches the data dictionary exactly.
LeaveType and Status choice columns have correct values
Open each choice column and verify the choices match the specification. Verify fill-in choices is OFF for both.
Status column has default value of Draft
Open the Status column settings and verify the default value is set to Draft.
Date columns are set to Date only (not Date and Time) for StartDate and EndDate
StartDate and EndDate should show only the date, not the time. SubmittedDate and DecisionDate should show date and time.
Test record created and deleted
Create a test record manually to verify the form works. Check that all columns appear and accept the correct data types. Delete the test record when done.
Create the five views specified in Stage 6. Views are created from the list view menu (usually accessible from the view selector at the top of the list).
All Requests: All columns, sorted by SubmittedDate descending, no filter.
Pending Requests: Key columns, sorted by SubmittedDate ascending, filtered to Status = Submitted.
Approved Requests: Key columns, sorted by StartDate ascending, filtered to Status = Approved.
Requests by Employee: Key columns, sorted by SubmittedDate descending, grouped by EmployeeName.
Requests by Status: Key columns, sorted by SubmittedDate descending, grouped by Status.
Enter the 10 sample records from Stage 5. Enter them directly in the Microsoft Lists interface (not through the Power Apps app, which does not exist yet). Use the following manager assignments:
| Employee | Manager Name | Manager Email |
|---|---|---|
| James Okafor | Priya Sharma | priya.sharma@contoso.co.uk |
| Sophie Nguyen | Priya Sharma | priya.sharma@contoso.co.uk |
| Ravi Patel | Daniel Torres | daniel.torres@contoso.co.uk |
| Chloe Adeyemi | Daniel Torres | daniel.torres@contoso.co.uk |
| Marcus Webb | Rachel Okonkwo | rachel.okonkwo@contoso.co.uk |
| Aisha Patel | Rachel Okonkwo | rachel.okonkwo@contoso.co.uk |
Beginner Tip
SharePoint site created and URL noted
Leave Requests list created with all 15 custom columns
All column types, required settings, and choice values verified
Five list views created and verified
10 sample records entered
Test record created and deleted to verify the form
At least two records use your own email address as the employee email
Need more help with the concepts?
Visit DosToDigital for guides, templates, and deeper explanations.