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 / 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
    12,982 Super User 2025 Season 2 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
    12,982 Super User 2025 Season 2 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

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