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 / Get tenantId and envir...
Power Automate
Unanswered

Get tenantId and environment / instance url in Flow

(0) ShareShare
ReportReport
Posted on by 79

Hi,

 

is there a way to get the tenantId and the environment url of the environment, where the flow is deployed on, easily?

 

I know I could store these information in environment variables and retrieve them in a Flow, but maybe there is an easier way available through an official connector / action.

 

Thanks 🙂

Categories:
I have the same question (0)
  • Riyaz_riz11 Profile Picture
    4,048 Super User 2026 Season 1 on at

    Hi @HerrMueller 

     

    Use this link

    https://admin.powerplatform.microsoft.com/

    Select the environment and you can able to see details.

    Ahammad_Riyaz_0-1648642259129.png

     

    2nd Method:-

    https://make.powerapps.com/

    Ahammad_Riyaz_1-1648642432306.png

    Select session details so you will able to get all information.

     

    Regards

    Ahammad Riyaz

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

     

     

  • HerrMueller Profile Picture
    79 on at

    Hi @Ahammad_Riyaz,

    I think I was not clear enough, I mean how to get this information in a running flow

  • mjburley Profile Picture
    370 on at

    The info you need is stored in the workflow() expression, though not in a friendly manner, in GUID speak. Just add that to a compose to see what comes out.

     

    mjburley_0-1648644189744.png

    I tend to store these values in environment variables if there are multiple apps in that environment - just saves each developer having to google the same thing 🙂

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 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard