File download not working in Teams mobile app static tab (“This action is currently not supported on mobile”)

Vishal Singh Thapa 0 Reputation points
2025-10-20T04:29:05.44+00:00

I’ve created a React app that is integrated as a static tab in Microsoft Teams.
The app allows users to:

  • Upload a file (.docx)
  • Make changes to it directly in the app
  • Then download the updated version of the file
  • Download a file (.docx)

This functionality works perfectly in the Teams desktop app and web client, but when I try the same in the Teams mobile app (Android/iOS), it fails with the following message:

"Something went wrong: This action is currently not supported on mobile**"**Image

Microsoft 365 Insider | Microsoft Teams | Android
Microsoft 365 Insider | Microsoft Teams | Android
A collaboration and communication platform that brings together chat, video meetings, file sharing, and app integration, enabling teams to work together effectively from anywhere, in real time.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ian-T 5,415 Reputation points Microsoft External Staff Moderator
    2025-10-22T06:42:19.4766667+00:00

    Hello Vishal Singh Thapa,

    Thank you for posting in Microsoft Q&A Forum.

    From your description, I can understand that your React app is integrated as a static tab inside Microsoft Teams, it allows you to download a .docx file which works fine on Teams desktop and web but fails on Team mobile app.

    Microsoft Teams mobile apps block or ignore direct file download initiated from embedded web content within custom tabs. The HTLM <a download> attribute and similar mechanisms are not supported inside Teams ' mobile WebView

    For your reference:

    Here are some workarounds that you can kindly take:

    1. Upload files to Teams and download from the Files tab:
      • Instead of directly downloading from the tab, upload the file into the channel of chat's Files section.
      • You can then open Teams > Files > Three dots > Download.
    2. Open file in system browser:
      • Modify your link to open the file in the device's default browser:
         <a href="https://yourdomain.com/file.docx" target="_blank" rel="noopener noreferrer">Open in browser</a>
      
    3. Detect Teams mobile and show alternate UI
      • Use Teams JavaScript SDK or user-agent detection:
         microsoftTeams.getContext(context => {  if (context.hostClientType === 'ios' || context.hostClientType === 'android') {    // show "Open in browser" message  } });
      

    I hope it helps, please feel free to let me know if you need any further assistance.


    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. 


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.