分发 Microsoft 团队应用程序Distribute your Microsoft Teams app

创建应用后,有三个选项可用于分发:Once you've created your app there are three options for distributing it:

  1. 直接上载您的应用程序Upload your app directly.
  2. 将您的应用程序发布到组织的应用程序目录Publish your app to your organization's app catalog.
  3. 通过 AppSource 发布您的应用程序Publish your app through AppSource.

企业组织Enterprise organizations

直接上载您的应用程序Upload your app directly

这是测试和使用您的应用程序的最简单方法。This is the easiest way to test and use your app. 如果您是团队所有者和/或 上传自定义应用程序,则可以 直接上传 (或旁加载) 应用,然后立即开始使用它。If you are the team owner and/or uploading custom apps is enabled, you can directly upload (or sideload) the app and start using it right away. 但是,如果要与其他人共享应用程序,则必须向其发送应用程序包,并要求他们独立上传它。However, if you want to share the app with others, you'll have to send them your app package and ask them to upload it independently.

如果您想要更广泛地分发您的应用程序,团队会为用户提供一个应用程序库,以查找或发现高质量的团队应用程序。If you want to distribute your app more broadly,Teams provides an in-app gallery for users to find or discover high-quality Teams apps. 若要使您的解决方案在库中可用,您必须 发布到组织的应用程序目录发布到 AppSourceTo have your solution available in the gallery, you must either publish to your organization's app catalog or publish to AppSource.

发布到你的组织的应用程序目录Publish to your organization's app catalog

您的组织的应用程序目录包含您的组织特有的应用程序,并且完全位于组织的控制之下。Your organization's app catalog contains apps unique to your organization and is completely under your organization's control. 有关详细信息,请参阅将 应用发布到组织的应用程序目录一文。You can find more information in the article Publish apps to your organization's app catalog. 此功能只能由具有 Microsoft Office 365 租户管理员权限的团队用户来管理。This feature can only be managed by Teams users with Microsoft Office 365 tenant admin privileges.

发布到 AppSourcePublish to AppSource

AppSource (以前称为 Office 应用商店) 为您分发 Microsoft 团队应用程序以及其他 Office 365 扩展性类型(如 Office 外接程序和 SharePoint 外接程序)提供了方便的位置。遵循我们的准则,将 您的应用程序提交到 AppSourceAppSource (formerly known as Office Store) provides a convenient location for you to distribute your Microsoft Teams app, as well as other Office 365 extensibility types such as Office add-ins and SharePoint add-ins. Follow our guidelines to submit your app to AppSource.

政府社区云 (GCC) 组织Government Community Cloud (GCC) organizations

将您的自定义应用程序直接上载到团队Upload your custom app directly to Teams

作为 GCC 租户管理员,你将决定是将自定义应用上传到你的租户环境,还是将其发布到租户应用目录。As a GCC tenant administrator, you'll decide whether to upload a custom app to your tenant environment and whether to publish it to your tenant app catalog. Microsoft 不拥有或控制您的自定义应用程序,因此,您必须确保所有终结点符合您组织的要求。Microsoft doesn't own or control your custom applications, therefore, you must ensure that all endpoints are compliant with your organization's requirements. 此外,如果应用程序解决方案包含 bot 或邮件扩展,则需要完成 Bot 框架 注册,如下所示:Additionally, if the app solution includes a bot or message extension, you'll need to complete the Bot Framework registration as follows:

  1. 在 " 连接到通道 " 页上的 " 添加功能通道" 下,选择 " 团队"。On the Connect to channels page, under Add a featured channel, select Teams.
  2. 导航到 " 配置 MSTeams " 页 (参阅 以下) 。Navigate to the Configure MSTeams page (see below).
  3. 在 " 邮件 " 下,选择 " 适用于政府客户的 Microsoft 团队 " 单选按钮。Under Messaging select the Microsoft Teams for Government Customers radio button.
  4. 在页面左下角,选择 " 保存"。In the lower left corner of the page, select Save.

重要

您不能使用 "团队商业配置" 将自定义应用上传/旁加载到 GCC 环境,您必须为符合 GCC 规范的配置选择 " 适用于政府客户的 Microsoft 团队 " 单选按钮。You cannot use the Teams commercial configuration to upload/sideload your custom app to a GCC environment, You must select the Microsoft Teams for Government Customers radio button for a GCC compliant configuration.

团队消息配置页

备注

  • 以上提供的针对 GCC 环境的上传说明适用于团队自定义应用。The uploading instructions for GCC environments, presented above, applies to Teams custom apps.
  • 默认情况下,在团队中启用合规性的 Microsoft 应用。Compliant Microsoft apps are enabled in the GCC environment, by default, in Teams.
  • 第三方应用程序在租户级别被禁用,应通过组织的 应用程序权限策略进行管理。Third-party apps are disabled at the tenant level and should be managed via your organization's app permission policies. 确保查看所有第三方应用程序,以确保它们与您的组织的策略和过程相一致。Make certain that you review all third-party apps to ensure that they align with your organization's policies and procedures.

提示

Microsoft 365 开发人员合作伙伴通过 microsoft 365 应用认证计划为其第三方团队应用提供安全性、数据处理和合规性详细信息。Microsoft 365 developer partners provide security, data handling, and compliance details for their third-party Teams apps through the Microsoft 365 App Certification Program. 另请参阅 Microsoft 团队应用认证See also Microsoft Teams App Certification.