Uploading Custom Apps to Teams
Earn 25 points (50 with Pro) in two steps
- ① Read through the lesson — each section gets a ✓ as you scroll through it.
- ② When every section has a ✓, tap Complete lesson.
0 of 11 read · keep scrolling
✦ See fewer ads and earn double points — 50 a lesson instead of 25 — with Pro
Module: Manage Teams Channels Chats and Apps
Lesson: Uploading Custom Apps to Teams
Introduction: Why Custom Apps Matter in Microsoft Teams
In the modern digital workplace, the standard suite of applications provided by Microsoft 365 often serves as the foundation for daily productivity. However, every organization has unique workflows, proprietary databases, and internal tools that do not have a pre-built connector in the Teams App Store. This is where custom apps come into play. A custom app in Microsoft Teams is a tailored software solution—developed either in-house or by a third-party vendor—designed to integrate specific business logic, data visualization, or automation directly into the Teams interface.
Learning how to upload and manage these custom apps is a critical skill for IT administrators and developers. By bringing custom tools into Teams, you reduce "context switching," which is the productivity-draining habit of jumping between a web browser, a desktop database, and your communication hub. When your internal ticketing system, your project management dashboard, or your custom HR portal lives inside a Teams tab, you create a focused, high-velocity environment for your employees. This lesson will guide you through the technical requirements, the upload process, the governance policies, and the best practices for maintaining these custom applications.
Not read yet
The Anatomy of a Teams App Package
Before we dive into the uploading process, we must understand what we are actually uploading. A Teams app is not a simple executable file; it is a compressed package—specifically a .zip file—that contains the necessary metadata to tell Microsoft Teams how to render and behave.
The core of every custom app is the App Manifest. This is a JSON file, typically named manifest.json, which acts as the blueprint for your application. It defines the app’s identity, the capabilities it supports (such as bots, tabs, or messaging extensions), and the permissions it requires to access data.
Key Components of the Manifest:
- $schema: Defines the version of the manifest schema being used.
- manifestVersion: The version of the manifest format.
- version: The version number of your specific app package.
- id: A unique GUID that identifies your app globally.
- developer: Information about who created the app.
- icons: References to the color and outline icons used in the Teams client.
- configurableTabs: Defines the UI components that users interact with inside a channel or chat.
- bots: Configures the endpoint for a conversational bot.
When you package your app, you must include the manifest.json file along with two PNG icon files (one color, one outline) in a single zip archive. If any of these elements are missing or improperly formatted, the Teams upload process will reject the package, often with an unhelpful error message.
Not read yet
Understanding the Deployment Lifecycle
Custom apps do not just appear in the Teams store; they must follow a specific lifecycle. This lifecycle consists of three distinct stages: development, testing, and distribution.
- Development: During this phase, you build the app using tools like the Teams Toolkit for Visual Studio Code or the Microsoft Teams SDK. You are likely testing against a local host or a development server.
- Sideloading (Testing): This is the process of uploading the app directly to a specific team or user context for validation. This does not make the app available to the whole organization; it is restricted to your immediate testing environment.
- Organization-Wide Distribution: Once the app is vetted, an administrator uploads it to the "Manage Apps" section in the Microsoft Teams admin center, making it available for users to install from the internal app catalog.
Callout: Sideloading vs. Publishing Sideloading is the practice of uploading a custom app package directly into a specific team or chat. It is intended for testing and development purposes. Publishing, on the other hand, involves uploading the app to the organization's private app catalog, which makes it discoverable for all users. You should never sideload an app into a production environment for widespread use, as it lacks the centralized management and update capabilities of a published app.
Not read yet
Step-by-Step: Sideloading an App for Testing
Sideloading is the most common way to get a custom app running during the development cycle. It allows you to see exactly how your app will appear to end-users without requiring global administrative approval for every iteration.
Prerequisites:
- An active Microsoft 365 tenant.
- Permissions to upload custom apps (this is controlled by Teams App Setup Policies).
- A valid
.zippackage containing your manifest and icons.
The Process:
- Open Microsoft Teams: Navigate to the specific Team or Chat where you want to test the app.
- Access the App Menu: Click on the "Apps" icon in the left-hand navigation bar (or the bottom of the sidebar depending on your version).
- Upload the Package: Look for the link at the bottom of the sidebar that says "Upload a custom app" or "Upload an app to your org." If you do not see this, it means your administrator has disabled sideloading for your account.
- Select the File: Navigate to the folder on your computer where your
.zippackage is stored and select it. - Verify: Once uploaded, the app will appear in the "Built for your organization" section. You can now add it to a channel or chat to verify functionality.
Note: If you are using the Teams Toolkit for Visual Studio Code, you can automate this process. The toolkit provides a "Preview" button that handles the packaging and sideloading steps automatically, significantly speeding up the development feedback loop.
Not read yet
Managing App Permissions and Governance
Uploading an app is not just a technical task; it is a security responsibility. Every custom app can potentially access sensitive data within your Microsoft 365 tenant. Therefore, you must manage these apps with a "least privilege" mindset.
Controlling Who Can Upload Apps
By default, Microsoft Teams may allow all users to upload custom apps, which can lead to "shadow IT" where users install unvetted or potentially malicious tools. You should strictly control this via Teams App Setup Policies in the Teams Admin Center.
- Global Policy: This applies to everyone in your organization. You should set the "Upload custom apps" toggle to "Off" for the vast majority of users.
- Custom Policies: Create a specific policy for your development team or IT staff that allows them to "Upload custom apps." Assign this policy only to those specific users.
Reviewing App Permissions
When you upload an app to the tenant catalog, Teams will display the permissions the app requires (e.g., "Read user profiles," "Access channel messages"). As an administrator, you must review these carefully. If an app requests "Read and write all channel messages" but only provides a simple weather forecast, that is a red flag. Always consult with your security team before approving an app for general use.
| Feature | Sideloading | Tenant App Catalog |
|---|---|---|
| Audience | Limited to specific user/team | Entire organization |
| Visibility | Only to the person who installed it | Searchable in "Built for your org" |
| Approval | None (if policy permits) | Requires Admin approval |
| Updates | Manual (re-upload) | Managed via Admin Center |
| Primary Use | Development and Debugging | Production distribution |
Not read yet
Best Practices for App Maintenance
Once your app is live, your work is not finished. Applications require maintenance, updates, and occasional removal. Following these best practices will keep your environment clean and secure.
- Versioning: Always update the version number in your
manifest.jsonbefore uploading a new version. If you upload a package with the same version number as an existing app, Teams may not recognize the update, leading to confusion. - Naming Conventions: Give your app a clear and descriptive name. Users should know exactly what the app does just by looking at the icon and the name. Avoid generic names like "Internal Tool 1."
- Monitoring Usage: Use the "Manage Apps" page in the Teams Admin Center to see how many users are actually interacting with your custom apps. If an app has zero active users after a few months, consider decommissioning it to reduce the attack surface of your tenant.
- Documentation: Maintain a simple internal document that describes the purpose of the app, the contact person for issues, and the data it accesses. This is invaluable when the original developer leaves the organization or moves to a different project.
- Regular Audits: Perform a quarterly review of all apps in your organization's app catalog. Remove any that are no longer supported or that have been replaced by newer versions.
Not read yet
Common Pitfalls and How to Avoid Them
Even experienced administrators run into issues when managing custom apps. Being aware of these pitfalls can save you hours of troubleshooting.
1. The Missing "Upload" Button
Problem: You are trying to upload an app, but the "Upload a custom app" option is missing entirely. Solution: This is almost always a policy issue. Check the Teams Admin Center under "Teams Apps" > "Setup policies." Ensure that the "Upload custom apps" toggle is enabled for your account. Remember that policy changes can take up to 24 hours to propagate across the Microsoft 365 environment.
2. Manifest Validation Errors
Problem: You attempt to upload a zip file, but Teams returns a generic "Manifest validation failed" error.
Solution: The Teams manifest is extremely sensitive to formatting. Use a JSON validator to ensure your manifest.json is syntactically correct. Additionally, ensure that your icons are exactly 192x192 (color) and 32x32 (outline) pixels, and that the file names match exactly what is defined in the manifest.
3. Scope Mismatch
Problem: You upload an app, but it doesn't appear in the channel tab menu.
Solution: Check the scopes section of your manifest.json. If you have only defined personal scope, the app will not be available in channels or groups. You must define team or groupchat scopes if you want the app to appear in those contexts.
4. The "Ghost" App
Problem: You updated the app, but users are still seeing the old version. Solution: Teams often caches app information. Sometimes, uninstalling the app from the team and reinstalling it is necessary to force the client to pull the latest manifest and web content.
Not read yet
Deep Dive: Automating the Upload Process with PowerShell
While the Teams Admin Center is great for occasional tasks, professional administrators often prefer the repeatability and speed of PowerShell. The Microsoft Teams PowerShell module allows you to manage custom apps programmatically.
To upload an app to the organizational app catalog, you can use the New-TeamsApp cmdlet.
# First, connect to your Teams environment
Connect-MicrosoftTeams
# Define the path to your zip package
$appPackagePath = "C:\Apps\CustomProjectManager.zip"
# Upload the app to the tenant catalog
$app = New-TeamsApp -Path $appPackagePath
# Verify the app upload
Get-TeamsApp -Id $app.Id
This approach is particularly useful in CI/CD (Continuous Integration/Continuous Deployment) pipelines. For example, if you are using Azure DevOps or GitHub Actions, you can configure your pipeline to automatically build your app, package it, and push it to your Teams tenant whenever you merge code into your main branch. This ensures your production environment is always running the latest tested version of your internal tools.
Warning: Be very careful when running scripts that manage apps. A typo in a script could accidentally remove all custom apps from your organization. Always test your scripts in a developer tenant before executing them in your production environment.
Not read yet
Security Considerations for Custom App Development
When you allow custom apps, you are essentially allowing code to run inside your organization's environment. While Teams apps are sandboxed to some degree, they still interact with the Microsoft Graph API.
- Graph API Permissions: If your app uses the Microsoft Graph, it will need permissions (scopes) defined in the Azure Active Directory (now Microsoft Entra ID) app registration. Only grant the minimum permissions necessary. If an app only needs to read a user's name, do not grant it permission to read their emails or calendar.
- App Registration: Every Teams app needs a corresponding App Registration in Entra ID. This is where the authentication happens. Ensure that you have a secure process for managing the client secrets associated with these registrations. Rotating secrets periodically is a standard security practice that prevents long-term credential leakage.
- Data Residency: If your custom app sends data to an external server (e.g., a custom web service hosted on AWS or Azure), ensure that you have clear visibility into where that data is stored and how it is encrypted. You should treat the data handled by custom apps with the same rigor as any other enterprise data.
Not read yet
Example: A Practical Scenario
Imagine your company uses an internal "Office Desk Booking" system. Currently, employees have to log into a separate website to book their desks. You want to make this easier by putting the booking system directly into a Teams tab.
- Development: Your developer builds a web application that displays the desk map and booking form. This web app is hosted on an internal server.
- Manifest Creation: The developer creates a
manifest.jsonthat points thecontentUrlandwebsiteUrlto the URL of the desk booking system. - Packaging: They bundle the manifest and the icons into
desk-booking.zip. - Testing: The developer sideloads the zip file into their own personal Teams client to ensure the authentication flow (Single Sign-On) works correctly.
- Deployment: Once satisfied, they send the zip file to the IT admin.
- Admin Upload: The IT admin logs into the Teams Admin Center, goes to "Manage Apps," and clicks "Upload new app." They select the
desk-booking.zipfile. - Policy Assignment: The admin adds this new app to the "Global (Org-wide default)" app setup policy.
- Result: Every employee in the company now sees "Desk Booking" in their app sidebar and can pin it to their Teams experience.
This transition from a standalone website to an integrated Teams app significantly improves the user experience and ensures that employees are more likely to use the tool, as it is always just one click away.
Not read yet
Summary Checklist for Deployment
To ensure your custom app deployment is successful and secure, follow this checklist every time you introduce a new tool:
- Manifest Validation: Is the JSON structure correct? Is the version number incremented?
- Icon Verification: Are the PNG files the correct dimensions and file sizes?
- Permissions Audit: Are the requested permissions the absolute minimum required for functionality?
- Security Review: Has the app been vetted for potential vulnerabilities?
- Policy Configuration: Have you verified which users have access to this app?
- Testing: Has the app been tested in a real-world scenario by a small pilot group?
- Documentation: Does the end-user have instructions on how to use the app?
Key Takeaways
- Apps are Packages: A Teams custom app is fundamentally a
.zipfile containing amanifest.jsonand two icon files. Success starts with a perfectly formatted manifest. - Sideloading is for Devs: Use sideloading strictly for testing and development. It is an efficient way to iterate, but it is not a substitute for proper organizational deployment.
- Governance is Mandatory: Never leave the "Upload custom apps" permission open to everyone in your organization. Use Teams App Setup Policies to restrict this to authorized personnel.
- Security First: Every custom app is a potential security vector. Review the permissions requested by the app carefully and ensure they align with the app's stated purpose.
- Lifecycle Management: Treat your custom apps like software products. Use versioning, conduct regular usage audits, and remove outdated apps to keep your Teams environment clean and performant.
- Automation: For larger organizations, move away from the manual UI upload process and adopt PowerShell scripts or CI/CD pipelines to manage your app catalog.
- User Experience: The primary goal of a custom app is to reduce friction. If an app adds more complexity than it solves, re-evaluate its design rather than forcing it on your users.
By following these guidelines, you transform Microsoft Teams from a simple communication platform into a powerful, customized digital workspace that reflects the specific needs and workflows of your organization. Whether you are a developer looking to deploy your latest build or an administrator tasked with governing internal tools, these foundational skills ensure that your custom app integration is smooth, secure, and highly effective.
Not read yet
Each section gets a ✓ as you scroll through it. Tap the button to jump to the next one.
- Identifying Licensing for Security Features
- Identifying Licensing for Security Features Quiz5q
- Configuring Security Alert Policies
- Configuring Security Alert Policies Quiz5q
- Choosing Teams Administrator Roles
- Choosing Teams Administrator Roles Quiz5q
- Configuring Threat Policies in Defender XDR
- Configuring Threat Policies in Defender XDR Quiz5q
- Specifying Retention Policies for Teams
- Specifying Retention Policies for Teams Quiz5q
- Configuring Sensitivity Labels for Teams
- Configuring Sensitivity Labels for Teams Quiz5q
- Specifying DLP Policies for Teams
- Specifying DLP Policies for Teams Quiz5q
- Configuring Conditional Access for Teams
- Configuring Conditional Access for Teams Quiz5q
- Implementing Information Barrier Policies
- Implementing Information Barrier Policies Quiz5q
- Understanding Communication Compliance
- Understanding Communication Compliance Quiz5q
- Identifying Licensing for Lifecycle Management
- Identifying Licensing for Lifecycle Management Quiz5q
- Understanding Teams Content Storage
- Understanding Teams Content Storage Quiz5q
- Managing Update Policies
- Managing Update Policies Quiz5q
- Creating and Managing Policy Packages
- Creating and Managing Policy Packages Quiz5q
- Configuring Microsoft 365 Group Creation
- Configuring Microsoft 365 Group Creation Quiz5q
- Configuring Expiration and Naming Policies
- Configuring Expiration and Naming Policies Quiz5q
- Archiving and Deleting Teams
- Archiving and Deleting Teams Quiz5q
- Managing Teams with PowerShell and Graph
- Managing Teams with PowerShell and Graph Quiz5q
- Configuring SharePoint and OneDrive Sharing
- Configuring SharePoint and OneDrive Sharing Quiz5q
- Configuring External Access in Teams
- Configuring External Access in Teams Quiz5q
- Configuring Guest Access in Teams
- Configuring Guest Access in Teams Quiz5q
- Managing Shared Channels
- Managing Shared Channels Quiz5q
- Configuring B2B Direct Connect
- Configuring B2B Direct Connect Quiz5q
- Configuring Multitenant Organization
- Configuring Multitenant Organization Quiz5q
- Controlling External Access by Domain
- Controlling External Access by Domain Quiz5q
- Identifying Licensing for Teams Phone
- Identifying Licensing for Teams Phone Quiz5q
- Managing Device Configuration Profiles
- Managing Device Configuration Profiles Quiz5q
- Configuring Microsoft Teams Rooms
- Configuring Microsoft Teams Rooms Quiz5q
- Managing Device Settings and Firmware
- Managing Device Settings and Firmware Quiz5q
- Configuring Teams for VDI
- Configuring Teams for VDI Quiz5q
- Provisioning Remote Device Sign-In
- Provisioning Remote Device Sign-In Quiz5q
- Planning Teams Rollout with Advisor
- Planning Teams Rollout with Advisor Quiz5q
- Creating Teams from Admin Center and Client
- Creating Teams from Admin Center and Client Quiz5q
- Creating Teams from Existing Resources
- Creating Teams from Existing Resources Quiz5q
- Creating and Managing Team Templates
- Creating and Managing Team Templates Quiz5q
- Managing Team Membership and Roles
- Managing Team Membership and Roles Quiz5q
- Managing Frontline Teams and Experiences
- Managing Frontline Teams and Experiences Quiz5q
- Managing Org-wide App Settings
- Managing Org-wide App Settings Quiz5q
- Creating App Setup Policies
- Creating App Setup Policies Quiz5q
- Managing App Permissions and Consent
- Managing App Permissions and Consent Quiz5q
- Customizing Teams App Store
- Customizing Teams App Store Quiz5q
- Uploading Custom Apps to Teams
- Uploading Custom Apps to Teams Quiz5q
- Choosing Meeting Types
- Choosing Meeting Types Quiz5q
- Configuring Meeting Settings
- Configuring Meeting Settings Quiz5q
- Creating Meeting Templates and Policies
- Creating Meeting Templates and Policies Quiz5q
- Configuring Teams Webinars
- Configuring Teams Webinars Quiz5q
- Configuring Teams Town Halls
- Configuring Teams Town Halls Quiz5q
- Configuring Meeting Customization Policies
- Configuring Meeting Customization Policies Quiz5q
- Provisioning Phone Numbers
- Provisioning Phone Numbers Quiz5q
- Managing Voice Settings and Policies
- Managing Voice Settings and Policies Quiz5q
- Creating Voicemail Policies
- Creating Voicemail Policies Quiz5q
- Managing Auto Attendants and Call Queues
- Managing Auto Attendants and Call Queues Quiz5q
- Creating and Managing Calling Policies
- Creating and Managing Calling Policies Quiz5q
- Monitoring Voice and Meeting Quality
- Monitoring Voice and Meeting Quality Quiz5q
- Configuring Alert Rules
- Configuring Alert Rules Quiz5q
- Reporting on Teams Usage
- Reporting on Teams Usage Quiz5q
- Monitoring Team Creation and Deletion
- Monitoring Team Creation and Deletion Quiz5q
- Monitoring Guest Access
- Monitoring Guest Access Quiz5q
- Using Network Connectivity Test Tool
- Using Network Connectivity Test Tool Quiz5q
- Managing Feedback Policies
- Managing Feedback Policies Quiz5q
- Collecting Client-Side Logs
- Collecting Client-Side Logs Quiz5q
- Clearing Teams Client Cache
- Clearing Teams Client Cache Quiz5q
- Using Self-Help Diagnostics
- Using Self-Help Diagnostics Quiz5q
- Troubleshooting Installation and Updates
- Troubleshooting Installation and Updates Quiz5q
- Troubleshooting Sign-In Issues
- Troubleshooting Sign-In Issues Quiz5q
- Troubleshooting Copilot and AI Experiences
- Troubleshooting Copilot and AI Experiences Quiz5q
- Troubleshooting Meeting Issues
- Troubleshooting Meeting Issues Quiz5q
Spend your points to unlock exam-style practice questions
Spend points to unlock MS-700 exam-style practice questions.
Practice for MS-700