Microsoft365DSC
Microsoft365DSC copied to clipboard
[PPDataGatewayInstallationPolicy] New resource
Description
In the Power Platform Admin Center, you can limit the people who are able to install Data Gateways: Power Platform Admin Center> Data (Preview) >Manage gateway installers > Restrict users in your organization from installing gateways
Proposed properties
IsSingleInstance - Boolean LimitDataGateInstallation - Boolean
Special considerations or limitations
Cmdlets: Set-DataGatewayTenantPolicy: https://docs.microsoft.com/en-us/powershell/module/datagateway/set-datagatewaytenantpolicy Get-DataGatewayTenantPolicy: https://docs.microsoft.com/en-us/powershell/module/datagateway/get-datagatewaytenantpolicy
Note: These cmdlets require PowerShell v7!
The UI allows the configuration of users who are able to install data gateways, but there is no PowerShell cmdlets to do this.
Set-DataGatewayTenantPolicy -ResourceGatewayInstallPolicy Open
Get-DataGatewayTenantPolicy -Scope Organization
TenantObjectId Policy
-------------- ------
abc9f896-233a-4369-bce8-99b13812345 None
Set-DataGatewayTenantPolicy -ResourceGatewayInstallPolicy Restricted
Get-DataGatewayTenantPolicy -Scope Organization
TenantObjectId Policy
-------------- ------
abc9f896-233a-4369-bce8-99b13812345 EnterpriseInstallRestricted
This would require some changes on the MSCloudLoginAssistant front as well since this uses a separate PowerShell module to authenticate. https://www.powershellgallery.com/packages/DataGateway/3000.76.18
Just to add some more details: The Data Gateway Package requires PS 7.0.0 and it looks like to be not maintained (Last Release April 2021)