Description
This command is calling this api
https://docs.microsoft.com/en-us/graph/api/userteamwork-list-installedapps?view=graph-rest-1.0&tabs=http
to get list of app installed for a user
This call/command returns only this as response
"id": "YTZiNjMzNjUtMzFhNC00ZjYxUTkyZWMtNzEwYjcxNTU3YWY5IyMwLjk="
Need to somehow pass $expand=teamsAppDefinition to get more details like this
"teamsAppDefinition": {
"id": "MGQ4MjBlY2QtZGVmMi00Mjk3LWFkYWQtNzgwNTZjZGU3Yzc4IyMxLjAuMA==",
"teamsAppId": "0d820ecd-def2-4297-adad-78056cde7c78",
"displayName": "OneNote",
"version": "1.0.0"
}
Steps to reproduce
m365 teams user app list --userName [email protected]
Expected results
Need to be able to make this api call with CLI
GET https://graph.microsoft.com/v1.0/users/5b649834-7412-4cce-9e69-176e95a394f5/teamwork/installedApps?$expand=teamsAppDefinition
Response
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"
}
}
]
}
Actual results
"id": "YTZiNjMzNjUtMzFhNC00ZjYxUTkyZWMtNzEwYjcxNTU3YWY5IyMwLjk="
Diagnostics
No response
CLI for Microsoft 365 version
v3.13.0
nodejs version
v10.21.0
Operating system (environment)
Windows
Shell
Windows PowerShell
cli doctor
No response
Additional Info
Need capability to add ?$expand=teamsAppDefinition query string to command m365 teams user app list
Description
This command is calling this api
https://docs.microsoft.com/en-us/graph/api/userteamwork-list-installedapps?view=graph-rest-1.0&tabs=httpto get list of app installed for a user
This call/command returns only this as response
"id": "YTZiNjMzNjUtMzFhNC00ZjYxUTkyZWMtNzEwYjcxNTU3YWY5IyMwLjk="Need to somehow pass $expand=teamsAppDefinition to get more details like this
Steps to reproduce
m365 teams user app list --userName [email protected]
Expected results
Need to be able to make this api call with CLI
GET https://graph.microsoft.com/v1.0/users/5b649834-7412-4cce-9e69-176e95a394f5/teamwork/installedApps?$expand=teamsAppDefinitionResponse
Actual results
"id": "YTZiNjMzNjUtMzFhNC00ZjYxUTkyZWMtNzEwYjcxNTU3YWY5IyMwLjk="Diagnostics
No response
CLI for Microsoft 365 version
v3.13.0
nodejs version
v10.21.0
Operating system (environment)
Windows
Shell
Windows PowerShell
cli doctor
No response
Additional Info
Need capability to add
?$expand=teamsAppDefinitionquery string to commandm365 teams user app list