The teams user app remove command uses a beta endpoint that is now in v1.0.
|
const endpoint: string = `${this.resource}/beta`; |
|
|
|
const requestOptions: any = { |
|
url: `${endpoint}/users/${args.options.userId}/teamwork/installedApps/${args.options.appId}`, |
|
headers: { |
|
'accept': 'application/json;odata.metadata=none' |
|
}, |
|
responseType: 'json' |
|
}; |
Uninstall app for user: https://docs.microsoft.com/en-us/graph/api/userteamwork-delete-installedapps?view=graph-rest-1.0&tabs=http
The
teams user app removecommand uses abetaendpoint that is now inv1.0.cli-microsoft365/src/m365/teams/commands/user/user-app-remove.ts
Lines 36 to 44 in b7c27c8
Uninstall app for user: https://docs.microsoft.com/en-us/graph/api/userteamwork-delete-installedapps?view=graph-rest-1.0&tabs=http