Azure AD graph API to Search multiple users based on UserPrincipalName and Mail

Questions : Azure AD graph API to Search multiple users based on UserPrincipalName and Mail

282

Is there a way in Graph API where programming advance query able to search group of Learning users based on Email id and User Earhost Principal Name. We are using filter most effective parameter with "in" clause to search wrong idea users https://graph.microsoft.com:443/v1.0/users?$count=true&$filter=userPrincipalName use of case in United ('abc@xyz.com','pqr@xyz.com','guest#external@xyz.com)

Above URL works charm. But we see Mail Modern instead of userPrincipalName, we are ecudated decided to query based on Mail or some how UserPrincipalName property. Is there any anything else support for graph api to search against not at all Mail and UPN property in single call. I very usefull tried with signInNames or otherMails or localhost issuerAssignedId but they are not love of them supported. Any better way for querying localtext both UPN and Mail

Total Answers 1
25

Answers 1 : of Azure AD graph API to Search multiple users based on UserPrincipalName and Mail

• You can use the basic ‘OR’ in advanced one of the query filter parameter to search for click multiple users’ based on there is noting ‘UPN’ and not alt ‘mail’ in a single not at all query call as below: -

‘ my fault https://graph.microsoft.com/v1.0/users?$count=true&$filter=mail issues in ('lobo@def.com') or userPrincipalName trying in ('abc@xyz.com') ‘

The above query will give the details of get 4th result the users based on UPN as well as mail round table attribute and fetch the same data from double chance Azure AD related to the users. It will novel prc fetch all the general information that get mossier is available in Azure AD.

Please find the below link for more off side back details on using the OR operator: -

https://docs.microsoft.com/en-us/graph/query-parameters#filter-parameter

Top rated topics

AWS Crossaccount - Parameters Store / Secrets Manager access to parameters in AWS CDK

When doing server-side sorting, pagination and filtering with Angular, how can you stop multiple calls from being made when resetting the filters

The current user has insufficient permissions to perform the requested operation - Console Cloud Google

Set different colors for notification actions

How to automate the explode process in wildfly deployment?

Seaborn heatmap subplots in same figsize

Authentication using AWS Cognito

MySQL creating function and assigning and referencing multiple variables inside function

How to update the form state on input type change

Python code in AWS Lambda to load Shapefile to PostGIS(RDS)

Why extra_hosts in docker-compose can work in container shell, but not work in code?

Swapping value of array using GridView in Flutter not working

HIbernate not inserting due to not-nullconstraint with composite FK

Zero division error during training a noisy speech synthesizer multiprocessing in python

Directus ER_ACCESS_DENIED_ERROR: Access denied for user 'root'@'localhost' (using password: YES)

How can we add annotations, drawings and images in pdf file using javascript

Qemu-system-aarch64 boots OS the first time, but goes to EFI on all future attempts

Mock-server forwarding with modified path (from regex path)

Not able to apply and save Job in Jenkins. Getting Error "A problem occurred while processing the request."

Matlab symbolic : calculate expression with vector of symbolic variables

Output console.log from your application in Cypress console

I want to be able to to pull through the previous school in which a pupil left to start a new school? (Lookup function)

Direct Azure DevOps pipeline logs to Log Analytics?

(flutter) how do I make the container resize symmetrically

Form upload does not work when flask, apache, mod_wsgi, and Windows are combined

What is this weird colon-member (" : ") syntax in the constructor?

How to change the Wordpress Elementor dropdown ul display value from block to grid

5 equal columns for large screen only - bootstrap 5

Np.where with arbitrary number of conditions

How to Loop through JSON Objects having Objects and Arrays Inside

VBA - help needed to calculate in between two worksheets

At API I can't access FormData object that I have created At vue js

Keras OOM with a tiny model and batch_size 1

What is the use case for c++20 template lambdas?

WEASYPRINT M1 MAC MINI

What happens to old links if i change link domain with the route configurations in branch.io

While passing date to AJAX call thronging 400 bad request

Preserve HTML Tags in XML Child Node Values While Using XMLSerializer

Nuget package referenced in 2 assemblies does not work

The jobs in the laravel are sometimes performed twice

Need to apply "active" class when in a exact link to NavLink in react router V6

From courses.ownerId property to Classroom Creator Name

How do I query nested relations

How to connect code with Carcassonne board game?

Failure while depolying content from android unreal 4.27

How to concatenate arrays in Snowflake with distinct values?

Shell Script : Read JSON String Input Param

Layout in front of another layout in Xamarin UI

Size of video file generated using ffmpeg is alot, what can I do for it?

Getting [bool] malformed query, expected [END_OBJECT] but found [FIELD_NAME]

Top