Partager via


Set-AdminPowerAppDesiredLogicalName

Sets the desired logical name of the app in Power Apps.

Syntax

Set-AdminPowerAppDesiredLogicalName
   [-EnvironmentName] <String>
   [-AppName] <String>
   [-DesiredLogicalName] <String>
   [[-ApiVersion] <String>]
   [<CommonParameters>]

Description

The Set-AdminPowerAppDesiredLogicalName cmdlet sets the desired logical name for the specified app in Power Apps.

Examples

EXAMPLE 1

Set-AdminPowerAppDesiredLogicalName -EnvironmentName 08b4e32a-4e0d-4a69-97da-e1640f0eb7b9 -AppName 3c2f7648-ad60-4871-91cb-b77d7ef3c239 -DesiredLogicalName pa232_myapp_234232

Sets the desired logical name with 'pa232_myapp_234232' for the app '3c2f7648-ad60-4871-91cb-b77d7ef3c239' in environment '08b4e32a-4e0d-4a69-97da-e1640f0eb7b9.'

Parameters

-ApiVersion

Specifies the Api version that is called.

Type:String
Position:4
Default value:2020-06-01
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-AppName

App name for the one which you want to set the desired logical name.

Type:String
Position:2
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-DesiredLogicalName

The desired logical name to set to the non-solution aware app.

Type:String
Position:3
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-EnvironmentName

The environment ID to which the app belongs.

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False