cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
karamem0
Level: Powered On

'-EnvironmentName' parameter is better to rename to '-EnvironmentId'

In PowerApps PowerShell script functions, '-EnvironmentName' parameter requires GUID, but not name (e.g. "My Environment"). It is not suitable and many users may be confused, so rename to '-EnvironmentId'. 

2 REPLIES 2
PowerApps Staff jo
PowerApps Staff

Re: '-EnvironmentName' parameter is better to rename to '-EnvironmentId'

That's true, the semantics that we use throughout the cmdlets is that the identifier for a resource = {Resource}Name (e.g. EnvironmentName, AppName, etc.).

 

It's good feedback, however I hope it is clear from the examples we provide for each function.

karamem0
Level: Powered On

Re: '-EnvironmentName' parameter is better to rename to '-EnvironmentId'

For example, 'Id' parameter and 'Name' parameter are clearly distinguished in Azure PowerShell.

 

Get-AzureRmSubscription -SubscriptionId "yyyy-yyyy-yyyy-yyyy"
Get-AzureRmSubscription -SubscriptionName "Contoso Subscription 1"

 Therefore, users expect to accept GUID in 'Id' parameter.

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

Follow PowerApps on Twitter

Stay Up-to-Date by following PowerApps on Twitter

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

Top Kudoed Authors
Users Online
Currently online: 52 members 3,926 guests
Please welcome our newest community members: