Skip to content

Commit a9831f2

Browse files
committed
search by userPrincipalName
1 parent d1e4f84 commit a9831f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UI/web-app/src/apis/GraphApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export class GraphApi extends ApiBase implements IGraphApi {
2727
const response = await this.httpClient.get<GraphResponseEntity<UserEntity[]>>(`/users`, {
2828
params: {
2929
$select: 'displayName,mail,id',
30-
$search: `"mail:${mail}" OR "displayName:${displayName}"`,
30+
$search: `"mail:${mail}" OR "displayName:${displayName}" OR "userPrincipalName:${displayName}"`,
3131
$orderby: "displayName"
3232
},
3333
headers: {

0 commit comments

Comments
 (0)