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 / Create Channel and add...
Power Automate
Answered

Create Channel and add Planner

(0) ShareShare
ReportReport
Posted on by 55
Hi,
I need to create a Team and a Channel and add Planner to that channel.
 
So I first create the team with
https://graph.microsoft.com/beta/teams
 
Which is the best approach to get the ID of the previous step output so its set to the owner of the Planner? 
It's on the Location attribute.
image.png
 
What I'm doing at the moment is:
 
1. Get location with: outputs('Create_Team_and_Channel')['headers']?['Location']
3. Parse JSON to get targetResourceId
image.png
{
 
"owner": "targetResourceId",
 
"title": "title-value"
}
 
Do these steps look correct or is there a more straight forward approach to create the Channel and add a Planner to it?
Thanks
Categories:
I have the same question (0)
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Jorge_s 

     

    How are you invoking the graph api? Is it through the HTTP request or have you created a custom connector? Either way, the response returns the ID and you can use the same for passing in the next action. Api ref: https://docs.microsoft.com/en-us/graph/api/channel-post?view=graph-rest-1.0&tabs=http

     

    Hope this helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Jorge_s Profile Picture
    55 on at

    Thnaks for your reply.

    What I wasn't sure about is that if I need to perform all that steps just to get the Id of the Team created. They seem too many.

  • Verified answer
    yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Jorge_s 

     

    Nope. You do not have to. If you are directly using the http action, it returns the ID and if you are using a custom connector, you can define the response to return the ID. 

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

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

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard