web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / List AAD users that ha...
Power Automate
Unanswered

List AAD users that have been inactive and are member of security group

(1) ShareShare
ReportReport
Posted on by

Hi, 

I'm looking for some help on my Flow to get 2 things from Entra (AAD) 

I would like to create a list (csv) with users that are more than X days inactive and are member of a specific security group.

 

I found this script: List inactive users via Graph API – Expiscornovus

This works out, till the part where I need to alter the flow and check for the security group membership ...

I'm not sure if I build further on this HTTP GET method or do i need to approach this from a different side and maybe use the Entra "Get Groups of a user (V2)" flow to start off?

 

Can anyone point me in the right direction?

Categories:
I have the same question (0)
  • Bhawna Bansal Profile Picture
    126 on at

    Hello, I can assist you in obtaining the list of users who are inactive in a security group. However, I'm unable to accommodate the condition you're adding for the past "X" days.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard