How to force Microsoft Teams to open files in desktop app?

Have you ever clicked on a Word document or Excel file in Microsoft Teams only to have it open in the web browser instead of your preferred desktop application? This common frustration affects productivity when you need the full functionality of desktop Office apps for editing, formatting, or collaborating on complex documents.

Microsoft Teams file open preferences and default settings

The walkthrough involves configuring both individual user preferences and organizational policies to ensure Microsoft Teams always opens files in desktop applications. We will cover today some personal settings adjustments, administrative controls, and troubleshooting common file opening issues across different Microsoft Teams environments.

To follow through you will need access to Microsoft Teams admin center (for organizational settings), desktop Office applications installed, and active Microsoft 365 subscription. We’ll use Microsoft Teams desktop app, Office 365 admin center, and individual user settings to achieve consistent file opening behavior.

Configure Microsoft Teams to always open files in desktop app

Personal user settings for default Teams file opening

  • Navigate to your Microsoft Teams desktop application and click on your profile picture in the top-right corner to access account settings.
  • Select “Settings” from the dropdown menu, then click on the “General” tab to locate file handling preferences and default application settings.
  • Scroll down to find the “Application” section where you’ll see options for “On clicking a file in Teams” with radio buttons for different opening behaviors.
  • Choose “Open with desktop app” option instead of “Open with Teams” to ensure all compatible files launch in their respective desktop applications automatically.
  • Click “Save” to apply these changes, and restart Microsoft Teams to ensure the new file opening preferences take effect across all channels and conversations.
  • Test the configuration by opening a Word document or Excel spreadsheet from any Teams chat or channel to verify files now launch in desktop applications.

Administrative controls for organizational file open preferences

  • Access the Microsoft Teams admin center through your Microsoft 365 admin portal and navigate to the “Teams apps” section for policy management.
  • Click on “Setup policies” and either edit the existing global policy or create a new custom policy specifically for file opening behavior configuration.
  • Locate the “App settings” section and find the toggle for “Allow user pinning” and “Upload custom apps” to ensure proper desktop integration capabilities.
  • Configure the “Default file app preference” setting to “Desktop app” which will override individual user settings and enforce organization-wide consistency for file opening.
  • Apply this policy to specific user groups or make it the global default, then allow 24-48 hours for the changes to propagate across your organization.
  • Communicate the policy change to users and provide instructions for clearing their Teams cache if they experience inconsistent behavior during the transition period.

Expert Tip: Clear your Teams cache after making these changes by closing Teams completely, navigating to %appdata%\Microsoft\Teams, and deleting the contents of the cache folders to ensure settings take effect immediately.

Microsoft Teams file opening common issues

Files still opening in web browser despite settings changes

  • Clear your Microsoft Teams application cache by completely closing Teams, navigating to the %appdata%\Microsoft\Teams folder, and deleting all cache-related subdirectories to remove conflicting preferences.
  • Verify that your desktop Office applications are properly licensed and activated, as Teams may default to web versions when desktop apps aren’t fully functional.
  • Check your default application associations in Windows Settings under “Apps > Default apps” to ensure Office file types are correctly mapped to desktop applications.
  • Restart your computer after making registry changes or policy updates, as some Teams file handling modifications require a full system restart to take effect properly.

Organizational policies not applying to all users consistently

  • Confirm that the Teams setup policy has been properly assigned to the affected users or groups through the Microsoft Teams admin center policy assignments section.
  • Allow sufficient time for policy propagation, as organizational changes can take up to 24-48 hours to reach all users depending on your tenant’s replication schedule.
  • Instruct users to sign out and sign back into Microsoft Teams to force a policy refresh and ensure they receive the updated file opening preferences.
  • Use the Teams PowerShell module to verify policy assignments with the “Get-CsTeamsAppSetupPolicy” cmdlet and confirm the correct settings are applied to user accounts.

Desktop applications launching but files not opening properly

  • Update your Office desktop applications to the latest version through Microsoft Update or the Office deployment tool to ensure compatibility with Teams file handling protocols.
  • Check Windows file associations by right-clicking on a file type, selecting “Open with > Choose another app” and ensuring the correct Office application is set as default.
  • Verify that your antivirus software isn’t blocking the communication between Microsoft Teams and desktop Office applications by adding Teams to your security software’s exception list.
  • Test the configuration by opening a Word document or Excel spreadsheet from any Teams chat or channel to verify files now launch in desktop applications.