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 Apps / Returning a list of al...
Power Apps
Unanswered

Returning a list of all Environment Names in a canvas app. - PowerPlatformforAdmins.GetAdminEnvironment().value only gives me GUIDS

(0) ShareShare
ReportReport
Posted on by 696

Good morning all,

 

I'm trying to get a simple drop down working to list all environments in the tenant.

 

I'm trying PowerPlatformforAdmins.GetAdminEnvironment().value as the 'Items' value, and when I got to choose the fields I get the choices of


ID

Location

Name

Properties

Type
 

If I choose Name, I still get the result returned as a GUID and not the actual name.

 

Another way I was going to work around it was to grab the environments from the Centre of Excellence 'Environment' table.

For some reason I cannot get it to work with a drop down. I can use any other Dataverse table from any environment and choose the fields from the dropdown edit. But if the table is named Environment it won't work.

 

Any ideas?

 

Thank you

RD

I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    on at

    Hi @RandomDept ,

     

    Please try this

    AddColumns(PowerPlatformforAdmins.GetAdminEnvironment().value,temp,ThisRecord.properties.linkedEnvironmentMetadata.friendlyName)

    vxiaochenmsft_0-1717723604335.png

     

    Best Regards,

    Wearsky

  • RandomDept Profile Picture
    696 on at

    That worked, I have no idea what it means or how you figured it out 🙂

  • owork138 Profile Picture
    20 on at

    I have been facing the same issue since when I figured it out, I have no idea what it means or how to resolve it, Need help with Libgen is

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard