This solution allows admins to manage assignment of Security Roles, Column Secuirty Profiles, and Users to Azure AD synced teams via a Canvas App.
I have also included a Power Automate Cloud Flow to create AAD synced team for demo purposes
Solution | Author(s) |
---|---|
ManageSecurityRoles | Stuart Baxter - Business Applications MVP |
Version | Date | Comments |
---|---|---|
1.0.0.0 | July 22, 2023 | Initial release |
This sample illustrates the following concepts:
- assigning of security roles to Power Platform Teams by using relate/unrelate
- assigning of column secuirty profiles to Power Platform Teams by using relate/unrelate
- assigning of users to Azure AD groups using the Azure Ad connector for Canvas Apps
- A Dataverse user account with access to System Admin Security Role
- Permissions to create Azure AD Groups
The following solution components are used in this sample:
- Manage Power Platform Teams Canvas App (Canvas app)
- Add a new AAD group and associated Team (Cloud flow)
- AAD Group Admin (Environment variable)
- AAD Manage Security Roles (Connection reference)
- Dataverse Manage Security Roles (Connection reference)
- Manage Security Roles Component Library (Component library)
- Download the Unmanaged or Managed solution
.zip
from theSolutions
folder - Within https://make.powerapps.com, import the
.zip
file via Solutions > Import solution > Browse and select the.zip
file you just downloaded. - Click next.
- Click Import
- Run the Add a new AAD group and associated Team flow
- Open the Manage Power Platform Teams Canvas App
THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.