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 / Flow - create team and...
Power Automate
Answered

Flow - create team and add members from SP list?

(0) ShareShare
ReportReport
Posted on by 1,097

I have a list with two columns

 

Title | Members

Title = team name (text field)

Member = People to become members of the team (Sharepoint Person column, multiple selection allowed)

 

Then i have a flow that is triggered by a button atm (Testing phase)

It gets items from the list

It creates the teams (title as team name)

But then i have problem adding members to it.

 

Anyone able to help?

Se pictures

bp3.png

 

bp2.png

 

bp4.pngbperror.png

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,768 Most Valuable Professional on at

    Hi @Oskarkuus,

     

    From the screenshot it looks like you are using the Email address for the AAD id field in the add a member to team action.

     

    You can use the Get user action to retrieve that id based on the user principal name.

     

    Below is an example of such a setup.

     

    aadidforteams.png

  • Oskarkuus Profile Picture
    1,097 on at

    Thank you. But i am still stuck. I get a new error and tried to do as you did on your picture.

    Se pictures.

     

    br8.pngbr7.pngbr6.png

  • Expiscornovus Profile Picture
    33,768 Most Valuable Professional on at

    Hi @Oskarkuus,

     

    Can you use the TeamMembers field (Medlemmar) instead of the Current Item field in your second apply to each loop?

     

    peoplecolumn.png

  • Oskarkuus Profile Picture
    1,097 on at

    I still get this error "Request to Azure Resource Manager failed with error: '{"error":{"code":"InvokerConnectionOverrideFailed","message":"Could not find any valid connection for connection reference name 'shared_azuread' in APIM tokens header."}}'."

    I only get this error when using either the Office365 connection or the Azure connection. Tried to remove all connections to them and reconnect the connections, but still the same error.

     

     

  • Verified answer
    Expiscornovus Profile Picture
    33,768 Most Valuable Professional on at

    Hi @Oskarkuus,

     

    @Jay-Encodian has written a good blogpost about this. Can you try one (or both) of these solutions:

    https://blog.encodian.com/2020/10/fix-the-request-to-azure-resource-manager-failed-with-error-in-power-automate/

     

  • Oskarkuus Profile Picture
    1,097 on at

    Great, that worked!

    Thank you.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard