Share via


Set-AdminPowerAppDesiredLogicalName

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

Syntax

Default (Default)

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.

Parameter properties

Type:String
Default value:2020-06-01
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:4
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-AppName

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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:2
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-DesiredLogicalName

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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:3
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-EnvironmentName

The environment ID to which the app belongs.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.