Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
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?

  • Bhawna Bansal Profile Picture
    126 on at
    Re: List AAD users that have been inactive and are member of security group

    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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492