Teams is telling me I have run out of licenses, when I have 2 available

Natalie 0 Reputation points
2026-08-17T04:19:28.2233333+00:00

We have recently started our paid subscription for 4 licenses. Today two of our users are no longer able to keep the license assigned to them.

I have tried to delete a user a create a replacement but I am getting the message 'We're sorry, it looks like you have run out of licenses. Buy more licenses and try again'. I am not sure what else to do or if there is something I'm missing.Teams license

Microsoft Teams | Microsoft Teams for business | Other
0 comments No comments

1 answer

Sort by: Most helpful
  1. BabybooHN 2,210 Reputation points Independent Advisor
    2026-08-17T04:51:44.4266667+00:00

    Dear @Natalie

    I understand how frustrating it is to see the error "We're sorry, it looks like you've run out of licenses" even though your dashboard clearly shows 2 of 4 licenses available.

    This issue typically occurs due to a temporary synchronization delay between the Microsoft 365 Admin Center subscription status and the Microsoft Entra ID (Azure AD) identity directory, or because a location restriction is blocking assignment before the SKU checkbox is selected.

    Here are the steps I recommend taking to resolve this:

    Step 1: Set the Usage Location First

    Before assigning a license, Microsoft 365 requires a valid Usage Location. Ensure Australia (or the intended country) is saved under the user's Account tab before checking the box under Licenses and apps. If the location isn't saved, the license assignment call fails immediately with a false "out of licenses" error.

    Step 2: Assign Licenses via Microsoft Entra Admin Center

    If the Microsoft 365 Admin Center UI is stuck in a caching loop, assign the license directly through Entra ID:

    • Go to the Microsoft admin center > Microsoft Entra admin center
    • Navigate to Identity > Users > All users.
    • Select the target user, click Licenses, then select Assignments.
    • Choose Microsoft 365 Business Basic and click Save. Remove Office 365 Microsoft Authenticator App requirements - Microsoft Q&A

    Step 3: Assign Licenses via PowerShell

    If the Web UI continues to throw errors, you can bypass the admin portal cache using the Microsoft Graph PowerShell SDK:

    # Connect to Microsoft Graph
    Connect-MgGraph -Scopes "User.ReadWrite.All", "Directory.ReadWrite.All"
    # Set Usage Location (Required before license assignment)
    Update-MgUser -UserId "******@yourdomain.com" -UsageLocation "AU"
    # Assign Microsoft 365 Business Basic SKU
    $Sku = Get-MgSubscribedSku | Where-ObjectId -Like "*O365_BUSINESS_ESSENTIALS*"
    Set-MgUserLicense -UserId "******@yourdomain.com" -AddLicenses @{SkuId = $Sku.SkuId} -RemoveLicenses @()
    

    Please refer to this document, it includes step by step instructions.: Get-MgSubscribedSku

    If the license state does not reconcile within 24 hours after trying these steps, your tenant's subscription provisioning SKU count may be locked on the backend, requiring a quick service request reset via Microsoft 365 Admin Center > Support > Help & support.

    Please let me know if assigning via Entra ID or PowerShell resolves this for you.


    If the answer is helpful, please click "Yes" and kindly upvote it. If you have extra questions about this answer, please click "Comment".   

    Note: Please follow the steps in the forum document to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.