question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New command: m365 pp environment list

See original GitHub issue

Usage

m365 pp environment list

Description

Retrieve PowerApps environments

Options

Option Description
--asAdmin Run the command as admin and retrieve all environments. Lists only environments you have explicitly are assigned permissions to by default.

Additional Info

You can find inspiration in flow environment list and pa environment list but this command uses the new endpoint available (#2917 will implement the bapEndpoint)

Call https://{bapEndpoint}/providers/Microsoft.BusinessAppPlatform/scopes/admin/environments?api-version={apiVersion} for all admin environments and https://{bapEndpoint}/providers/Microsoft.BusinessAppPlatform/environments?api-version={apiVersion}

Show name and displayName as defaultProperties when outputing text or csv

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
waldekmastykarzcommented, Mar 21, 2022

My pleasure! Sometimes, where you’re deep in the weeds, it’s hard to spot typos, so always a good idea to get a fresh pair of eyes 😊

3reactions
reshmee011commented, Mar 21, 2022

@waldekmastykarz: thanks for spotting the mistake, it is working now 😃 fresh pair of eyes help though feeling gutted for wasting time thinking it was a permission issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

environment list - CLI for Microsoft 365
Run the command as admin and retrieve all environments. Lists only environments you have explicitly are assigned permissions to by default. -h, --help...
Read more >
Environments overview - Power Platform | Microsoft Learn
A Power Platform environment is a space to store, manage, and share your organization's business data, apps, chatbots, and flows.
Read more >
3 Methods How To Connect To Exchange Online PowerShell
However, standard commands of the Exchange PowerShell module that work in the local environment with a standalone instance of Microsoft ...
Read more >
Azure Virtual Desktop: Simple Step-by-Step Walkthrough
Part 3: Prepping for Your WVD Environment with PowerShell – Finding Your Azure Subscription ID and Active Directory Tenant ID
Read more >
Where can I see a list of my Power Apps? - Forward Forever
New filtering rules for Office app list · Apps a user has launched in the last 7 days · Apps created by a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found