- The Write-Action Risk Shift: With Connector Write Actions GA in Copilot Chat and Cowork, custom agents no longer just read data—they can create ServiceNow tickets, update Salesforce records, send emails, and modify SharePoint lists.
- Environment Strategy: Lock down the Default Environment, enable Environment Routing for makers, and enforce Dev → Test → Prod Managed Environments for custom Copilot Studio agents.
- Power Platform DLP Policies: Classify connectors into Business, Non-Business, and Blocked buckets so a custom agent cannot read internal SharePoint data and POST it to an unapproved external webhook.
- Integrated Apps Control Plane: Restrict who can publish, share, and install declarative and custom agents inside the Microsoft 365 Admin Center.
Out-of-the-box Microsoft 365 Copilot is read-heavy. Copilot Studio and SharePoint Agents change the risk profile completely: any business user with a maker license can build a custom agent grounded on internal SharePoint libraries and wire it to Power Platform connectors—including live Write Actions that mutate external SaaS systems or internal databases.
Without Power Platform and M365 Integrated Apps guardrails, "citizen-built" agents quickly become unmanaged shadow automation with broad data access. Chapter 8 gives you the complete governance architecture.
1. Auditing Power Platform Environments & DLP Policies with PowerShell
Use the Microsoft.PowerApps.Administration.PowerShell module to inventory all environments where makers can create Copilot Studio agents and verify DLP policy coverage:
# Install-Module -Name Microsoft.PowerApps.Administration.PowerShell -Scope CurrentUser
Add-PowerAppsAccount
Write-Host "=== 1. Power Platform Environments ===" -ForegroundColor Cyan
Get-AdminPowerAppEnvironment |
Select-Object DisplayName, EnvironmentName, EnvironmentType, Location,
@{N='IsDefault';E={$_.Internal.properties.isDefault}} |
Format-Table -AutoSize
Write-Host "=== 2. Power Platform DLP Policies (Connector Boundaries) ===" -ForegroundColor Cyan
Get-AdminDlpPolicy |
Select-Object DisplayName, PolicyName, DefaultConnectorClassification,
@{N='EnvType';E={$_.EnvironmentType}} |
Format-Table -AutoSize
2. Securing Connector Write Actions & Preventing Data Exfiltration
With Connector Write Actions GA in Copilot Chat and Cowork, enforce three non-negotiable Power Platform DLP rules:
- Block Cross-Boundary Data Mixing: Put Microsoft 365 connectors (
SharePoint,Office 365 Outlook,Teams,Dataverse,SAP,ServiceNow) in the Business group. PutHTTP,HTTP with Microsoft Entra ID,Custom Connectors,Gmail, andDropboxin Blocked inside the Default Environment. - Use Connector Action Control (Granular Read vs. Write): On high-risk connectors (like
SharePoint,SQL Server, orServiceNow), use Power Platform DLP Connector Action Control to explicitly allowGet/Listread actions while blocking destructiveDeleteorCreate/Updateactions in non-production environments. - Mandate Human-in-the-Loop Confirmation: Require explicit user confirmation prompts before any agent executes a Write Action on a user's behalf.
3. Controlling SharePoint Agents & M365 Integrated Apps
In Microsoft 365 Admin Center → Copilot → Agents & Connectors (and Settings → Integrated apps):
- Restrict Org-Wide Publishing: Require Admin Approval before any custom Copilot Studio agent can be published to the tenant catalog.
- Control SharePoint Agents (
.agentfiles): Remember that any user with Edit permission on a SharePoint site can click Create a Copilot agent on a document library. Because SharePoint Agents consume Pay-As-You-Go (PAYG) messages for unlicensed users (covered in Chapter 10), govern who can create them via SharePoint site permissions and Monitor usage in the Agent 365 dashboard.
4. Chapter 8 Lab Checklist
- [ ] Audit all Power Platform environments and verify a strict DLP policy covers the Default Environment.
- [ ] Block "No authentication" and "Share without authentication" in Copilot Studio tenant governance settings.
- [ ] Configure Connector Action Control to restrict destructive Write Actions in dev/default environments.
- [ ] Require Admin Approval for publishing custom agents in M365 Admin Center → Integrated Apps.
💬 Reader Comments & Feedback
Did this runbook help, or did Microsoft change a cmdlet or UI menu? Share your feedback below.
Leave a Comment or Report an Update