Solution overview - OfficeDev/microsoft-teams-apps-staffcheckins GitHub Wiki

Staff Check-ins app is created using the Power Apps platform which leverages services such as Power Apps, Power Automate, and connectors such as SharePoint List, Office 365 Users, Office 365 groups, Microsoft Teams, OneDrive and Bing Maps.

Power App

The app package contains the manifest JSON file, Power App configuration files which also include the .msapp file.

  • During the first time sign-in, the user will be asked to provide consent to access the SharePoint site as configured in-app, Office 365 Users, Office 365 Groups, Microsoft Teams, OneDrive and Bing Maps.

Connectors

Staff Check-ins app is using the following connectors:

  • SharePoint to save and read data from a SharePoint list.
  • Office 365 Users to read signed-in user's profile information.
  • Office 365 Groups to read O365 groups owned by the signed-in user.
  • Microsoft Teams to get a list of all team names that the signed-in user is a part of and to get the channelId of General channel of the selected team.
  • Power Automate Flows to send an adaptive card to Microsoft Teams and to connect Power App Gallery to SharePoint Lists.
  • OneDrive(using by Flow) to export selected data to the user's OneDrive.
  • Bing Maps provides user location information

There are two types of user roles for the underlying SharePoint site:

  • App Owners: App owners will create the SharePoint list and provide appropriate access to users.
  • App Members: All users who use the app will be app members and be able to perform read/write operations on the SharePoint lists.