Skip to content

[Microsoft Graph v1.0]: teams conversationmember list #2672

Description

@garrytrinder

The resourceProvisioningOptions filter is not supported in the v1.0 endpoint, but the displayName filter is, therefore we should implement the v1.0 endpoint in the request, keeping the displayName filter but removing the resourceProvisioningOptions filter, then filter the request response using JavaScript to remove any groups that are not Teams.

const teamRequestOptions: any = {
url: `${this.resource}/beta/groups?$filter=resourceProvisioningOptions/Any(x:x eq 'Team') and displayName eq '${encodeURIComponent(args.options.teamName as string)}'`,
headers: {
accept: 'application/json;odata.metadata=none'
},
responseType: 'json'
};

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions