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 Apps / Fetch Sharepoint tenan...
Power Apps
Unanswered

Fetch Sharepoint tenant ID / name by using an app or a flow

(0) ShareShare
ReportReport
Posted on by 287

Hello community,

 

I didn't find any documentation from the internet how to achieve this need so I am posting my question here, hopefully someone will be able to help!

 

The goal of mine is to somehow fetch the "SharePoint tenant name" by using a Power App or a flow. The red underlined text is the tenant's SharePoint tenant ID / name:

VilPel_1-1679573975982.png

 

You can find this value from any SharePoint URL of the tenant by browsing the document libraries, sites, etc.

 

What connector or action could I use to return any SharePoint URL from my tenant where this value is present? After getting the URL, the tenant ID could be parsed from the result.

 

Preferably I would not like to use any connector actions or sites with hard-coded site addresses.

 

Thank you in advance,

Ville

I have the same question (0)
  • velegandla Profile Picture
    204 Moderator on at

    @VilPel 

    Try using Send an HTTP request to SharePoint in Power Automate flow with uri "/_api/SP.TenantSettings.Current" ? 

     

  • VilPel Profile Picture
    287 on at

    Thanks for your response @Velegandla , I think your solution would have worked just as well but in the end I made my call with the Office 365 Groups HTTP action and parsed the result from the response! 

    VilPel_0-1680713317008.png

     

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard