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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / M365 User Profile Data
Power Automate
Suggested Answer

M365 User Profile Data

(1) ShareShare
ReportReport
Posted on by 237
Hi,  
I am building a flow that runs everyday to pull User Profile data from M365 using a Power Automate flow. I have the following flow already working but I noticed that the file output is only pulling in last names up to M. After that it doesn't pull in the rest of the names. I also noticed that the flow pulls in a few different emails per user which isn't necessary. The company has about 4-5k employees but the output of the file is around 10k. How can I filter the output to only pull the data that contains emails ending in "gmail.com" and also make sure that all 4-5k employee user profile data is being pulled in? The pagination is already set to 5000.
 
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,963 Moderator on at
     
    A couple of things
     
    1. You need to go into the settings of the Action and turn on Pagination or it will only at most pull 1000 which would then let you pull 10,000
    2. You could then add a Filter Array, using the output of #1 as the input, and the filter would be 
     
    Now the output of the Filter Array are the ones with gmail.com 
     
    You could also use Graph API, but ugg no need
  • NP-18101421-0 Profile Picture
    237 on at
     
    I added in the filter array, but not sure what the inputs need to look like afterwards for the other actions, can you help me with this? 
     
  • NP-18101421-0 Profile Picture
    237 on at
    @Michael E. Gernaey whenever you have the chance can you please review my last post? I wasn't able to get it working so, I am thinking I need to change the inputs of the actions that come after adding the filter array like you suggested. 
     
    Appreciate your help in advance!

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 391

#2
11manish Profile Picture

11manish 276

#3
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

Last 30 days Overall leaderboard