Skip to main content

How to Upload a Custom App in Microsoft Teams

· 6 min read
Jagdish Kumawat
Founder @ Dewiride

You've built a Teams app and zipped its package. To try it before anyone else sees it, upload it as a custom app: Teams installs it for you alone, with no admin approval, in a few clicks.

Microsoft lists this as one of several ways a custom app reaches people. Custom app upload by user needs No admin approvals, but Admins control which users can upload. The other routes put an app in your organization's catalog for everyone, after an admin approves it or uploads it.

The Example​

The package is EchoBot.zip: a Teams app with one bot, Echo Bot, that people chat with one to one. The steps are the same for any app package.

Prerequisites​

  • Permission to upload custom apps. Your organization's Teams admin decides who may upload them, in the Teams admin center.
  • A Teams app package: a zip with manifest.json and two icons at its root.

Step 1: Open Manage Your Apps​

In Teams, select Apps in the left rail. The Store opens. Select the settings icon at its top right to manage your apps:

The Teams Store with the Apps button highlighted in the left rail and the settings icon highlighted at the top right

Step 2: Upload an App​

On Manage your apps, select Upload an app:

The Manage your apps page with Get more apps and Upload an app, and Upload an app highlighted

If Upload an app isn't there, your account isn't allowed to upload custom apps: How to Check If Custom Apps Are Allowed in Microsoft Teams shows where an admin turns it on.

Step 3: Choose Upload a Custom App​

Teams offers two options:

The Upload an app dialog with Upload a custom app, for yourself or a team, highlighted above Submit an app to your org

  • Upload a custom app: Upload an app package (.zip file) for yourself or a team. This is a great way to test an app as it's being developed.
  • Submit an app to your org: sends the package to your IT admin, who can approve it for the whole organization.

Select Upload a custom app, and pick your zip file in the file dialog.

Step 4: Add the App​

Teams reads the package and shows the app's details: its name and developer from the manifest, its descriptions, and what it can do. A bot shows up under Capabilities in Teams:

The Echo Bot details dialog: developer Contoso, the Add button highlighted, 0 installs in the last month, works in Teams, free to add and use, the short and full descriptions, and Bot under Capabilities in Teams

Select Add. Teams confirms:

The Added successfully dialog for Echo Bot: Let's head straight to the app, with the Open button highlighted

Step 5: Open the App​

Select Open. For a bot in the personal scope, Teams opens a one-to-one chat with it, with the bot's icon in the left rail:

The Echo Bot chat in Teams, empty: You're starting a new conversation. Type your first message below. The Echo Bot icon is selected in the left rail

The app is installed for you. Messages you send here go to the bot's endpoint, so the bot's code has to be running and reachable for it to answer.

Common Mistakes​

MistakeWhat happensDo this instead
Choosing Submit an app to your org to testThe app waits for an admin's approvalUse Upload a custom app
Uploading the folder instead of the zipTeams needs a .zip packageZip the three files and upload the zip
Uploading a changed package without raising its versionThe installed app may keep the old manifestRaise version in manifest.json first

Troubleshooting​

SymptomLikely causeFix
Upload an app or Upload a custom app is missingCustom app upload isn't allowed for your accountCheck the custom app settings
The bot doesn't answerThe bot's code isn't running, or its endpoint isn't reachableStart the code, and check the endpoint in the bot's registration
Teams rejects the packageA manifest or icon problemRebuild the package and check it against the manifest schema

FAQ​

Who else can see the app?​

Nobody, unless you add it to a team or chat they're in. A custom app uploaded for yourself is installed only for you.

Do I have to upload again after changing my bot's code?​

No. Microsoft's documentation: You don't have to upload your custom app again if you make code changes (these are reflected in Teams in real-time). However, you must reinstall if you change any app configurations. Code changes are on your server; manifest changes need a new package.

How do I remove the app?​

Uninstall it from Manage your apps: How to Uninstall an App in Microsoft Teams shows the steps.

Conclusion​

To try your own Teams app, open Apps, go to Manage your apps, and choose Upload an app > Upload a custom app. Pick the zip, select Add and then Open, and the app is installed for you alone, ready to test.

Additional Resources​