Skip to main content

Build an Overtime Timesheet App in Power Apps — Part 16: Share the App and Add It to Microsoft Teams

· 27 min read
Jagdish Kumawat
Founder @ Dewiride

Until now, the Overtime Timesheet app and its flows were shared with a few people, one at a time, for testing. This part gives them to everyone they're for, through the app's security groups, and puts the app in Microsoft Teams: in the organization's app catalog, installed for the staff group.

This is Part 16 of a 21-part series.

  1. Part 1: Plan the App and Set Up the Demo Organization
  2. Part 2: Create the SharePoint Site and Lists
  3. Part 3: Keep Overtime Private with SharePoint Permissions
  4. Part 4: Create the Solution, Environment Variables and Canvas App
  5. Part 5: Build the Home Screen
  6. Part 6: Build the Log Overtime Screen
  7. Part 7: Build the My Overtime Screen
  8. Part 8: Build the Approval Flow for Teams and Outlook
  9. Part 9: Show Approvers What's Waiting
  10. Part 10: Build the Departments Screen
  11. Part 11: Build the Reports Screen
  12. Part 12: Import the Old Excel Timesheet
  13. Part 13: Create the Monthly Payroll Workbook with Office Scripts
  14. Part 14: Create the Payroll Workbook from the App
  15. Part 15: Build the Power BI Overtime Report
  16. Part 16: Share the App and Add It to Microsoft Teams (you are here)
  17. Part 17: Test Every Role and Department (coming soon)
  18. Part 18: Build a Setup Flow That Creates the Lists (coming soon)
  19. Part 19: Run the Solution Checker and Export the Solutions (coming soon)
  20. Part 20: Install the App in a New Environment (coming soon)
  21. Part 21: Recap, Production Checklist and Next Steps (coming soon)

Parts 9, 11 and 14 shared the app with three test people, Olivia, Daniel and Leo, and made them run-only users of the flows each screen calls. That proved the screens worked for an approver and for payroll. Now the app goes to the Overtime Timesheet Users group from Part 1, its three flows go to the groups that need them, and the test shares go. Then the app goes into Teams, where staff already work.

What You'll Build​

The result, as Aisha, a staff nurse, sees it in Teams:

The Overtime Timesheet app open in Teams for Aisha Khan, with its icon in the app bar, the green Overtime Timesheet header, Welcome, Aisha, Department: Emergency Department, and the Log overtime and My overtime buttons

How It Works​

The decisions behind it:

  • Groups, not people. The app and its flows are shared with security groups, so joiners and leavers are handled in the groups, as Part 1 planned.
  • Each flow goes to the group that runs it. Get Waiting Approvals and Get Overtime Report go to Overtime Timesheet Users, everyone who uses the app; each works out for itself what the person may see, as Parts 9 and 11 built them. Create Payroll Workbook Now goes to Overtime Payroll only.
  • One Teams app for everyone. Rather than each person adding the app to Teams from Power Apps, the Teams admin uploads it once to the organization's app catalog, installs it for Overtime Timesheet Users, and makes it available to that group only.
  • An approver's own overtime doesn't appear on their Waiting for approval screen. It goes to their manager, in Teams and Outlook, as Part 8 set up, and the screen from Part 9 shows only what the approver decides. That's by design.
  • What it costs. Nothing new: sharing, run-only access and Teams apps come with the Microsoft 365 licenses from Part 1.

Prerequisites​

  • Part 15 completed.
  • The Teams Administrator or Global Administrator role, for the Teams admin center steps. Microsoft's custom apps article lists the admin upload as available to Global or Teams administrators.

Step 1: Share the App with the Users Group​

At make.powerapps.com, select Apps, then Overtime Timesheet's More commands (⋮) > Share (How to Share a Canvas App with a Security Group in Power Apps). The dialog warns that this app contains data that may require additional permissions for users to be able to play the app:

The Share Overtime Timesheet dialog with the info bar This app contains data that may require additional permissions for users to be able to play the app. Review data access requirements, an Add a name, group, or email box with the access option next to it, and Manage access, Copy link and a greyed Share button

Type Overtime Timesheet Users and select the group:

The Share dialog with Overtime Timesheet Users typed and the group, OU Overtime Timesheet Users, suggested below

The access option, the eye icon, stays on User, which can use the app only. Co-owner would let the whole group edit it. Select Share:

The Share dialog with the Overtime Timesheet Users chip, Add more, the eye icon for User access, and the Share button now active

After about ten seconds, Power Apps confirms it, and reminds you that they won't be notified automatically:

You've shared Overtime Timesheet with OU, They won't be notified automatically. Copy and send them this link to let them know., and a Copy link button

Staff will get the app in Teams, so there's no link to send. Sharing the group twice isn't possible: typing it again gives Overtime Timesheet Users already has permission. To modify permissions, go to the Manage access page.

The Share dialog with Overtime Timesheet Users typed again and the message Overtime Timesheet Users already has permission. To modify permissions, go to the Manage access page.

Step 2: Remove the Test Shares​

Select Manage access. People + groups · 5 lists the owner, the three test people and the new group:

The Manage access dialog on People + groups · 5: Admin User as Owner, and Daniel Brooks, Leo Martin, Olivia Bennett and Overtime Timesheet Users each with a User drop-down

All three are in Overtime Timesheet Users, so their own shares can go. For one person, the drop-down next to them has Remove access (How to Stop Sharing a Canvas App with Someone in Power Apps). For three, tick their rows, open Assign access above the list and select Remove access: All Access and ability to use the app will be removed.

The Assign access menu open above the list with 3 selected, offering User, Co-owner and Remove access, All Access and ability to use the app will be removed., with Leo Martin and Olivia Bennett ticked below

The three rows now say Remove access, each with an undo arrow. Select Apply:

Daniel Brooks, Leo Martin and Olivia Bennett ticked with Remove access in their drop-downs and undo arrows, Overtime Timesheet Users still on User, and the Apply button active

Access updated. The app is shared with the owner and the group, nobody else:

The Manage access dialog with a green Access updated. bar and People + groups · 2: Admin User as Owner and Overtime Timesheet Users as User

The Additional data access tab lists what the app uses: the flows Get Waiting Approvals, Get Overtime Report and Create Payroll Workbook Now, the connectors Office 365 Users and Office 365 Groups, and the lists Departments, OvertimeEntries and Settings. Part 3 gave the group its access to the lists, and the next step gives it the flows:

The Additional data access tab: This app contains the following resources. Ensure that your recipients can connect to these services or they may have issues playing the app., starting with Get Waiting Approvals, Logic flows, and Office 365 Users

Step 3: Make the Groups the Flows' Run-Only Users​

Each flow is in the Overtime Timesheet solution. Open its details page, select Edit on the Run-only user card, add the group, remove the test people, and Save (How to Share a Flow with Run-Only Users in Power Automate, How to Remove a Run-Only User from a Flow in Power Automate).

Get Waiting Approvals had Olivia and Daniel:

The Run-only user card of Get Waiting Approvals with the initials OB and DB

The Manage run-only permissions panel lists them under Currently shared with, and Connections Used shows the choices from Part 9: Office 365 Users Provided by run-only user, so the flow knows who's asking, and SharePoint on the owner's connection:

The Manage run-only permissions panel with Olivia Bennett and Daniel Brooks, and Connections Used with Office 365 Users on Provided by run-only user and SharePoint on Use this connection (admin@example.com)

Type Overtime Timesheet Users in Enter names or email addresses and select the group. It's added above Currently shared with:

The panel with Overtime Timesheet Users added above Currently shared with, and Olivia Bennett and Daniel Brooks still below

Select the trash can next to Olivia and next to Daniel. Their rows turn grey with a +. Connections Used stays as it was. Select Save:

The panel with Overtime Timesheet Users added, Olivia Bennett and Daniel Brooks greyed out with plus signs, Connections Used unchanged, and the Save button active

The card now shows the group:

The Run-only user card with OU Overtime Timesheet Users

Get Overtime Report had Olivia, Daniel and Leo. It gets the same group, with its Connections Used from Part 11 unchanged: Office 365 Users provided by the run-only user, SharePoint and Office 365 Groups on the owner's connections:

The Run-only user card of Get Overtime Report with OU Overtime Timesheet Users

Create Payroll Workbook Now had Leo, and gets Overtime Payroll instead. Its panel has no SharePoint tab and no Connections Used, because the flow itself has no connectors: it calls the child flow from Part 13, which does the work with its own connections:

The run-only panel of Create Payroll Workbook Now with Overtime Payroll added and Leo Martin greyed out under Currently shared with, and no Connections Used section

The Run-only user card of Create Payroll Workbook Now with OP Overtime Payroll

With their own shares gone, the app kept working for the approvers and for payroll, through the groups alone. Part 17 tests every role in turn.

Step 4: Download the App's Teams Package​

Back in Apps, select Overtime Timesheet's More commands (⋮), point to Share and select Add to Teams:

The Overtime Timesheet row's More commands menu with the Share submenu open, showing Share and Add to Teams

The Add to Teams panel shows the app's name and its description from Part 4. App details can't be changed in Teams once added:

The Add to Teams panel: Review app details, App details can't be changed in Teams once added., Overtime Timesheet, the Description Log your overtime and see your totals. Approvers see what's waiting for them, and payroll gets each month's totals., Edit details and Advanced settings

Advanced settings holds the optional developer details. I left them empty, so the package names PowerApps as the developer:

The panel with Advanced settings open: Developer information (optional) with Name, Website, Terms of Use and Privacy Policy, Add a partner ID (optional) with MPN ID, all empty, and the Add to Teams and Download app buttons

Add to Teams would add the app to my own Teams only (How to Add a Canvas App to Microsoft Teams from Power Apps). For the organization's catalog, select Download app (How to Download a Canvas App as a Teams App Package in Power Apps). The browser saves Overtime Timesheet.zip, and the panel suggests uploading it or sending it to the Teams admin:

The panel after Download app: Uploading your app to Teams, Go to your Apps page in Teams where you'll find an option to Upload a custom app, and Otherwise, if you're unable to upload a custom app yourself, send the .zip file to your Teams admin.

Step 5: Update the Package's Manifest​

As Power Apps makes it, the package won't upload to the Teams admin center: the upload stops with Update your manifest to include supportsChannelFeatures=tier1 to enable support for your app across all channel types (Fixed: "Update Your Manifest to Include supportsChannelFeatures=tier1" When Uploading a Teams App). The package's manifest.json uses manifest version 1.8, and the property exists only from version 1.25. Moving it to 1.30, the newest version, takes five changes:

WhatIn the packageChange it to
$schemaThe 1.8 schema addressThe 1.30 schema address
manifestVersion1.81.30
packageNamecom.microsoft.powerapps. and the app's IDRemoved: 1.30 doesn't allow it
The tab's scopesteam, groupchatteam, groupChat, as 1.30 spells it
supportsChannelFeaturesNot theretier1

In the folder with the .zip, unzip it into a folder of its own. On a Mac, jq, which edits JSON, comes with macOS; on Windows, use PowerShell 7:

Terminal
mkdir "Overtime Timesheet"
cd "Overtime Timesheet"
unzip "../Overtime Timesheet.zip"
Output
Archive: ../Overtime Timesheet.zip
inflating: manifest.json
inflating: color.png
inflating: outline.png

Make the five changes. Each line of the jq filter, or of the PowerShell commands, is one row of the table:

A Terminal window with the jq command that sets $schema to the v1.30 schema, manifestVersion to 1.30, deletes packageName, sets the tab scopes to team and groupChat, and adds supportsChannelFeatures tier1, writing manifest.edited.json, then mv putting it in place of manifest.json

Terminal
jq '."$schema" = "https://developer.microsoft.com/json-schemas/teams/v1.30/MicrosoftTeams.schema.json"
| .manifestVersion = "1.30"
| del(.packageName)
| .configurableTabs[0].scopes = ["team", "groupChat"]
| .supportsChannelFeatures = "tier1"' manifest.json > manifest.edited.json
mv manifest.edited.json manifest.json

Then zip the three files, so they sit at the top of the new .zip:

Terminal
zip "../Overtime Timesheet 1.30.zip" manifest.json color.png outline.png
Output
adding: manifest.json (deflated 61%)
adding: color.png (deflated 14%)
adding: outline.png (deflated 13%)

How to Edit the Manifest in a Teams App Package explains each of these commands. Microsoft's article on channel features asks you to test the app across channel types after adding tier1; this app is used as a personal app, which is what I tested.

Step 6: Upload It to the Teams Admin Center​

At admin.teams.microsoft.com, go to Teams apps > Manage apps > Actions > Upload new app, select Upload and choose Overtime Timesheet 1.30.zip (How to Upload a Custom App in the Teams Admin Center). New app added: select this link to open the app's page. Under Users and groups, it was Installed for: No one and Available to: Everyone:

The Overtime Timesheet page in the Teams admin center: PowerApps, Published version 1.0.0, Installed for No one, Available to Everyone, the Users and groups tab selected, Installs chosen, Installed for no one, This app isn't installed for anyone., and the Install app button

About shows the details Teams took from the manifest. The short description ends …waiting for them, an: Teams' short description holds at most 80 characters, and Power Apps cut the app's 115-character description at 80. The full description is shown in full under it in Teams.

Step 7: Install It for the Group and Limit Who Can Use It​

Select Install app. In Edit installs, open Install to (How to Install a Teams App for Specific Users in the Teams Admin Center):

The Edit installs panel for Overtime Timesheet with the Install to list open: Everyone, Specific users or groups and No one, each with a description

Choose Specific users or groups, search for Overtime Timesheet Users, and select the group, 6 users | 0 groups:

The Edit installs panel with Specific users or groups chosen and Overtime Timesheet Users typed in the search box, suggesting OU Overtime Timesheet Users, 6 users, 0 groups

The Edit installs panel with Overtime Timesheet Users (6 users...) in the box, and Apply and Cancel at the bottom

Select Apply. The app is Installed for specific users or groups, here the group:

The app's page with Installed for 1 group and Available to Everyone, and Installs listing OU Overtime Timesheet Users, Group, Nov 21, 2026, Admin User

Available to was still Everyone, the default for custom apps here, so anyone in the organization, guests included, could add it from the Teams Store. In the box at the top, choose Availability:

The Availability view: Available to everyone, Everyone can install this app, including people in my organization, guests, and external users., and the Edit availability button

Select Edit availability, open Available to, and choose Specific users or groups: Only selected users and groups can install and use this app (How to Make a Teams App Available to Specific Users in the Teams Admin Center):

The Edit availability panel with the Available to list open: Everyone, Specific users or groups, Only selected users and groups can install and use this app., and No one

Add Overtime Timesheet Users and select Apply:

The Edit availability panel with Specific users or groups chosen and Overtime Timesheet Users (6 users | 0 groups) in the box

The Availability view: Specific users or groups can install, Only selected users and groups can install this app., listing OU Overtime Timesheet Users, Group

The app's header now reads Installed for: 1 group and Available to: 1 group:

The Overtime Timesheet header card: PowerApps, Published version 1.0.0, Installed for 1 group, Available to 1 group

Installs take time to reach Teams. Microsoft's app centric management article says it takes up to 24 hours for the availability changes to take effect, and in rare cases up to six days. I installed the app for the group at 13:08 UTC; at 14:37 UTC, it still wasn't in a member's Teams. Staff don't have to wait: the app was in the Teams Store within minutes.

Step 8: Open It in Teams as a Member of Staff​

Aisha Khan is a staff nurse in the Emergency Department, and a member of Overtime Timesheet Users. In Teams on the web, her first load ended at Oops, app failed to load!, and Retry loaded it (Fixed: "Oops, App Failed to Load!" in Teams on the Web). In the Store, the Home page lists the app under Built for your organisation (How to Find an App Built for Your Organization in Microsoft Teams):

The Teams Store's Built for your organisation section, Created and approved by your organisation's technology team, with the Overtime Timesheet card: Log your overtime and see your totals. Approvers see...

She selects it, then Add. The bold line is the cut short description, with the full one under it:

The Overtime Timesheet details in Teams: PowerApps, the Add button, 0 Installs in the last month, Works in Teams, Free to add and use, the short description ending waiting for them, an, the full description, and Capabilities in Teams: Personal app and Tab

Added successfully! She selects Open:

The Added successfully! dialog for Overtime Timesheet: How would you like to use this app today?, the Open button, and a search box to choose a channel, chat or meeting

The first time, Power Apps asks her to allow the app's connections, as it does in the browser (How to Open a Shared Canvas App for the First Time in Power Apps). Office 365 Users is marked Some actions connected through a Power Automate flow: the flows set to Provided by run-only user use her own connection to find out who she is. She selects Allow:

The Allow Overtime Timesheet to access your data? dialog in Teams, listing Office 365 Users with Some actions connected through a Power Automate flow, Get my profile (V2) and Get user photo metadata, SharePoint with Read records and Write records, and Office 365 Groups with List group members, each for aisha.khan@example.com, with Allow and Don't allow

The app opens on the Home screen from Part 5: Welcome, Aisha, Department: Emergency Department, and her two tiles, as in the picture at the top. To keep it one select away, she right-clicks its icon in the app bar and selects Pin (How to Pin an App to the App Bar in Microsoft Teams):

The app's right-click menu in the Teams app bar with About, Share app, Pin, Uninstall and Customise app bar

Pinned, the menu offers Move up and Unpin instead:

The right-click menu of the pinned app with About, Share app, Move up, Unpin, Uninstall and Customise app bar

Staff who also open make.powerapps.com, to find the app under Shared with me, are first asked for their country (How to Complete the Welcome to Power Apps Dialog).

Common Mistakes​

MistakeWhat happensDo this instead
Sharing the app but not the flowsThe screens that call flows fail for staffMake the groups run-only users of each flow
Giving the payroll flow to everyoneAnyone can create a payroll workbook from the app's flowOvertime Payroll only
Keeping the test people's own sharesThey keep access if they leave the groupRemove them once the group is shared
Uploading Power Apps' package as it isThe admin center refuses itUpdate the manifest first
Leaving availability on EveryoneAnyone, guests included, can add the appThe users group only
An app description over 80 charactersTeams cuts the short description mid-wordKeep the description within 80 characters

Troubleshooting​

SymptomLikely causeFix
Update your manifest to include supportsChannelFeatures=tier1Power Apps' package uses manifest 1.8Step 5
We can't get installs right now on InstallsNot documented; it happened to me right after an uploadFixed: "We Can't Get Installs Right Now" in the Teams Admin Center
The app isn't in staff members' Teams yetInstalls take up to 24 hoursStaff add it from the Store meanwhile
A screen fails for an approver after the changeThe flow's run-only users don't include the groupCheck the flow's Run-only user card
Teams shows Oops, app failed to load!Teams on the web's first load in a browserSelect Retry

FAQ​

Why not let each person add the app to Teams from Power Apps?​

They could, but each would have to find the app and add it themselves. With the catalog, the admin installs it for the whole group once, and decides who can use it.

No. They get it in Teams, from the install or from the Store.

What happens when someone joins the organization?​

Add them to Overtime Timesheet Users, and the app, the flows and the Teams app reach them through the group.

Does the Teams app change when I publish a new version of the app?​

The Teams app opens the published app from Power Apps, so publish your change and open it again in Teams. A new package is only needed to change what the package holds, such as the name or description.

Conclusion​

The Overtime Timesheet app is now in its staff's hands:

  • shared with Overtime Timesheet Users as User, with the three test shares removed;
  • Get Waiting Approvals and Get Overtime Report run by Overtime Timesheet Users, and Create Payroll Workbook Now by Overtime Payroll;
  • a Teams package updated to manifest 1.30 with supportsChannelFeatures, uploaded to the organization's app catalog;
  • installed for, and available only to, Overtime Timesheet Users, and opened in Teams by a member of staff.

Part 17 tests every role and department, with each persona, from end to end.

Additional Resources​

← Previous: Part 15: Build the Power BI Overtime Report Next → Part 17: Test Every Role and Department (coming soon)