< Back

Set-AdminPowerAppOwner

Sat Jan 18, 2020 3:51 pm

NAME Set-AdminPowerAppOwner



SYNOPSIS

Sets the app owner and changes the current owner to "Can View" role type.





SYNTAX

Set-AdminPowerAppOwner [-ApiVersion <String>] -AppName <String> -EnvironmentName <String> -AppOwner <String>

[<CommonParameters>]





DESCRIPTION

The Set-AppOwner Sets the app owner and changes the current owner to "Can View" role type.

Use Get-Help Set-AppOwner -Examples for more detail.





PARAMETERS

-ApiVersion <String>



Required? false

Position? named

Default value 2016-11-01

Accept pipeline input? false

Accept wildcard characters? false



-AppName <String>

App name for the one which you want to set permission.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-EnvironmentName <String>

Limit app returned to those in a specified environment.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-AppOwner <String>

Id of new owner which you want to set.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Set-AppOwner -AppName "73691d1f-0ff5-442c-87ce-1e3e2fba58dc" -EnvironmentName

"Default-55abc7e5-2812-4d73-9d2f-8d9017f8c877" -AppOwner "1ec3c80c-c2c0-4ea6-97a8-31d8c8c3d488"



Sets the app owner to "1ec3c80c-c2c0-4ea6-97a8-31d8c8c3d488" and changes the current owner to "Can View" role type.











RELATED LINKS