Mange Permission of Power Apps using PowerShell

Dhruvin Shah
Dhruvin Shah
1.9 هزار بار بازدید - 3 سال پیش - Welcome to one more Episode
Welcome to one more Episode of Power Apps with PowerShell. As an admin, it is a very tedious and time-consuming task to maintain Permission for each Power Apps available in the environment. Now, Admins can manage Power Apps Permissions using PowerShell. During this session, I will explain how one can manage Power Apps Permission with PowerShell. The commands used to achieve this are very simple and very easy.

First, we will connect our Power Apps with the Admin account. Once we set up the connection, we will execute one admin command which will assign permission (Set-AdminPowerAppRoleAssignment) and Role with PowerShell. If we want to remove permission for a specific users from Power Apps, we can achieve that with the help of one more PowerShell Command which is Remove-AdminPowerAppRoleAssignment.

During this video we will learn the following concepts:
Role Management in Power Apps with PowerShell
Manage Roles in Power Apsp
Remove User Permission in Power Apps
Add User Permission and Role in Power Apps

*******************************

Below is a list of PowerShell commands used for this video:
Add-PowerAppsAccount

Get-UsersOrGroupsFromGraph

Set-AdminPowerAppRoleAssignment -PrincipalType User -PrincipalObjectId ((GUID for User)) -RoleName CanView -AppName ((APP ID)) -EnvironmentName ((Environment ID))

Remove-AdminPowerAppRoleAssignment -RoleId ((Object ID)) -EnvironmentName ((Environment ID)) -AppName ((App ID))
*******************

Chapters:
00:00 Start
01:15 Open Windows PowerShell ISE
02:00 Add Power Apps Account
02:19 Change Power Apps User Permission
02:55 Syntex AdminPowerAppsRoleAssignment
04:05 Set Parameter for PowerShell Command
04:20 Get User Object ID using PowerShell
07:00 Execute Command
07:30 Check Outcome
08:51 Remove Admin PowerApp Syntex
10:10 Execute Command to Remove Admin Permission!
10:44 Summary
11:15 Subscribe!

References:

How to get started with PowerApps PowerShell
Get started with Power Apps PowerShel...

Set PowerApps Roles
https://docs.microsoft.com/en-us/powe...

Remove PowerApps Role
https://docs.microsoft.com/en-us/powe...


****
Follow me on Instagram:
Instagram: powerplatformguy

Looking for Consultancy? Connect Here!
https://powerplatformtrainings.com/co...

Follow me on all social Media Handles:
https://linktr.ee/dhruvin.shah
****

#PowerApps #PowerShell #PowerPlatform #PowerAppsPowerShell #PowerPlatformPowerShell #DigitalDhruvin #DhruvinShah #PowerAddicts #PowerAppsWithDhruvin #PowerAppsbeginner
3 سال پیش در تاریخ 1400/03/31 منتشر شده است.
1,912 بـار بازدید شده
... بیشتر