Copilot Studio promises you can build an agent in minutes. Simply go to copilotstudio.microsoft.com, click the Agent card, write some instructions, and send a test message. Yet, there's a good chance you'll get back an error message telling you that: "You need credits to continue. This environment is out of credits."

Power Platform has always had its own licensing model, but the new Copilot Studio ties into that platform in ways that aren't obvious, and documentation can be hard to locate at times. In setting up a clean environment for demos, I worked through four separate blocks, each with its own error message. It took a solid hour to straighten out. At one point, the "free" license said it required a $240-a-month subscription.

Microsoft says nearly 90% of the Fortune 500 are operating with agents built with low-code tools like Copilot Studio. Those companies have admins and licensing teams clearing the path before their agent makers get their hands on the tool. If you're an individual, a small business, or the person at your company tasked with figuring out AI agents, you'll be left to figure this out on your own. This article covers each block, what's actually causing it, and the fix.

Why the new Copilot Studio needs setup at all

Copilot Studio is built on Power Platform. Your agents live in Power Platform environments, store their data in the Dataverse, and run under Power Platform's billing plans and tenant settings. That's why almost every fix in this article happens in the Power Platform admin center. If you've administered Power Apps or Power Automate, much of this will look familiar. The new piece will be how Copilot Credits tie into it.

Agents built in the new experience run on the Microsoft Copilot harness, and everything on it is billed in Copilot Credits. Microsoft's documentation says usage-based billing applies to using, building, testing, and evaluating agents. The meter starts when you begin building, not when you publish.

So before you build anything, the credits have to come from somewhere. There are two choices:

  • A prepaid Copilot Studio plan at $240 a month on a monthly term, or $210 a month on an annual commitment.
  • Pay-as-you-go through an Azure subscription at a penny per credit, billed at the end of each month.

If you're learning, testing, or running a small pilot, pay-as-you-go is the right choice, because of its consumption-based plan. You only pay for what you use. Now the trick is getting it working.

Block one: "This environment is out of credits"

Copilot Studio puts you in your tenant's default environment without asking, and that's our first problem. The default environment has no credits assigned to it, and according to Microsoft's pay-as-you-go setup guide, only production and sandbox environments support pay-as-you-go. The default environment is neither, so no amount of billing setup will make it work.

The fix is a sandbox environment. Think of an environment as a workshop. The default one is the shared garage everyone wanders into. A sandbox is your own workshop, with its own electric meter.

To create one:

  1. In the Power Platform admin center, select Manage, then Environments, then New.
  2. Give it a name. I used "Contoso Demo."
  3. Set the type to Sandbox.
  4. Pick your region. If you plan to use computer use later, stay in the United States, since this feature is currently only available in U.S.-based environments.
  5. Turn on Add a Dataverse data store. Copilot Studio needs it, and it defaults to No.
  6. Turn on Pay-as-you-go with Azure.

Enabling Dataverse introduces a second panel. Leave language and currency as they are. The security group defines who can get into the environment. For a demo tenant, None is fine, but in a real organization, limit a sandbox to only the people building in it. Leave Dynamics 365 and the sample apps off.

Then scroll down to the Billing policy field, where you'll hit the second block.

Block two: "No billing policies available"

The billing policy dropdown is empty and grayed out, and Save stays disabled without it. The environment needs a billing plan, so you have to create that first.

You'll need an Azure subscription with a resource group in it, both of which you can create in the Azure portal. The resource group can be empty, since it only holds the billing record.

  1. In the Power Platform admin center, go to Licensing, then Billing plans, then New billing plan.
  2. Choose your Azure subscription and resource group.
  3. Pick the products the plan should cover.

Product selection is the step that can hang people up. Copilot Studio is the obvious pick, but the plan also needs Dataverse, because the environment can't exist without it. When you leave Dataverse off, the environment screen will show "No billing policies available," with a note that policies must be enabled before you can link them. Nothing on that screen tells you Dataverse is the missing piece.

After selecting both Copilot Studio and Dataverse, make sure the plan's region matches the environment's region, because the dropdown only shows plans for the region you picked. Then go back, create the environment, select your plan, and save.

With the new environment in place, run a quick test prompt against your agent to see if it returns answers. Saving the agent is the next challenge.

Block three: "User license not found"

Saving the agent returns this error: "You don't have permission to create agents. Ask your admin to grant you the right role. User license not found."

This is where Copilot Studio departs from how most people think about pay-as-you-go. The billing plan only pays for usage. On its own, it doesn't give anyone permission to build.

Microsoft's documentation says makers on pay-as-you-go need a Copilot Studio user license, which it lists as free. That license doesn't appear by default in the Microsoft 365 admin center. In the Marketplace, the Copilot Studio User License shows a price of free, with the Buy button grayed out.

The Prerequisites tab explains why: to buy the free license, you have to own a Microsoft Copilot Studio subscription, which is the $240-a-month plan. In practice, the free license actually costs $240 a month. There's also a one-month free trial of Copilot Studio that will temporarily unblock you, but only for 30 days. For anyone learning the platform, that just postpones the inevitable pain.

The $240 trap

In the Marketplace listing for Copilot Studio, nothing mentions pay-as-you-go, so it's worth doing the math before you buy. The plan is a capacity pack of 25,000 Copilot Credits a month, which at a penny a credit is $250 of pay-as-you-go usage. For agents serving a whole department, this plan could make sense. For learning, testing, or a small pilot, you'd be prepaying for credits you won't use.

If you do start the trial, check the checkout screen for auto-renewal first, and turn off anything you don't want rolling into a paid plan. Either way, don't buy a capacity pack until you know your usage.

Block four: the setting that fixes it

The real fix is a single tenant setting, and it isn't anywhere near the licensing screens.

  1. In the Power Platform admin center, go to Manage, then Tenant settings.
  2. Find Copilot Studio pay-as-you-go users. Its description reads "Control who can use pay-as-you-go billing to create items in Copilot Studio."
  3. In my tenant, it was set to Closed access, None, so nobody could build on pay-as-you-go. That's the real cause of "User license not found."
  4. Change it to Restricted access and pick a group that includes you.

One firm piece of advice on this screen: everyone in the group you pick can build agents that bill to your Azure subscription. For a real team, create an Azure security group with just your agent makers and select that group. Don't hand the company credit card to the whole company.

After saving, sign out of Copilot Studio, and sign back in. It may take a few minutes to propagate. You will then be able to save the agent normally, and the Evaluate and Monitor features, which had been grayed out, become available.

Your setup checklist

To summarize, here's the order to follow:

  1. Create an Azure subscription with a resource group.
  2. In the Power Platform admin center, create a billing plan that covers both Copilot Studio and Dataverse.
  3. Create a sandbox environment with Dataverse turned on, linked to that billing plan, in the same region.
  4. In Tenant settings, open "Copilot Studio pay-as-you-go users" to a group that includes you.
  5. Sign out and back in, switch to your new environment, and build.

If you take this approach, you won't be saddled with a $240-a-month license, and there's no 30-day trial clock to remember to cancel. Your only cost is what your agents use, at a penny per credit. While you're in the admin center, set a monthly limit for your agents so a runaway test doesn't surprise you when the bill arrives.

None of these blocks is hard on its own. What makes them painful is that each error doesn't guide you on what to fix, and the whole process isn't necessarily logical or what you'd expect based on what you know about Azure. With your environment working, you're ready to build a real agent, which is where the next article picks up.

Watch the video

Video coming soon.