Microsoft Azure Active Directory - LookUp Device Stream

Community Alums
Not applicable

Hi Experts,

I'm using flow designer for VDI provisioning, Once the VDI is provisioned successfully in CItrix environment. I need to look up that Device using Lookup devices Stream action, in that action how we can configure the filter, 

CHAITHANYA13_0-1702629703777.png

 


Thanks in advance,
Chaithanya

2 REPLIES 2

Cau Thoong1
Tera Contributor

I believe it's something like this for the filter

 

$filterFilters results (rows)./users?$filter=startswith(givenName,'J')

https://learn.microsoft.com/en-us/graph/query-parameters?tabs=http

 

It seems to be using the Microsoft Graph API to pull information. You can change the "givenName" variable to displayName for the device name.

Here's more documentation on how to run the filters https://learn.microsoft.com/en-us/graph/filter-query-parameter?tabs=javascript.

 

For advanced queries, it seems like you need to add $count=true at the end. This is an example of one that I use to narrow down devices.

isCompliant eq true and startsWith(displayName, 'XXXX')&$count=true