Solution Overview - OfficeDev/microsoft-teams-apps-requestateam GitHub Wiki
Request-a-team App is created using the Power Apps platform which leverages services such as Power Apps, Power Automate, Logic Apps and connectors such as SharePoint List, Office 365 Users, Office 365 Groups.
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.
- Once sign-in, Office 365 Group connector will fetch the list of all team members within a tenant.
The Request-a-team Power App is having two pages i.e. Home page, 'My requests' page and 'Approve requests' page. ('Approve requests' page is only visible to admins)
When the user logs in the app, after authentication the user will land on the home page.
In home page, the user can perform the following function:
- Create request for team creation
After navigating to 'My requests' page, the user can perform the following functions:
- View/edit/clone requests
- Delete requests
- Track status of submitted requests of last one year
Similarly, when the admin logs in the app, it will land on the home page, along with that can navigate to 'My requests' and 'Approve requests' page.
The admin can also perform the same functions as performed by user, along with that admin can approve or reject the team creation requests requested by users with specified reason.
Connectors
Request-a-team App uses the following connectors:
- SharePoint to save and read data from a SharePoint list
- Office 365 Groups to read group member list
- Office 365 Users to read user profile information
- Power Automate flow sends adaptive card to MS Teams and saving the response in the SharePoint list
- Logic App for team creation
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.