Forum Discussion
Prevent Users from Creating Personal Gateways ...
- 6 years ago
Hi there
Yes you can restrict this by going into the Power Platform Admin Center
https://admin.powerplatform.microsoft.com/ext/DataGateways
Then clicking on Data Gateways
Then at the top click on Manage gateway installers
Then on the right hand side you can toggle on the "Restrict users in your organization from installing gateways" add the users who you want to install and you are done
- Anonymous6 years ago
Thanks so much that worked ... GilbertQ
The new proper solution is to use the DataGateway PowerShell module and restrict Personal Gateway installation using the cmdlets:
Disable Personal Gateways for all users and only allow specific users
Set-DataGatewayTenantPolicy (DataGateway) | Microsoft Docs
Set-DataGatewayTenantPolicy -PersonalGatewayInstallPolicy Restricted
Enable specific users as installers for personal gateways (install Azure AD cmdlets)
Set-DataGatewayInstaller (DataGateway) | Microsoft Docs
$user1 = $(Get-AzADUser -ObjectId "[email protected] ").Id
$user2 = $(Get-AzADUser -ObjectId "[email protected] ").Id
Set-DataGatewayInstaller -PrincipalObjectIds $user1,$user2 -Operation Add -GatewayType Personal