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 / How do I return data f...
Power Automate
Unanswered

How do I return data from 'Get Environment as Admin' to my App?

(0) ShareShare
ReportReport
Posted on by 894

I am trying to return the Environment name to my canvas app so that it can be displayed on screen.

get environment as admin.PNG

When I run this from the App, all it returns is 'True'

I tried this:

Set(gblEnvironmentVariable,'PowerApp->GetEnvironmentasAdmin'.Run());

This is what is returned:

gblEnvironmentVariable.PNG

I was expecting to be able to use gblEnvironmentVariable.DisplayName but all I get is a boolean value.

Categories:

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 414

#2
11manish Profile Picture

11manish 331 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard