Microsoft Azure Active Directory - LookUp Device Stream
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2023 12:42 AM
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,
Thanks in advance,
Chaithanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2024 09:32 AM
I believe it's something like this for the filter
$filter | Filters 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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2024 10:44 AM
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