Prepare your Microsoft 365 tenant
Microsoft 365 subscribers can develop apps for Microsoft Teams with one of the following plans:
- Enterprise E1, E3, and E5
- Education, Education Plus, and Education E5
Create your development environment
If you don't have a Microsoft 365 account, you must sign up for a Microsoft 365 Developer Program subscription. The subscription is free for 90 days and continues to renew as long as you're using it for development activity. If you have a Visual Studio Enterprise or Professional subscription, both programs include a free Microsoft 365 developer subscription. It's active as long as your Visual Studio subscription is active. For more information, see set up a Microsoft 365 developer subscription.
Enable Teams for your organization
Enable Teams for your organization and for more information, see enabling Teams for your organization.
Enable custom Teams apps and turn on custom app uploading
If you've set up a Microsoft 365 Developer Program instant sandbox or a configurable sandbox with the Teams sample data pack, you can skip the steps to enable custom app upload. The Upload custom apps setting is enabled by default in the Teams sample data pack.
To turn on the custom app uploading for your developer tenant:
Sign in to Microsoft Teams admin center with your admin credentials.
It can take up to 24 hours for the Teams option to appear. You can upload your custom app to a Teams environment for testing and validation in that time.
Go to Teams apps > Setup Policies > Global.
Toggle Upload custom apps to the On position.
Select Save. Your test tenant can permit custom app upload.
It can take up to 24 hours for the custom app upload to be active. In the interim, you can use upload for <your tenant> to test your app. To upload the .zip package file of the app, see upload custom apps.
Go to Teams apps > Manage apps > Org-wide app settings > Custom apps and turn on the Upload custom apps for personal use toggle.