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 / Adding Azure AD group ...
Power Automate
Unanswered

Adding Azure AD group members to a SharePoint list

(0) ShareShare
ReportReport
Posted on by

Hi, 

I'm trying to build a power automate flow to add a list of a group members to a SharePoint list.

Currently we have a manually maintained A-Z contact list on our Intranet homepage that lists all staff members job title, managers, contact details etc. This has been maintained manually and I want to automate it based on the contents of our All Staff distribution list. 

I have been following the solution described by @annajhaveri in this post: Solved: Re: Azure Group Members Sync to SharePoint List - Power Platform Community (microsoft.com)

But when I test the flow I receive the following error at the filter array step:

SerialImpact_0-1699914314305.png

 

Here is a screenshot of my entire flow with all parameters visible for reference:


 

SerialImpact_1-1699914375571.png

 

SerialImpact_3-1699914408178.png

 

 

I also want to ensure that the the workflow is able to add other attributes of the current user such as their mobile phone number and teams number to other relevant columns in the SharePoint list - this current version seems like it would only add their email address?



Categories:
I have the same question (0)
  • michael0808 Profile Picture
    304 on at

    Use "List Group Members" instead, and then pass the values of that result into an Apply to each. Then add the Get user profile action before creating your item in the list.

    I am not sure if you are able to get the Teams phone number unless you manually insert it into the users profile in Azure/Entra.

     

    michael0808_1-1699943199349.png

     

    Hope this helps.

     

     

  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    @SerialImpact  i see the issue with the Filter Array action, in right side of does not contain, you have select the output from dynamic content, however you need to select output item

     

    Here is incorrect 

    annajhaveri_0-1700481829229.png

    Here is the correct

    annajhaveri_1-1700481845895.png

     

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 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard