Skip to main content

Notifications

Community site session details

Community site session details

Session Id : Dd2ejAyit55gUByCCclYBd
Power Automate - Building Flows
Unanswered

Get tenantId and environment / instance url in Flow

Like (0) ShareShare
ReportReport
Posted on 30 Mar 2022 12:03:07 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 🙂

  • mjburley Profile Picture
    370 on 30 Mar 2022 at 12:44:30
    Re: Get tenantId and environment / instance url in Flow

    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 🙂

  • HerrMueller Profile Picture
    79 on 30 Mar 2022 at 12:16:44
    Re: Get tenantId and environment / instance url in Flow

    Hi @Ahammad_Riyaz,

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

  • Riyaz_riz11 Profile Picture
    2,666 Super User 2025 Season 1 on 30 Mar 2022 at 12:14:50
    Re: Get tenantId and environment / instance url in Flow

    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.

     

     

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Automate - Building Flows

#1
David_MA Profile Picture

David_MA 222 Super User 2025 Season 1

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 215 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 190

Overall leaderboard
Loading started