Hello Moleski,
Thank you for reaching out to Microsoft Q&A regarding the license mismatch issue. There are several possible causes, include: Group-Based Licensing Issues, Overlooked Assignments. Here something you can do to pinpoint and resolve the issue:
Examine Audit Logs:
- In Microsoft Entra Admin Center > Audit logs, filter for "Change user license" activities with failures. Look for errors like "MutuallyExclusiveViolation" or "DependencyViolation."
Use PowerShell for Precise Verification via Microsoft Graph:
Install Microsoft Graph PowerShell SDK: Install-Module Microsoft.Graph.
Connect: Connect-MgGraph -Scopes "User.Read.All", "Group.Read.All", "Directory.Read.All".
Get E3 SKU ID: $e3SkuId = (Get-MgSubscribedSku | Where-Object { $_.SkuPartNumber -eq 'SPE_E3' }).SkuId.
Count assigned users: Get-MgUser -All -Filter "assignedLicenses/any(s:s/skuId eq $e3SkuId)" | Measure-Object.
Export for review: Get-MgUser -All -Filter "assignedLicenses/any(s:s/skuId eq $e3SkuId)" -Select UserPrincipalName, AssignedLicenses | Export-Csv -Path "E3Users.csv" -NoTypeInformation.
Reprocess for a user: Invoke-MgReprocessLicenseAssignment -UserId <UserID>.
Additionally, check the Activations report in Admin Center > Reports > Usage > Microsoft 365 > Activations for usage insights. Also "Reprocess" licenses in the admin center for affected groups/users.
Hope this help.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.