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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PowerShell scripts to ...
Power Apps
Answered

PowerShell scripts to restrict Microsoft connectors to only a set of core O365 services, such ass O365 Users, Teams, SharePoint, Planner, Approvals...

(0) ShareShare
ReportReport
Posted on by 3,514

Is there any PowerShell scripts for Power Platform to restrict Microsoft connectors to only a set of core O365 services, such ass :-

 

- Teams,

- O365 Users

- SharePoint,

- Planner,

- Approvals,

- O365 Outlook,

- Excel, OneDrive for Business

- Word Online ?

 

without the ability to add other connectors?

Categories:
  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @johnjohn123 :

     

    You could create a DLP rule to the environment to set which connectors are available and which are not.

     

    I think this link will help you a lot:

    Data loss prevention policies 

     

    Best Regards,

    Bof

  • bwbrandi1989 Profile Picture
    12 on at

    DLP doesn't allow you to block Microsoft connectors. 

     

    So we cant restrict all users from using the default environment even with dlp policies as a workaround. Microsoft really needs to allow customers to decide if they want default environment enabled for maker role to employees. This model doesn't fit all organizations!

     

    This solution was helpful but disappointed we are still at a dead end with blocking all connectors for default environment

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard