teams Code 80180014

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.

Purging local caches removes the partially-completed enrollment handshake files that are blocking subsequent login attempts.

A. Windows Cache Clear

  1. Close Microsoft Teams.
  2. Open PowerShell and run:
    Stop-Process -Name "ms-teams" -Force -ErrorAction SilentlyContinue
    Remove-Item -Path "$env:LOCALAPPDATA\Packages\MSTeams_8wekyb3d8bbwe\*" -Recurse -Force -ErrorAction SilentlyContinue
  3. Open the Credential Manager and remove any enterprise credentials starting with MicrosoftOffice16 or MicrosoftTeams.

B. macOS Cache Clear

  1. Force quit Teams (Cmd + Q).
  2. 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:

  1. Open regedit (Registry Editor) as Administrator.
  2. Navigate to:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Enrollments
  3. Look for subkeys with GUID names. If a subkey contains your work email address or mentions EnrollmentType 6, 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)

  1. Launch Microsoft Teams and enter your work email.
  2. When the dialog box asks “Stay signed in to all your apps”, uncheck the option “Allow my organization to manage my device”.
  3. Click the link that says “No, sign in to this app only” (or “This app only”).
  4. This bypasses the Intune enrollment checks and logs you directly into Teams.

B. Disconnect Work Accounts in Settings (Windows)

  1. Go to SettingsAccountsAccess work or school.
  2. If your work account is listed, select it and click Disconnect.
  3. 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

ActionTechnical StrategyExpected Outcome
Select “This app only”Click the bypass link on the Microsoft login pageBypasses Intune MDM enrollment policy entirely.
Clear Workplace JoinDisconnect under Settings -> Access work or schoolCleans old MDM enrollment configurations.
Check Intune LicenseVerify your M365 license has Microsoft Intune enabledEnsures eligibility for MDM enrollment.
Purge Local CacheDelete files in %localappdata%\Packages\MSTeams_8wekyb3d8bbweCleans stuck login parameters.
Check Enrollment LimitAdmin reduces device count in Intune Admin CenterAllows new device registration if under limit.