cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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.

Highlighted
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

PowerApps Monthly Community Call

Next Wednesday, August 21st at 8am PDT

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!

SixthImage

Power Summit Australia 2019

August 20-23rd 2019

Users Online
Currently online: 144 members 3,685 guests
Please welcome our newest community members: