Skip to content

Est. 2011ยทMicrosoft Partner ID 7033487ยทDelivery under 3 minยทSupport 7 days a week

Your vault is empty.

License Error CountViolation

CountViolation: licence assignment fails because the tenant has no free seats

10 min read Updated October 5, 2026 Microsoft 365 & Entra ID

Fix it now

CountViolation is one of the licence assignment failure values Microsoft publishes, and it is an inventory statement rather than a fault: there are no unassigned seats left of that product. Nothing you change on the user object alters that. Either a seat gets freed or one gets bought.

Run these in PowerShell with the Microsoft Graph module installed

Connect-MgGraph -Scopes LicenseAssignment.Read.All
Get-MgSubscribedSku | Select-Object SkuPartNumber, ConsumedUnits, PrepaidUnits
  1. Compare ConsumedUnits against the enabled figure inside PrepaidUnits for the SKU you are assigning. Equal numbers are the whole diagnosis.
  2. In the Microsoft 365 admin center the same answer is under Billing, Licenses – select the product and read assigned against available.
  3. For a group assignment, open Billing, Licenses, the product, then the Errors & issues tab, which lists the users whose assignment failed and why.
  4. Reclaim before you buy: look for licensed accounts with sign-in blocked, leavers whose mail is being kept, and service or shared mailbox accounts holding licences they never needed.
  5. Once seats are free, reprocess the group assignment rather than waiting for it to notice. Reprocessing handles a maximum of 20 users at a time.

Device enrolment failures with 0x80043006 or 0x80CF3006 are the same shortage seen from the device: Microsoft documents both as the maximum number of seats allowed for the account having been reached.

If the available count is non-zero and the assignment lands, you are done. If seats look available and it still fails, you are looking at a different violation and the next section says which.

Why it happens

Microsoft’s Graph documentation publishes the complete set of licence assignment failure values – CountViolation, MutuallyExclusiveViolation, DependencyViolation, ProhibitedInUsageLocationViolation, UniquenessViolation and Other – and the admin centre documentation maps them to five plain-language categories: insufficient licences, conflicting service plans, missing dependencies, proxy address issues and usage location problems. CountViolation is the first of those. It means the pool is empty, and no configuration change manufactures a seat.

Group-based licensing is what turns that into a confusing partial failure. A group applies a product to every member; if the pool runs dry part way through, some members get the licence and the rest sit in an error state. Nobody is told. Members added later fail the same way, silently, until somebody opens the product’s Errors & issues tab and looks.

Seats are consumed by assignment, not by use. A blocked account still holds its licence. So does a departed employee whose mailbox is being retained, a service account somebody licensed years ago, and a shared mailbox that was given a licence it never needed. In most tenants that reach this error, a meaningful share of the pool is held by accounts nobody signs into – which is why the reclaim pass is worth doing before the purchase conversation.

Every purchased seat is assigned

You have this one if ConsumedUnits equals the enabled prepaid units for that SKU, and the admin centre shows zero available.

  1. Decide between reclaiming and buying; there is no third option.
  2. If you buy, confirm you are buying the same product the group or user is being assigned, not a similar one.
  3. After the quantity changes, reprocess the group assignment rather than waiting.

Seats are held by accounts nobody uses

You have this one if The assigned count is noticeably higher than your actual headcount.

  1. List licensed accounts with sign-in blocked and review each one.
  2. For leavers whose mail must be retained, convert the mailbox to a shared mailbox and then remove the licence.
  3. Remove licences from service accounts and shared mailboxes that never needed them.

A shared mailbox does not need a licence in ordinary use, but it does if it needs an archive, a legal hold, or exceeds the size allowed for an unlicensed one. Check before converting.

A group assignment quietly consumed the pool

You have this one if Nobody assigned anything by hand, and the available count dropped anyway.

  1. Review membership of every group that carries a licence, including nested groups.
  2. Check dynamic membership rules for one that now matches more people than it did.
  3. Narrow the group scope, or buy seats to match what the rule genuinely covers.

The subscription quantity changed

You have this one if The count fell with no assignment activity, or a subscription shows as expired or in a grace period.

  1. Open Billing, Your products and check the quantity and status of the subscription.
  2. Establish whether a renewal reduced the seat count or a payment failure suspended part of it.
  3. Restore the quantity before troubleshooting anything downstream, because every other symptom follows from it.

You are assigning a product you do not own

You have this one if Seats are plainly available in the admin centre, but the assignment names a different product.

  1. Compare the SkuPartNumber the group assigns against what Get-MgSubscribedSku reports.
  2. Correct the group’s licence configuration to the product you actually hold.
  3. Watch for similarly named plans; several suites differ by one word and cover very different things.

Full reference

Confirming it really is a seat shortage

What you see What to check
The portal refuses the assignment outright Available seats for that exact product
Some group members licensed, others in error The pool ran out part way through the group
Device enrolment fails with 0x80043006 or 0x80CF3006 The documented seat maximum for the account has been reached
Seats appear available but assignment still fails A different violation: dependency, usage location or uniqueness
The available count fell overnight New members joined a licensed group
Assignment worked yesterday and not today A subscription quantity changed at renewal

Reading the numbers without guessing

Get-MgSubscribedSku returns the commercial subscriptions the organisation holds. SkuPartNumber is the commercial identifier for the plan, ConsumedUnits is how many licences are in use, and PrepaidUnits carries the purchased totals broken down by status. Reading those three together is faster and less ambiguous than the portal, particularly when several similar SKUs are present, and it is the form to use when you are scripting a check rather than answering one ticket.

Where the enrolment codes come in

Microsoft’s Intune enrolment troubleshooting documents 0x80043006 and 0x80CF3006 with a single meaning: the maximum number of seats allowed for the account has been reached, and the organisation must buy additional seats before more client computers can be enrolled. That is worth knowing because the device-side message says nothing about licensing, so a support call that starts on a laptop can end in the billing page. Separately, Microsoft documents a distinct enrolment failure where the user’s account has no licence, or the wrong licence type for the MDM authority – that one has no numeric code and the message tells the user their IT admin has not given them access to the app.

Freeing seats without losing data

  1. Identify the account and decide what has to survive: mail, files, or nothing.
  2. For mail that must be kept, convert the mailbox to a shared mailbox before removing the licence, not after.
  3. For files, move the content to a SharePoint library or reassign ownership before the licence goes.
  4. Remove the licence, then confirm the available count has actually risen.
  5. Record what you did, because the next person to look at that account will assume it was always like that.

Removing a licence starts a retention clock on the content behind it, and when that clock runs out the content goes. Decide what happens to a leaver’s mail and files before the licence is removed, not while you are trying to free a seat in a hurry.

Group licensing details that bite

  • Reprocessing a group’s licence assignment handles a maximum of 20 users at a time.
  • Assigning or modifying licences for a very large group can take a long time to process, and Microsoft says so explicitly.
  • The Errors & issues tab is per product, not per group, so a user failing on two products appears twice.
  • A direct assignment and a group assignment of the same product both consume seats until one is removed.

When a licence is the actual fix

This error is exactly what it appears to be. No configuration change manufactures a seat, and no policy lets one licence cover two people. If everyone currently holding a licence genuinely needs it, you need more seats of the same product. The check worth doing first is whether it is the right product: tenants routinely buy an expensive suite for people who only need a smaller plan, then find themselves short on the suite while paying for capability nobody uses. Tell Arco which product the error names and how many people are waiting, and we will confirm the right SKU and quantity before you commit – including telling you when reclaiming would have done the job for nothing.

Every code this article covers

Code What it points at Source
CountViolation One of the published licence assignment failure values; the tenant has no unassigned seats left of the product being assigned Microsoft Learn
0x80043006 Intune enrolment: the maximum number of seats allowed for the account has been reached, and more seats must be bought before further computers can enrol Microsoft Learn
0x80CF3006 Documented alongside 0x80043006 with the same meaning and the same resolution Microsoft Learn
Not enough licenses The plain-language form of the same refusal. Microsoft documents the category as insufficient licences and surfaces the per-user failures on the Errors & issues tab, but does not publish this literal string not published by the vendor

Confirm the fix worked

  1. Get-MgSubscribedSku shows ConsumedUnits below the enabled prepaid units for that SKU.
  2. The affected user’s licences list the product with no error against it.
  3. The product’s Errors & issues tab reports no remaining failures for that group.
  4. The thing that was actually failing – a sign-in, a mailbox, a device enrolment – now works for that user.

Questions people ask about this

Can I over-assign temporarily and settle up later?

No. The count is enforced at the moment of assignment and there is no allowance to borrow against. Free a seat or add one.

Does removing a licence delete the user’s data?

Not instantly, but do not treat it as safe. Removing a licence starts a retention window, and once it expires the content is gone. If the mail matters, convert the mailbox to a shared mailbox before removing the licence.

Why did group licensing only half work?

Because the pool emptied while the group was being processed. The members reached first got the licence and the rest are in error. The product’s Errors & issues tab lists exactly who failed.

A laptop will not enrol and the error is a hex code. Is that this?

If it is 0x80043006 or 0x80CF3006, yes. Microsoft documents both as the seat maximum for the account having been reached, and the resolution is to buy additional seats.

Do I definitely have to buy something?

Only if reclaiming does not free enough. Blocked accounts, leavers and licensed shared mailboxes usually yield several seats. If everyone holding a licence needs it, then yes, this is a purchase.

Related error codes

Was this article helpful?

Your feedback helps us improve our documentation.

Related articles

License Error 0x80043003 and 0x80cf0440: the subscription is deleted or suspended and enrolment stops License Error Authorization_RequestDenied: the admin centre refuses your change License Error 554 5.2.2 mailbox full: Exchange Online is refusing mail for the user License Error OneDrive 0x8004de85 and 0x8004def7: wrong or missing account, suspended account or full storage
โ† Back to Knowledge Base