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 / 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
    3,891 Super User 2025 Season 2 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

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

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard