How to Fix Microsoft Teams Error 80180014
Diagnostic Procedures
- 1 Identify the exact meaning of the error code
- 2 Clear cache or credentials related to the software
- 3 Check service server status for outages
- 4 Perform a repair or reset on the desktop client
- 5 Re-authenticate the connection to sync files
How to Fix Microsoft Teams Error 80180014
Encountering Microsoft Teams Error Code 80180014 during login indicates a Mobile Device Management (MDM) enrollment block. This happens when the Teams application tries to register your operating system with Microsoft Intune, but your tenant’s enrollment policies deny the request.
This guide explains the root cause and provides steps to bypass the enrollment block, clear corrupt settings, and sign in successfully.
1. Identify the Exact Meaning of the Error Code
Error Code 80180014 corresponds to the error MENROLL_E_MDM_NOT_CONFIGURED or a device enrollment restriction block.
This occurs because:
- Blocked Device Enrollment: Your organization’s IT policy blocks personal (BYOD) devices from enrolling in Microsoft Intune.
- Unsupported Device OS: The device platform (e.g., Windows Home edition or macOS version) is restricted from MDM enrollment.
- Enrollment Limits Reached: Your user account has reached the maximum number of registered devices allowed in Intune.
- Missing License: Your account does not have an active Microsoft Intune license assigned, but device registration is forced.
2. Clear Cache or Credentials Related to the Software
Purging local caches removes the partially-completed enrollment handshake files that are blocking subsequent login attempts.
A. Windows Cache Clear
- Close Microsoft Teams.
- Open PowerShell and run:
Stop-Process -Name "ms-teams" -Force -ErrorAction SilentlyContinue Remove-Item -Path "$env:LOCALAPPDATA\Packages\MSTeams_8wekyb3d8bbwe\*" -Recurse -Force -ErrorAction SilentlyContinue - Open the Credential Manager and remove any enterprise credentials starting with
MicrosoftOffice16orMicrosoftTeams.
B. macOS Cache Clear
- Force quit Teams (
Cmd + Q). - Open Terminal and run:
pkill -9 "Microsoft Teams" rm -rf ~/Library/Group\ Containers/UBF8T346G9.com.microsoft.teams rm -rf ~/Library/Containers/com.microsoft.teams2
3. Check Service Server Status for Outages
- Check the Microsoft 365 Service Status Page to ensure Microsoft Intune and Entra ID systems are operational.
- If you are an administrator, verify in the Microsoft Endpoint Manager (Intune) admin center under Devices > Enrollment restrictions that your user group is allowed to enroll the device type.
4. Perform a Repair or Reset on the Desktop Client
Resetting the client removes any sticky configuration parameters that are forcing the enrollment handshake.
A. Reset Teams on Windows
Open PowerShell as Administrator and run:
Get-AppxPackage -Name "MSTeams" -AllUsers | Reset-AppxPackage
B. Remove MDM Registry Keys (Advanced Windows Users)
If the system is stuck trying to enroll in a broken state, clean the MDM registry paths:
- Open
regedit(Registry Editor) as Administrator. - Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Enrollments - Look for subkeys with GUID names. If a subkey contains your work email address or mentions
EnrollmentType6, delete the GUID subkey (back up the registry before deleting).
5. Re-authenticate the Connection to Sync Files
The most effective way to bypass Error 80180014 is to authenticate without registering your device in MDM.
A. Bypass Device Management (Windows)
- Launch Microsoft Teams and enter your work email.
- When the dialog box asks “Stay signed in to all your apps”, uncheck the option “Allow my organization to manage my device”.
- Click the link that says “No, sign in to this app only” (or “This app only”).
- This bypasses the Intune enrollment checks and logs you directly into Teams.
B. Disconnect Work Accounts in Settings (Windows)
- Go to Settings → Accounts → Access work or school.
- If your work account is listed, select it and click Disconnect.
- Relaunch Teams and log in, choosing “No, sign in to this app only” to avoid re-triggering the enrollment rule.
6. Summary Quick Reference Checklist
| Action | Technical Strategy | Expected Outcome |
|---|---|---|
| Select “This app only” | Click the bypass link on the Microsoft login page | Bypasses Intune MDM enrollment policy entirely. |
| Clear Workplace Join | Disconnect under Settings -> Access work or school | Cleans old MDM enrollment configurations. |
| Check Intune License | Verify your M365 license has Microsoft Intune enabled | Ensures eligibility for MDM enrollment. |
| Purge Local Cache | Delete files in %localappdata%\Packages\MSTeams_8wekyb3d8bbwe | Cleans stuck login parameters. |
| Check Enrollment Limit | Admin reduces device count in Intune Admin Center | Allows new device registration if under limit. |