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 / Add Column To HTML Tab...
Power Automate
Answered

Add Column To HTML Table (Within Apply To Each Loop)

(0) ShareShare
ReportReport
Posted on by 56

Hi All,

I'm struggling with what seems like a relatively easy solution. Ultimately, I'm trying to create a HTML Table containing 3 columns:

  • User
  • Job Title
  • Manager

The User and Job Title columns are being pulled from the Azure AD Get group members action: 

 

Azure_AD_Members_HTML_Table_Part_1.PNG

 

However, this does not include the Manager value for each of the users assigned to the specified AD Group. Thus, I added an "Apply to each" loop which pulls each user's manager via the Get manager (V2) action:

 

Azure_AD_Members_HTML_Table_Part_2.PNG

This works as expected - but what I'm trying to do from here is add a "Manager" column to the HTML table and insert the manager value (for each user). 

I'm sure it's a lot simpler than I'm making it out to be, so any help is appreciated. Thanks!

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    on at

    Hi @bcanfield83 ,

     

    I made a sample for you.

    vxiaochenmsft_0-1681784360912.png

    {
    "User":@{items('Apply_to_each')?['displayName']},
    "jobTitle":@{items('Apply_to_each')?['jobTitle']},
    "ManagerName":@{outputs('Get_manager_(V2)')?['body/displayName']}
    }

     

    Best Regards,

    Wearsky

  • bcanfield83 Profile Picture
    56 on at

    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 307 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 269 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 115 Super User 2026 Season 1

Last 30 days Overall leaderboard