cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Post Prodigy
Post Prodigy

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

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.

0 REPLIES 0

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (11,102)