pnp / cli-microsoft365

Manage Microsoft 365 and SharePoint Framework projects on any platform
https://aka.ms/cli-m365
MIT License
896 stars 318 forks source link

New command: Install Teams app into a chat #5706

Open garrytrinder opened 8 months ago

garrytrinder commented 8 months ago

Usage

m365 teams chat app add

Description

Install an app in the specified chat

Options

Option Description
--id <id> The ID of the chat conversation.
--appId [appId] The ID of the app to install. Specify either appId or appName but not both.
--appName [appName] The name of the app to install. Specify either appId or appName but not both.

Examples

Install an app to a chat using its name.

m365 teams chat app install --id "19:2da4c29f6d7041eca70b638b43d45437@thread.v2" --appName HelloWorld

Install an app to a chat using its id.

m365 teams chat app install --id "19:2da4c29f6d7041eca70b638b43d45437@thread.v2" --appId "4440558e-8c73-4597-abc7-3644a64c4bce"

Default properties

No response

Additional Info

Add app to chat

Remarks

If the chat is associated with a meeting, the app will be installed into the meeting.

The appId has to be the ID of the app from the Microsoft Teams App Catalog. Do not use the ID from the manifest of the zip app package. Use the teams app list command to get this ID.

Rachit1313 commented 8 months ago

I would like to work on this one. Can you assign me?

milanholemans commented 8 months ago

sure @Rachit1313, all yours!

milanholemans commented 6 months ago

@Rachit1313 are you still working on this?

waldekmastykarz commented 1 month ago

Resetting due to lack of response