- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
Looking for a way to use the item count to decide an action.
We have a group that has a max of 250 people allowed, if there is 250 people in that group already, we want to create a task to put user 251 on a wait list to be reviewed manually.
I can use the Entra ID spoke and use the Look up Group Members Stream
this will give me the count of users
In this I can see there are 207 members in the group
So what I want to do is a test using 205, if there are more that 205 log a file that says one thing, if less, log a different file
The problem is it returns the Item count as 1 and not 207
Any idea on how I can use the ENTIRE item count?
These are the only blocks I get
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
@Brian Sorensen copy the oob action and modify the input parameters. Also replace the url in the REST step with the one which I previously shared.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
Hi @Brian Sorensen
Create one custom action spoke to get the group members count.
API:
GET https://graph.microsoft.com/v1.0/groups/<GROUP ID>/members/$count
ConsistencyLevel: eventual
The above will give you the total count.
For more info refer the official Microsoft doc:
https://learn.microsoft.com/en-us/graph/api/group-list-members?view=graph-rest-1.0&tabs=http
Regards,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
Appreciate the response and it makes sense, but I am not overly familiar with making Actions or how I would inject this as an option
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
@Brian Sorensen copy the oob action and modify the input parameters. Also replace the url in the REST step with the one which I previously shared.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago