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 / Using Graph API to ret...
Power Automate
Answered

Using Graph API to return PowerApp environment and Flows?

(3) ShareShare
ReportReport
Posted on by 696
Does anyone know if there is a way to get this data from Graph API and or where I would find the documentation around it?
 
Thank you
RD
Categories:
I have the same question (0)
  • Suggested answer
    David_MA Profile Picture
    13,912 Super User 2026 Season 1 on at
    You can go to the Graph Explorer to see what options are available to query at Graph Explorer | Try Microsoft Graph APIs - Microsoft Graph. I don't see anything available about Power Platform environments. The link to documentation is Microsoft Graph REST API v1.0 endpoint reference - Microsoft Graph v1.0 | Microsoft Learn and is listed in the Graph Explorer.
  • RandomDept Profile Picture
    696 on at
    Thanks @David Ma
    I couldn't find anything in the Endpoint reference either, was hoping there may have been some super secret documentation for PowerApps interaction somewhere else.
    Oh well, we can only wait :)
  • David_MA Profile Picture
    13,912 Super User 2026 Season 1 on at
    I don't know if this is helpful, but this expression in Power Automate will bring you to the flow run:
    concat(concat(concat(concat('https://make.powerautomate.com/environments/', workflow()?['tags']['environmentName'],'/flows/',workflow()?['name'],'/runs/',workflow()?['run']['name']))))
    This expression will open the details page of a flow:
    concat(concat(concat('https://make.powerautomate.com/environments/', workflow()?['tags']['environmentName'],'/flows/',workflow()?['name'],'/details')))
    Therefore, just this will return the environment: workflow()?['tags']['environmentName']
     
    I didn't think to mention this before since you were specifically asking about the Graph API.

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard