You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now we can list all Power Platform environments or get an environment by name. It could be useful if we could just get the default environment.
We could update the command pp environment get and make the option name optional. When name is not specified, the command will return the default environment.
Options
Option
Description
-n, --name [name]
The name of the environment. When not specified, the default environment is retrieved.
Examples
Get the default Power Platform environment
m365 pp environment get
How to achieve
To achieve this, it seems like we should filter on the isDefault property:
The text was updated successfully, but these errors were encountered:
Great suggestion! What if specifying the name was optional and when not specified, we'd return the default environment, without introducing the --default flag?
Great suggestion! What if specifying the name was optional and when not specified, we'd return the default environment, without introducing the --default flag?
Right now we can list all Power Platform environments or get an environment by name. It could be useful if we could just get the default environment.
We could update the command
pp environment get
and make the optionname
optional. Whenname
is not specified, the command will return the default environment.Options
-n, --name [name]
Examples
Get the default Power Platform environment
How to achieve
To achieve this, it seems like we should filter on the
isDefault
property:The text was updated successfully, but these errors were encountered: