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 isoptions
.--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples.
-o, --output [output]
Output type.
json
,text
,csv
,md
,none
. Defaultjson
.--verbose
Runs command with verbose logging.
--debug
Runs command with debug logging.
Remarks
info
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
- JSON
- Text
- CSV
- Markdown
{
"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
# teams app publish
Date: 4/3/2023
## Test App (e3e29acb-8c79-412b-b746-e6c39ff4cd22)
Property | Value
---------|-------
id | e3e29acb-8c79-412b-b746-e6c39ff4cd22
externalId | b5561ec9-8cab-4aa3-8aa2-d8d7172e4311
displayName | Test App
distributionMethod | organization