cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CollabTechie
Responsive Resident
Responsive Resident

Issue with retrieving all Power Apps in my environment

Hi Community,
I need some assistance identifying the name field of my environment to retrieve a list of all apps in my default environment.

Flow requests this
cap1.PNG

When I enter 'default' into this field, I get this error returned

 

 

 

 

The request failed with error: 'The environment '<null>' could not be found in the tenant 

 

 

 

 

 

Any tips?

Thanks,
CT

1 ACCEPTED SOLUTION

Accepted Solutions
CollabTechie
Responsive Resident
Responsive Resident

I figured this out and was able to get the correct environment info with PowerShell. Not obvious Microsoft!

View solution in original post

3 REPLIES 3
CollabTechie
Responsive Resident
Responsive Resident

I figured this out and was able to get the correct environment info with PowerShell. Not obvious Microsoft!

View solution in original post

What did you do to solve this? What PowerShell commands did you run?
I tried using my Tenant ID and still got the null error.

Ok, so I figured out what the problem was in my situation. I was placing the tenant GUID in for the Environment Name. Since I am using the default environment, I found that you have to put "Default-" (without the double quotes) in front of the Tenant GUID.  That got me past that error.

 

I ended up getting a permissions error because my account needs 'ManageAnyPowerApp' permissions. :​/
But at least I got past the null environment issue.

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (47,016)