Skip to main content

Notifications

Power Automate - Building Flows
Answered

Using Graph API to return PowerApp environment and Flows?

(2) ShareShare
ReportReport
Posted on by 603
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
  • David_MA Profile Picture
    David_MA 9,080 on at
    Using Graph API to return PowerApp environment and Flows?
    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.
  • RandomDept Profile Picture
    RandomDept 603 on at
    Using Graph API to return PowerApp environment and Flows?
    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 :)
  • Suggested answer
    David_MA Profile Picture
    David_MA 9,080 on at
    Using Graph API to return PowerApp environment and Flows?
    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.

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,691

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 65,019

Leaderboard