Question: I am looking for some guidance on how to create a flow which will get a list of Azure AD users and then save this list as a CSV file. The goal is that this will be used as a data source in another system. Has anyone created anything similar that they can share or tips on my sequencing or the connectors?
(1) We can generate a list of the users with the Search for users (v2) action. The secret is to leave the search term empty and it will return up to 1000 users by default:

(2) Add a Select action and select the user properties you want to include in the CSV file:

(3) Add the Create CSV table action using the output from the Select action as its input:

(4) Save the CSV file to OneDrive or another location

Sample runtime output:

Leave a Reply