Following steps are involved in the registration of Ticket Collaboration messaging extension to MS Teams App store:
- Update and package app manifest.
- Upload app package to MS Teams app store.
- Test Ticket Collaboration messaging extension.
-
Go to the Teams app manifest present at
/teams-app-package/manifest.json. -
Replace each of the placeholder
{TODO: MicrosoftAppId}with the AppId of the Azure AD bot application, noted down in this step. -
After updating
manifest.json, compress the contents of the folderteams-app-packageusing the given shell script assh compress-app.shby navigating to /teams-app-package folder.The compressed file contains
manifest.json,icon-color.png,icon-outline.png. The app package is now ready to upload to Teams AppStore.Note:
- You can create your own app manifest from Microsoft Developer Portal.
- The compressed file must contain only
manifest.json,icon-color.png,icon-outline.png. - For Windows users, install Zip for Windows and run the script of
compress-app.shon git bash.
-
Open MS Teams desktop application, and signin using the Microsoft 365 developer account created during the prerequisite step.
-
Click on "Manage your apps" and select "Upload a custom app" for testing before deployment.

Note: After the deployment of the app in SAP BTP, you can use "Upload an app to your org's app catalog" option to publish the app to the app catalog.
-
Upload the app package (zip file) created in the above step.
-
After successful uploading, you can add the messaging extension to any one-on-one or group chat.
-
Add "Ticket Collaboration" messaging extension to any one-on-one or group chat, from the app store.

-
After adding the bot to a conversation, you can view the actions suppported by the "Ticket Collaboration" messaging extension by clicing on the icon below the message composition area.

-
Add a ticket detail to the current chat by selecting "Show Ticket" option.
-
You will be asked to set up the bot (login) for the first time use. Use the same Micrsoft 365 developer account to setup the bot.

-
Select the ticket you want to add to the chat, and click on "Add" button. An adaptive card with brief ticket information will be added to the chat.

-
After a trial conversation, click on messaging extension again and select "Export Chat" option.
-
Enter start and end dates and times. You can enter the same start and end dates to get the messages of a particular day. Click on "Get Messages" to get all messages between the given dates.

-
Select the relavent messages you want to add to the attachment, and select the ticket to which you want to attach the conversation to. Click on "Ticket Collaboration" button to export and attach selected messages to the ticket.

-
The messaging extension adds an export confirmation message as an adaptive card in the chat.

