How to Fix Microsoft Teams Error 65001
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 65001
If you are signing in to Microsoft Teams or using an integrated app within a channel and see Error Code 65001, the application is failing to retrieve user or administrator consent for the permissions it requires to run.
This guide helps you understand the cause of this consent failure and outlines how to resolve it using cache clears, web client authentication, or admin intervention.
1. Identify the Exact Meaning of the Error Code
Error Code 65001 maps to the Microsoft Entra ID error AADSTS65001 (ApplicationConsentMissing).
This error occurs when:
- User Consent is Disabled: The application (Teams or an integration) requires permissions to access your directory data (like profile or calendar), but your tenant has disabled user consent.
- Missing Admin Consent: The app requires tenant-wide permissions (such as reading all directory profiles) which only an IT Administrator can grant.
- Interactive Prompt Blocked: The desktop client tries to log in silently but fails because it is unable to display the dialog box asking you to approve permissions.
2. Clear Cache or Credentials Related to the Software
Purging application caches removes corrupted cache objects that may be suppressing the interactive consent prompt.
A. Windows Steps (PowerShell)
- Close Microsoft Teams completely.
- 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, go to Windows Credentials, and delete any keys containing
MicrosoftOffice16orMicrosoftTeams.
B. macOS Steps (Terminal)
- Quit Teams.
- In Terminal, run:
pkill -9 "Microsoft Teams" rm -rf ~/Library/Group\ Containers/UBF8T346G9.com.microsoft.teams rm -rf ~/Library/Containers/com.microsoft.teams2 - Open Keychain Access and delete any cached credentials containing
Microsoft Teams.
3. Check Service Server Status for Outages
Consent policies rely on the Azure Portal and Entra ID configuration.
- Check the Microsoft 365 Service Status Page to ensure Microsoft Entra ID authentication and consent endpoints are fully functional.
- If your organization is migrating users between tenants, wait for synchronization to finish.
4. Perform a Repair or Reset on the Desktop Client
Performing an application reset ensures that the app configuration is refreshed, forcing it to fetch the latest application configuration.
A. On Windows
Reset Teams V2 using PowerShell:
Get-AppxPackage -Name "MSTeams" -AllUsers | Reset-AppxPackage
B. On macOS
Reset default parameters:
defaults delete com.microsoft.teams2
rm -f ~/Library/Preferences/com.microsoft.teams2.plist
5. Re-authenticate the Connection to Sync Files
To bypass client-side blocks and trigger the required consent prompt, you must authenticate through a web browser.
A. Accept Consent via Web App
- Open a new private browser window (Incognito/InPrivate).
- Go to the Microsoft Teams Web Client.
- Sign in using your organization credentials.
- If a prompt appears asking to grant permissions to the app, check the box “Consent on behalf of your organization” (if you are an admin) and click Accept.
- Once authenticated in the web client, open your desktop Teams app and sign in. It will now pull the consented token.
B. Request Admin Consent
If you are not an administrator and the app requires admin approval, you will see a screen stating “Approval Required”. You must click “Request Approval” or contact your IT administrator and provide them with the following link to grant consent:
https://login.microsoftonline.com/common/adminconsent?client_id=YOUR_CLIENT_ID
(Replace YOUR_CLIENT_ID with the Application Client ID displayed in the error details).
6. Summary Quick Reference Checklist
| Action | Steps | Expected Outcome |
|---|---|---|
| Verify Consent Flow | Log in to teams.microsoft.com in Private browser | Triggers the missing OAuth consent popup. |
| Clear App Cache | Delete files in %localappdata%\Packages\MSTeams_8wekyb3d8bbwe | Forces the app to fetch new permission scopes. |
| Admin Portal Check | Admin goes to Entra ID -> Enterprise Applications | Enables user consent or grants tenant-wide approval. |
| Delete Saved Keyring | Clear Mac Keychain or Windows Credential Manager | Prevents silent login attempts using expired scopes. |
| Reset Desktop App | Run Reset-AppxPackage in PowerShell | Clears corrupt local client app manifests. |