< Back

Get-AdminPowerAppRoleAssignment

Sat Jan 18, 2020 3:47 pm

NAME Get-AdminPowerAppRoleAssignment



SYNOPSIS

Returns permission information about one or more apps.





SYNTAX

Get-AdminPowerAppRoleAssignment -UserId <String> [-ApiVersion <String>] [<CommonParameters>]



Get-AdminPowerAppRoleAssignment -EnvironmentName <String> -UserId <String> [-ApiVersion <String>]

[<CommonParameters>]



Get-AdminPowerAppRoleAssignment -EnvironmentName <String> -AppName <String> [-UserId <String>] [-ApiVersion

<String>] [<CommonParameters>]





DESCRIPTION

The Get-AdminPowerAppRoleAssignment returns permission information about one or more apps.

Use Get-Help Get-AdminPowerAppRoleAssignment -Examples for more detail.





PARAMETERS

-EnvironmentName <String>

Limit apps returned to those in a specified environment.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-AppName <String>

Finds a specific id.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-UserId <String>

A objectId of the user you want to filter by.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ApiVersion <String>



Required? false

Position? named

Default value 2016-11-01

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:\\>Get-AdminPowerAppRoleAssignments -UserId 53c0a918-ce7c-401e-98f9-1c60b3a723b3



Returns all app role assignments across all environments for the user with an object id of

53c0a918-ce7c-401e-98f9-1c60b3a723b3









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-AdminPowerAppRoleAssignments -EnvironmentName 3c2f7648-ad60-4871-91cb-b77d7ef3c239 -UserId

53c0a918-ce7c-401e-98f9-1c60b3a723b3



Returns all app role assignemtns within environment with id 3c2f7648-ad60-4871-91cb-b77d7ef3c239 for the user with

an object id of 53c0a918-ce7c-401e-98f9-1c60b3a723b3









-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Get-AdminPowerAppRoleAssignments -AppName 4d1f7648-ad60-4871-91cb-b77d7ef3c239 -EnvironmentName

3c2f7648-ad60-4871-91cb-b77d7ef3c239 -UserId 53c0a918-ce7c-401e-98f9-1c60b3a723b3



Returns all role assignments for the app with id 4d1f7648-ad60-4871-91cb-b77d7ef3c239 in environment

3c2f7648-ad60-4871-91cb-b77d7ef3c239 for the user with an object id of 53c0a918-ce7c-401e-98f9-1c60b3a723b3









-------------------------- EXAMPLE 4 --------------------------



PS C:\\>Get-AdminPowerAppRoleAssignments -AppName 4d1f7648-ad60-4871-91cb-b77d7ef3c239 -EnvironmentName

3c2f7648-ad60-4871-91cb-b77d7ef3c239



Returns all role assignments for the app with id 4d1f7648-ad60-4871-91cb-b77d7ef3c239 in environment

3c2f7648-ad60-4871-91cb-b77d7ef3c239











RELATED LINKS