Usage
teams user app list [options]
Description
Retrieve all apps that are associated to a specific user in Microsoft Teams. This command is useful to know if a user already has an app deployed to ensure successful add or remove.
Options
| Option |
Description |
| --userId |
The ID of the user to get the list of apps from |
Additional Information
We should probably expand the Teams App Definition by default to allow more filtering options on the list command : https://docs.microsoft.com/en-us/graph/api/user-list-teamsappinstallation?view=graph-rest-beta&tabs=http#example-2-get-the-names-and-other-details-of-apps-installed-for-the-user
HTTP/1.1 200 OK
Content-type: application/json
{
"value": [
{
"id": "NjRiOWM3NDYtYjE1NS00MDQyLThkNDctOTQxYmQzODE2ODFiIyMwZDgyMGVjZC1kZWYyLTQyOTctYWRhZC03ODA1NmNkZTdjNzg=",
"teamsAppDefinition": {
"id": "MGQ4MjBlY2QtZGVmMi00Mjk3LWFkYWQtNzgwNTZjZGU3Yzc4IyMxLjAuMA==",
"teamsAppId": "0d820ecd-def2-4297-adad-78056cde7c78",
"displayName": "OneNote",
"version": "1.0.0"
}
},
{
"id": "NjRiOWM3NDYtYjE1NS00MDQyLThkNDctOTQxYmQzODE2ODFiIyMwZmQ5MjVhMC0zNTdmLTRkMjUtODQ1Ni1iMzAyMmFhYTQxYTk=",
"teamsAppDefinition": {
"id": "MGZkOTI1YTAtMzU3Zi00ZDI1LTg0NTYtYjMwMjJhYWE0MWE5IyMxLjc=",
"teamsAppId": "0fd925a0-357f-4d25-8456-b3022aaa41a9",
"displayName": "SurveyMonkey",
"version": "1.7"
}
},
{
"id": "NjRiOWM3NDYtYjE1NS00MDQyLThkNDctOTQxYmQzODE2ODFiIyMyYTUyNzcwMy0xZjZmLTQ1NTktYTMzMi1kOGE3ZDI4OGNkODg=",
"teamsAppDefinition": {
"id": "MmE1Mjc3MDMtMWY2Zi00NTU5LWEzMzItZDhhN2QyODhjZDg4IyMxLjA=",
"teamsAppId": "2a527703-1f6f-4559-a332-d8a7d288cd88",
"displayName": "SharePoint",
"version": "1.0"
}
}
]
}
Note : The graph uses an obfuscated ID that is a combination of the Teams App Manifest ID + the installed ID of the app, all of this encoded as a Base64. Should the CLI decode this to offer a better "readability" on the content of we should leave this to the caller?
Usage
teams user app list [options]Description
Retrieve all apps that are associated to a specific user in Microsoft Teams. This command is useful to know if a user already has an app deployed to ensure successful add or remove.
Options
Additional Information
We should probably expand the Teams App Definition by default to allow more filtering options on the list command : https://docs.microsoft.com/en-us/graph/api/user-list-teamsappinstallation?view=graph-rest-beta&tabs=http#example-2-get-the-names-and-other-details-of-apps-installed-for-the-user
Note : The graph uses an obfuscated ID that is a combination of the Teams App Manifest ID + the installed ID of the app, all of this encoded as a Base64. Should the CLI decode this to offer a better "readability" on the content of we should leave this to the caller?