Forum Discussion

barrettabolt's avatar
barrettabolt
Copper Contributor
Mar 26, 2025

file upload option disappearing in teams bot

We have Teams bot (we're the developer).

When users first start teams, they have the file upload option available under the + button next to the type a message box.

However, shortly afterwards, this option disappears. Not all users, just some. Seems to occur for both Mac and Windows users.

Our manifest looks like this:

 


{
    "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.19/MicrosoftTeams.schema.json",
    "manifestVersion": "1.19",
    "version": "1.0.7",
    "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "developer": {
        "name": "example",
        "websiteUrl": "https://www.example.com",
        "privacyUrl": "https://www.example.com/privacy",
        "termsOfUseUrl": "https://www.example.com/privacy"
    },
    "icons": {
        "outline": "example_mono.png",
        "color": "example_portrait.png"
    },
    "name": {
        "short": "example",
        "full": "example, your digital assistant"
    },
    "description": {
        "short": "example is a digital AI assistant designed to streamline your workflow.",
        "full": "example is an advanced AI-powered professional assistant developed by example, crafted to enhance productivity and efficiency in the workplace. With a focus on accuracy and a professional demeanor, example assists with information retrieval, scheduling, communication, and various tasks, ensuring that you have more time to focus on what matters most in your business."
    },
    "accentColor": "#fb9745",
    "bots": [
        {
            "botId": "yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy",
            "scopes": [
                "personal"
            ],
            "isNotificationOnly": false,
            "supportsFiles": true,
            "commandLists": [
                {
                    "scopes": [
                        "personal",
                        "team"
                    ],
                    "commands": [
                        {
                            "title": "New",
                            "description": "Starts a new conversation"
                        }
                    ]
                }
            ]
        }
    ],
    "permissions": [
        "identity",
        "messageTeamMembers"
    ],
    "webApplicationInfo": {
        "id": "yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy",
        "resource": "https://RscBasedStoreApp"
    },
    "validDomains": [
        "*.ngrok-free.app",
        "*.ngrok.app",
        "exampledev.ngrok.app"
    ]
}
```

As far as I can see from the current manifest schema, the bot needs no other scopes.

 

Is this a known bug or are we screwing something up with the config? Any help appreciated!

 

  • RAOUF HARBEG's avatar
    RAOUF HARBEG
    Copper Contributor

    still the same issue here as well. we noticed this while having training sessions (a lot of documents uploads). Personally, i upload the most documents (using teams MacOS and windows client) and never got the button to disappear.

    also, i noticed the same behaviour (from user incidents) on two or three different teams' versions

    I checked with Network teams to see if anything showing on the denied urls and everything was ok

  • RAOUF HARBEG's avatar
    RAOUF HARBEG
    Copper Contributor

    Hi
    same issue here since a week or two. a workaround is to uninstall and reinstall the app but it will eventually redisappear. Microsoft should fix this. any thoughts?

  • barrettabolt's avatar
    barrettabolt
    Copper Contributor

    Hi Sayali,

    I'll get the Windows version for you. On Mac - 25044.2406.3471.4570.

    Reproduce: Open Teams, attach a file to bot. Wait a while, file attach option disappears

    Not sure what else I can give you tbh!

  • @barrettabolt. Thank you for your inquiry about your Teams app development issue! To assist you better, could you please provide the following details? 

    Reproduction Steps: Please share the steps you took to encounter the issue. 

    Documentation Links: Any specific documentation you followed that relates to your problem. 

    Teams Client Version: What version of the Teams client are you using? 

    Code Snippets: Relevant code snippets that illustrate the issue. 

    This information will help us better understand the situation and provide a more accurate response. 

     

    • barrettabolt's avatar
      barrettabolt
      Copper Contributor

      In addition to the information supplied in my prior message - I have an unproven hunch that it could be related to the number of messages in the history for the bot. If you can guide me on collecting information from the support logs, happy to provide info here. Sound like others are seeing the same issue

Resources