Skip to content

Microsoft Graph v1.0: teams user app add #2513

@garrytrinder

Description

@garrytrinder

The teams user app add 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`,
headers: {
'content-type': 'application/json;odata=nometadata',
'accept': 'application/json;odata.metadata=none'
},
responseType: 'json',
data: {
'[email protected]': `${endpoint}/appCatalogs/teamsApps/${args.options.appId}`
}
};

Install app for user: https://docs.microsoft.com/en-us/graph/api/userteamwork-post-installedapps?view=graph-rest-1.0&tabs=http

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions