
Announcements
Hello everyone,
I have a quick question. How to I get all users and store them in a dataverse table? The flow should be a recurrence and be weekly. In the flow it should check if the user is already in the list and if not it should add a row.
I currently have the flow set up like this:
Now what parameters to i have to put into the UPN? or can i use the serach users? In general what is the best way to get all users and save it to the dataverse table?
Thank you for your help!
I don't know what you want to do it but. If you want to get the users who are in the Dataverse you can get in systemuser table.
If you want to get all user from your tenant you should use microsoft graph to request that
https://graph.microsoft.com/v1.0/users
You just need that you user have access to read the directory. You can test in Graph API Explorer
Graph Explorer | Try Microsoft Graph APIs - Microsoft Graph
If my answer helped you, please give me a thumbs up (👍). If solve your question please mark as solution ✔️. This is help the community.