You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/services/PeopleSearchService.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -135,7 +135,7 @@ export default class SPPeopleSearchService {
135
135
136
136
// Check if users need to be searched in a specific Microsoft 365 Group, Security Group (incl. nested groups) or Distribution List
137
137
elseif(groupId&&typeof(groupId)==='string'){
138
-
constgraphUserRequestUrl=`/groups/${groupId}/transitiveMembers?$count=true&$search="displayName:${query}" OR "mail:${query}"`;
138
+
constgraphUserRequestUrl=`/groups/${groupId}/transitiveMembers?$count=true&$search="userPrincipalName:${query}" OR "displayName:${query}" OR "mail:${query}"`;
0 commit comments