web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : n75lriD7j3NoXiWPV+OBx2
Power Apps - Building Power Apps
Unanswered

Blocking Connectors in an Environment

Like (0) ShareShare
ReportReport
Posted on 21 Apr 2020 13:50:48 by 1,296

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

  • NPrice99 Profile Picture
    1,296 on 22 Apr 2020 at 10:01:06
    Re: Blocking Connectors in an Environment

    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

  • v-siky-msft Profile Picture
    on 22 Apr 2020 at 04:00:36
    Re: Blocking Connectors in an Environment

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2