web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How do I get the Share...
Power Automate
Answered

How do I get the SharePoint site url to Teams connected site

(0) ShareShare
ReportReport
Posted on by 225
I have a flow where I create a new team in Teams. After this, I need to get the site url for the SharePoint site that is connected to the team. 
 
How do I get that? The most obvius choice is the "Send an HTTP request to SharePoint", but I haven't figured out the uri...
 
Anyone out there who knows?
 
PS!I had to put a category on here, but for some reason I had to choose between "Flow Mobile App", "Licencing" and "Business Process Flows"....
Categories:
I have the same question (1)
  • Verified answer
    Pstork1 Profile Picture
    69,125 Most Valuable Professional on at
     
    There is an action in the Teams connector that lets you send an MS Graph call.  The one you want is
     
     
    using the TeamID that you got when you created the new Team
     

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     
  • TonjeItIs Profile Picture
    225 on at
  • Verified answer
    David_MA Profile Picture
    14,085 Super User 2026 Season 1 on at
    If the URL you show in your message below is the one that you used in the Graph API call, it is because you did not specify the value for <myTeamid>. When there are values enclosed in <> Graph API expressions, it means you need to replace it with a value. In this case the unique GUID of the group associated with the team and SharePoint site.
     
    The ID will be returned from the Create a Team action, which you can use in the Graph API call.

  • TonjeItIs Profile Picture
    225 on at
    Thank you for your answer David, 
     
    I just switched my TeamID hvis the tag, so when I ran the flow, I had my id in there. 
     
    The reason why I need the SharePoint url is because I am going to add a sitescript, som folders and files and so on to the SharePoint site inside this flow. 
  • David_MA Profile Picture
    14,085 Super User 2026 Season 1 on at
    @TonjeWaasjo I modified my prior post to show you how to achieve what you need to do.
  • TonjeItIs Profile Picture
    225 on at
    Thanks,
     
    First this did not work, but when I put in a 2 min delay after the team creation it worked =)
  • David_MA Profile Picture
    14,085 Super User 2026 Season 1 on at
    The delay makes sense. It probably takes some time for the group to actually be created, and the ID generated. If my reply and the original one from @Pstork1 below answered your question, please mark them as the answer to close out this question.
  • TonjeItIs Profile Picture
    225 on at
    I am trying to, but it will not stick. They are just removed when I refresh...
     
  • David_MA Profile Picture
    14,085 Super User 2026 Season 1 on at
    @TonjeWaasjo thank you for letting me know the solution worked. As a super user I can mark the ones that helped you as the answers. Glad it worked for 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard