Hi
Do we have an ETA when you will be able to Block a connector being used ?
At the moment you need to have 2 connectors for DLP to be enforced.
One connector in the Allowed Group and One Connector in the Disallowed Group.
There is no way, currently, to prevent a connector being used if there is only one connector in a PowerApp.
Thanks
Nigel
Hi @v-siky-msft
I tried your suggestion and got "BadRequest" error
I raised a query in this "Building Power Apps" Forum. -> https://powerusers.microsoft.com/t5/Building-Power-Apps/Set-AdminDlpPolicy-Returns-Bad-Request/m-p/534100#M163910
The response was to raise a ticket with Microsoft.
Regards
Nigel
Hi @NigelP ,
This can be achieved by new PS cmdlet, It can block all "non-business" connectors in default production environment.
Set-AdminDlpPolicy -PolicyName <Guid> -SetNonBusinessDataGroupState “Block”
You can go to the admin center admin.powerplatform.com and edit the DLP policy you want to block connectors on then look in the URL and you will see the GUID, otherwise you can use PS to get a list of the policies and copy the GUID from there.
Reference: PowerShell support for Power Apps
Hope this helps.
Sik
WarrenBelz
791
Most Valuable Professional
MS.Ragavendar
410
Super User 2025 Season 2
mmbr1606
275
Super User 2025 Season 2