Share via


SearchScope enum

Warning

This API is now deprecated.

This package will be deprecated by 2026-07. Please use Microsoft 365 Agents SDK instead.

The search scope when calling findMember and findAllMembers. The search scope is a flagged enum and it can be combined with |. For example, to search from personal chat and group chat, use SearchScope.Person | SearchScope.Group.

Fields

Person = 1

Search members from the installations in personal chat only.

Group = 2

Search members from the installations in group chat only.

Channel = 4

Search members from the installations in Teams channel only.

All = 7

Search members from all installations including personal chat, group chat and Teams channel.