There’s no single off switch to block access to Copilot Studio. For the new GitHub Copilot harness, you put agent work in a governed, non-default environment, lock that environment to a security group, and give Environment Maker only to approved makers.
In this tutorial, I’ll show you how to block or restrict access to Copilot Studio with five admin methods, why the pay-as-you-go authors setting doesn’t block anyone, and how to test the result. Every screen comes from our own Power Platform admin center.
Here’s the short version of the path I use:
1. Power Platform admin center > Manage > Environments > (governed environment) > Edit
Security group = your approved makers group
2. Give Environment Maker (or a custom role) only to approved makers
3. Copilot > Settings > Manage sharing and Agent access channels
4. Manage > Tenant settings > Environment assignments: Developer > Only specific admins
Steps 1 and 2 decide who can build agents. Steps 3 and 4 limit where finished agents go and stop people from creating their own environments.
Method 1: Restrict Copilot Studio With an Environment Security Group and Roles
This is the main control on Microsoft Learn’s authors-access page (updated 11/02/2026). Users can still open Copilot Studio, but they can’t build in an environment they can’t enter or don’t hold a maker role in.
Here’s how to set it up:
- Create or pick a non-default environment for governed agent work (Production or Sandbox).
- In the Power Platform admin center, go to Manage > Environments, open the environment, and select Edit on the Details card.
- Under Security group, pick a Microsoft Entra group that holds only approved makers, then save.
- Assign Environment Maker (or a custom role) only to people who build agents. Remove authoring roles from everyone else, including roles that come through group teams.
One catch: the default and developer environments can’t take a security group. I opened Edit details on our Live Training developer environment, and the panel said so plainly:

Details showed Security group as “Not assigned,” and the panel read “Can’t be assigned to this environment.” So keep real agent work out of those environments, and use solutions in Copilot Studio to move agents into the governed one.
Note: Learn says security-group membership doesn’t restrict every administrator account, so admins can still get in.
Method 2: Limit How Widely Agents Can Be Shared
Sharing limits don’t stop anyone from building, but they stop one maker from handing an agent to the whole company. They’re a Managed Environments feature, set under Copilot > Settings in the admin center:

Select Manage sharing, pick a Managed Environment, and select Edit setting. Here’s the form I opened on our Copilot environment (I canceled it without saving):

These are the four options and what each one changes:
- Let people grant Editor permissions when agents are shared: clear it and makers can’t add co-authors.
- Let people grant Viewer permissions when agents are shared: clear it and makers can’t share with viewers or security groups.
- Only share with individuals (no security groups): blocks sharing with a whole group.
- Limit the number of viewers who can access each agent: caps viewers per agent. It only works with the option above.
Our environment showed the banner “This environment is part of a group, and sharing is managed there,” so the boxes were read-only. In that case you change the rule on the environment group instead.
Important: limits apply only to agents that require authentication, take up to an hour to kick in, and don’t remove existing access. To pull access back, use the Remove access steps in our guide to share a Copilot Studio agent.
Method 3: Restrict Agent Access Channels
Agent access channels (Preview) controls where people can use agents published from Copilot Studio. It’s on the same Copilot > Settings page, and it opens a checkbox list per environment:

Our Copilot environment listed seven channels, all checked: Teams + Microsoft 365 Copilot, Facebook, Direct Line channels, Dynamics 365 for Customer Service, SharePoint, WhatsApp, and Microsoft Teams Phone.
I’d clear the external ones, like Facebook and WhatsApp, for an internal help desk agent. If your agents live in Teams and SharePoint channels, leave those two checked.
Next to it, Authentication for agents (Preview) restricts who can reach published agents. Sharing limits skip agents set to No authentication, so check both together.
Method 4: Stop Users From Creating Developer Environments
Method 1 falls apart if anyone can spin up a developer environment and build there. Go to Manage > Tenant settings:

Select Environment assignments: Developer. Ours was set to Everyone, which is the default:

Choose Only specific admins and save. After that, only Global admins, Dynamics 365 admins and Power Platform admins can create one. Then create a new agent in Copilot Studio only in the governed environment.
Two details from Learn: environments created before the change stay with their creators, and from 11/15/2026 new developer environments are managed only, one per user. This setting then decides who can create them.
Method 5: Block Self-Service Sign-Ups and Purchases
This closes the trial and self-service paths. I didn’t run these commands on our tenant, because they change sign-up and purchasing for everyone. They’re the documented commands, with one value corrected.
First, block email-based sign-ups with Microsoft Graph PowerShell:
Import-Module Microsoft.Graph.Identity.SignIns
Connect-MgGraph -Scopes "Policy.ReadWrite.Authorization"
$param = @{
allowedToSignUpEmailBasedSubscriptions = $false # $false = users can't sign up
allowEmailVerifiedUsersToJoinOrganization = $false
}
Update-MgPolicyAuthorizationPolicy -BodyParameter $param
Microsoft Learn’s sample sets allowedToSignUpEmailBasedSubscriptions to $true. The Graph authorizationPolicy reference says that property indicates whether users can sign up, so $true allows sign-ups. Use $false to block them.
Next, turn off self-service purchase for the Copilot Studio product with the MSCommerce module:
Install-Module -Name MSCommerce
Import-Module -Name MSCommerce
Connect-MSCommerce
# List every product and whether self-service purchase is on
Get-MSCommerceProductPolicies -PolicyId AllowSelfServicePurchase
# Turn it off for one product (copy the ProductId from the list)
Update-MSCommerceProductPolicy -PolicyId AllowSelfServicePurchase -ProductId <ProductId> -Value Disabled
The list returns ProductName, ProductId, PolicyId and PolicyValue (Enabled or Disabled) for each product. Then remove licenses people already grabbed: Microsoft 365 admin center > Billing > Licenses > product > select users > Unassign licenses.
Why Doesn’t the Copilot Studio Pay-As-You-Go Users Setting Block Access?
Most admins try this setting first. Open Copilot Studio pay-as-you-go users in Tenant settings, and the panel itself warns you:

The note reads “This setting doesn’t block access to Copilot Studio.” Our group, Copilot Users, only decides who can use pay-as-you-go billing to make things. It never removes access someone gets from a license or role.
For the standard harness, Learn says a user is blocked only when all three are true:
- They aren’t in the security group on this setting.
- They don’t have a Copilot Studio per-user or trial license.
- They don’t have a Microsoft 365 Copilot license that gives Copilot Studio access.
Even then, the GitHub Copilot harness doesn’t need an individually assigned Copilot Studio license to enter. That’s why Methods 1 and 4 matter more than license cleanup. For the license side, see our Microsoft 365 Copilot vs Copilot Studio comparison.
Which Method Should You Use?
Here’s how I’d pick, based on what you want to stop:
| Goal | Method | What it doesn’t block |
|---|---|---|
| Only approved makers build agents | 1: Environment security group + roles | Opening Copilot Studio; other environments |
| Agents don’t spread to everyone | 2: Sharing limits | Agents with No authentication; existing access |
| No agents on public channels | 3: Agent access channels | Building and testing |
| No private build environments | 4: Only specific admins | Environments created earlier |
| No trials or self-service licenses | 5: Sign-up and purchase blocks | Access from assigned licenses |
For most companies, I’d combine 1, 2 and 4. If a single agent is the problem, it’s faster to delete or disable the Copilot Studio agent.
How to Test the Block With a Non-Maker Account
Learn is clear that opening the authoring page doesn’t prove someone can save or publish. Sign in with a test account that isn’t an approved maker and has no admin role, then record each result on its own:
- Can the account open Copilot Studio at all?
- Can it start configuring an agent in the governed environment?
- Can it save a draft?
- Can it edit an existing agent, and can it publish?
Expect “yes” for the first one and “no” for the rest. If a save works, look for a role that comes through a group team. Then check manual authentication in Copilot Studio on agents you publish.
More admin and agent guides are on our Copilot Studio tutorials page.
I’d read these next if you manage Copilot Studio agents:
Frequently Asked Questions
How do I block access to Copilot Studio for all users?
There’s no single tenant switch. Lock agent work to a governed environment with a security group and maker roles, set developer environment creation to Only specific admins, and block self-service sign-ups and purchases.
Does the Copilot Studio authors security group block other users?
No. The Copilot Studio pay-as-you-go users setting only grants pay-as-you-go author access. The admin center panel says it doesn’t block access to Copilot Studio.
Can I assign a security group to the default or a developer environment?
No. Both refuse it. Our developer environment showed “Can’t be assigned to this environment,” so use a Production or Sandbox environment for governed agent work.
Does removing a Copilot Studio license block the GitHub Copilot harness?
No. You don’t need an individually assigned Copilot Studio license to enter that experience. Control building with environment access and security roles instead.
Where does Microsoft explain who keeps Copilot Studio access?
The troubleshooting article Copilot Studio access outside the authors security group lists each control, what it blocks, and how to test with a non-maker account.

Hey! I’m Bijay Kumar, founder of SPGuides.com and a Microsoft Business Applications MVP (Power Automate, Power Apps). I launched this site in 2020 because I truly enjoy working with SharePoint, Power Platform, and SharePoint Framework (SPFx), and wanted to share that passion through step-by-step tutorials, guides, and training videos. My mission is to help you learn these technologies so you can utilize SharePoint, enhance productivity, and potentially build business solutions along the way.