Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Add members to new teams

(2) ShareShare
ReportReport
Posted on by 33

Hi

I am a teacher and create 10+ new class teams per semester. What I would like to create is a flow to add members to the new teams. 

Ideally it would trigger when a new Excel file is dropped into a folder in OneDrive. I can easily create tables for each class with their email address and TeamID as the columns. 

I have tried several things but have failed so far. 

Can someone please help with the setup of this flow?

Thanks

  • Verified answer
    MrGibbs Profile Picture
    33 on at
    Re: Add members to new teams

    After a long run of all your ideas @Sayan and lots of time with ChatGPT and Copilot I have the solution. 

    This is working now.

    • It triggers on an interval to check a table in an Excel File in OneDrive. 
    • It lists the rows in the table. 
    • It correctly provides the Email and TeamID for the Add a member to a Team iteration. 

    My plan is to add informtion to the table at the start of the semester, run the flow and then turn it off once the members have been added. 

    Thanks for your help!

    MrGibbs_0-1720839178494.png

     

  • MrGibbs Profile Picture
    33 on at
    Re: Add members to new teams

    @Sayan 

    This is the current error.

    Action 'Get_files_(properties_only)' failed: SharePoint Site Address '/drives/b!uBmfnuiOdUWDJtmoHV3Tetv0rcx4UU5Jth_zpRnQHErmB2J67NO2TqIDi0bRaMic/root:/Teams automation/members v11.xlsx' is not valid clientRequestId: 70a27de0-c2b9-4b25-8c8b-280b86e0e602

    When I made the change, I had to redo a lot of settings maybe I messed something up. Does this look correct?

    MrGibbs_1-1720821845785.png

     

     

    MrGibbs_2-1720821845789.png

     

     

    MrGibbs_3-1720821845791.png

     

     

    MrGibbs_4-1720821845791.png

     

     

    MrGibbs_5-1720821845792.png

     

     

    MrGibbs_6-1720821845798.png

     

     

     

     

  • Sayan Profile Picture
    778 Super User 2025 Season 1 on at
    Re: Add members to new teams

    Hey @MrGibbs 

    For me "List rows present in a Table" working Fine.

     

    Sayan_0-1720820033577.png

    Sayan_1-1720820045448.png

    Please try it hope it will work:

     

    Create Change connection and use the new connection in List rows present in a Table.

    Hope it will works.

     

    Thanks,

    Sayan Patra

    RPA Developer

     

  • MrGibbs Profile Picture
    33 on at
    Re: Add members to new teams

    @Sayan 

    Here is my test table I setup with one student. 

    MrGibbs_0-1720819127852.png

     

    Also those two advanced parameters you asked me to delete keep reappearing after I run a test. I delete them, save, run the test and then they are there again. 

    MrGibbs_2-1720819271140.png

     

     

     

  • Sayan Profile Picture
    778 Super User 2025 Season 1 on at
    Re: Add members to new teams

    Hey @MrGibbs 

    can you please share the screenshot of excel file?

  • MrGibbs Profile Picture
    33 on at
    Re: Add members to new teams

    Sorry @Sayan 

    I am recieving the same error

    MrGibbs_0-1720818614866.png

     

  • Sayan Profile Picture
    778 Super User 2025 Season 1 on at
    Re: Add members to new teams

    Hey @MrGibbs 

     

    Is the problem Solved or not.

    if the issue is not solved, please share the current error.

     

    Thanks,

    Sayan Patra

    RPA Developer

  • MrGibbs Profile Picture
    33 on at
    Re: Add members to new teams

    Hi @Sayan 

    After deleting these two from List rows present. 

    MrGibbs_0-1720818025034.png

    List_rows_present_in_a_table - Raw Output

    MrGibbs_1-1720818188525.png

     

  • Sayan Profile Picture
    778 Super User 2025 Season 1 on at
    Re: Add members to new teams

    Hey @MrGibbs 

    can you please delete the Last to Actions and Run the workflow and please share the Raw Outputs.

    In "List Of Rows" what input parameters you have given I am unable to see.

     

    ------------------------------------------------------------------------------------------------------------------------------

    Thanks,

    Sayan Patra

    RPA Developer

  • MrGibbs Profile Picture
    33 on at
    Re: Add members to new teams

    List of Rows Present in a Row

    MrGibbs_0-1720780610429.png

    The Foreach.

    MrGibbs_2-1720780710287.png

     

    MrGibbs_1-1720780676955.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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492