Skip to content

teams app publish

Publishes Teams app to the organization's app catalog

Usage

m365 teams app publish [options]

Options

-p, --filePath <filePath>
Absolute or relative path to the Teams manifest zip file to add to the app catalog
-h, --help [help]
Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are options, examples, remarks, response, full. Default is full.
--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output]
Output type. json,text,csv,md. Default json
--verbose
Runs command with verbose logging
--debug
Runs command with debug logging

Remarks

Important

To use this command you must be a Global administrator.

Examples

Add the teams-manifest.zip file to the organization's app catalog

m365 teams app publish --filePath ./teams-manifest.zip

Response

{
    "id": "e3e29acb-8c79-412b-b746-e6c39ff4cd22",
    "externalId": "b5561ec9-8cab-4aa3-8aa2-d8d7172e4311",
    "displayName": "Test App",
    "distributionMethod": "organization"
}
displayName       : Test App
distributionMethod: organization
externalId        : b5561ec9-8cab-4aa3-8aa2-d8d7172e4311
id                : e3e29acb-8c79-412b-b746-e6c39ff4cd22
id,externalId,displayName,distributionMethod
e3e29acb-8c79-412b-b746-e6c39ff4cd22,b5561ec9-8cab-4aa3-8aa2-d8d7172e4311,Test App,organization