Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Suggested answer

Dynamically access Group ID and Planner ID of a personal Planner plan

(1) ShareShare
ReportReport
Posted on by 4
Hi,
 
I have created a flow that copies tasks that are assigned to me via loop or in group planners into my own personal Planner plan.
It works as intended, no issues there.
 
I now want to share this flow with some coworkers via 'send a copy', but obviously I do not want to send them a copy with the group ID and planner ID for my personal plan, they're meant to use it for their individual plans.
 
Is there a way to dynamically fill the group ID and planner ID based on the user / context in which the flow is running?
(I have tried to find the personal plan by listing all groups I own and the respective planners in them, but since despite having a group ID the personal plan is not in an actual M365 group, the personal plan doesn't show up in this list)
 
Alternatively: is there a better way to share the flow that I am currently overlooking? (It needs to be easy for the coworkers, ideally I don't want them to have to edit the contents of the flow manually)
  • LS-22081209-0 Profile Picture
    4 on at
    Dynamically access Group ID and Planner ID of a personal Planner plan
    Hi,
     
    thank you for the suggestion of creating a Solution.
     
    However, as far as I understand Solutions right now, this would mean I have to create a seperate environment for every user that wants to use my flow, in order for the environment variables to be able to be specific to every individual user.
     
    Is this correct (because that does not really seem like a good option) or am I misunderstanding something about Solutions/environment variables?
    (I haven't worked with solutions before)
     
    Thank you for your help!
  • Suggested answer
    Michael E. Gernaey Profile Picture
    43,442 Super User 2025 Season 1 on at
    Dynamically access Group ID and Planner ID of a personal Planner plan
    Hi
     
    You can create a Solution. Add your existing flow.
     
    Then create 2 Environment Variables
    Set the Values, to your's initially
     
    Export the solution and give it to them.
     
    As they Import, they would change the Values to theirs (as part of the import it will ask).
     
    and done

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