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 / Staffhub Time Off Mana...
Power Automate
Unanswered

Staffhub Time Off Management

(0) ShareShare
ReportReport
Posted on by

I'm trying to build a flow that adds all time off from anyone to one shared Office365 calendar.  The closest I can get to making this work is using memberId as the Subject line of the Office365 calendar event.  Is there a way to convert memberId to members.displayName?

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

    Hi @aaron_m,

     

    Could you please share a screenshot of your flow's configuration?

    Are these members (that you mentioned) Office 365 users or the StaffHub members?

    Further, do you want to get the Displayname of a StaffHub member within your flow?

     

    I suppose that these members are the StaffHub members, is it true? If you want to get the Displayname of a StaffHub member based on the MemberId (e.g. 'MBER_fc841a77-7354-4991-af6d-2dc0bf502399'), please take a try with the following workaround:

    • Add a proper trigger, here I use Flow Button trigger.
    • Add a "List all members in a team" action, specify the Team Id.
    • Add a "Filter array" action, From set to Members Array of the "List all members in a team" action. Within condition box, left input box set to Member ID, right input box set to a specific member id (on your side, you should type memberId variable that you have gotten), middle drop down, choose is equal to.
    • Add a "Compose" action, Inputs set to following formula:
    first(body('Filter_array'))?['displayName']

    Image reference:1.JPG

    The flow works successfully as below:2.JPG

     

     

     

    Best regards,

    Kris

  • WILDKasia Profile Picture
    2 on at

    Hi! I am looking to do this same thing but I don't know what connectors to use, and the images with the original problem don't include the office 365 calendar connectors! Unless I have read all of this wrong which is entirely possible...

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard