< Back
Get-AdminPowerAppEnvironmentRoleAssignment
Post
NAME Get-AdminPowerAppEnvironmentRoleAssignment
SYNOPSIS
Returns the environment role assignments for environments without a Common Data Service For Apps database instance.
SYNTAX
Get-AdminPowerAppEnvironmentRoleAssignment [-EnvironmentName <String>] [-UserId <String>] [-ApiVersion <String>]
[<CommonParameters>]
Get-AdminPowerAppEnvironmentRoleAssignment [-EnvironmentName <String>] [-UserId <String>] [-ApiVersion <String>]
[<CommonParameters>]
DESCRIPTION
The Get-AdminPowerAppEnvironmentRoleAssignment returns environment role assignments for environments with a Common
Data Service For Apps database instance. This includes which users are assigned as an Environment Admin or
Environment Maker in each environment.
Use Get-Help Get-AdminPowerAppEnvironmentRoleAssignment -Examples for more detail.
PARAMETERS
-EnvironmentName <String>
Limit roles returned to those in a specified environment.
Required? false
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? false
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-AdminPowerAppEnvironmentRoleAssignment
Returns all environment role assignments across all environments. where the calling users is an Environment Admin.
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-AdminPowerAppEnvironmentRoleAssignment -UserId 53c0a918-ce7c-401e-98f9-1c60b3a723b3
Returns all environment role assignments across all environments (where the calling users is an Environment Admin)
for the user with an object id of 53c0a918-ce7c-401e-98f9-1c60b3a723b3
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Get-AdminPowerAppEnvironmentRoleAssignment -EnvironmentName 3c2f7648-ad60-4871-91cb-b77d7ef3c239 -UserId
53c0a918-ce7c-401e-98f9-1c60b3a723b3
Returns all environment role assignments for the environment 3c2f7648-ad60-4871-91cb-b77d7ef3c239 for the user
with an object id of 53c0a918-ce7c-401e-98f9-1c60b3a723b3
-------------------------- EXAMPLE 4 --------------------------
PS C:\\>Get-AdminPowerAppEnvironmentRoleAssignment -EnvironmentName 3c2f7648-ad60-4871-91cb-b77d7ef3c239
Returns all environment role assignments for the environment 3c2f7648-ad60-4871-91cb-b77d7ef3c239
RELATED LINKS
SYNOPSIS
Returns the environment role assignments for environments without a Common Data Service For Apps database instance.
SYNTAX
Get-AdminPowerAppEnvironmentRoleAssignment [-EnvironmentName <String>] [-UserId <String>] [-ApiVersion <String>]
[<CommonParameters>]
Get-AdminPowerAppEnvironmentRoleAssignment [-EnvironmentName <String>] [-UserId <String>] [-ApiVersion <String>]
[<CommonParameters>]
DESCRIPTION
The Get-AdminPowerAppEnvironmentRoleAssignment returns environment role assignments for environments with a Common
Data Service For Apps database instance. This includes which users are assigned as an Environment Admin or
Environment Maker in each environment.
Use Get-Help Get-AdminPowerAppEnvironmentRoleAssignment -Examples for more detail.
PARAMETERS
-EnvironmentName <String>
Limit roles returned to those in a specified environment.
Required? false
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? false
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-AdminPowerAppEnvironmentRoleAssignment
Returns all environment role assignments across all environments. where the calling users is an Environment Admin.
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-AdminPowerAppEnvironmentRoleAssignment -UserId 53c0a918-ce7c-401e-98f9-1c60b3a723b3
Returns all environment role assignments across all environments (where the calling users is an Environment Admin)
for the user with an object id of 53c0a918-ce7c-401e-98f9-1c60b3a723b3
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Get-AdminPowerAppEnvironmentRoleAssignment -EnvironmentName 3c2f7648-ad60-4871-91cb-b77d7ef3c239 -UserId
53c0a918-ce7c-401e-98f9-1c60b3a723b3
Returns all environment role assignments for the environment 3c2f7648-ad60-4871-91cb-b77d7ef3c239 for the user
with an object id of 53c0a918-ce7c-401e-98f9-1c60b3a723b3
-------------------------- EXAMPLE 4 --------------------------
PS C:\\>Get-AdminPowerAppEnvironmentRoleAssignment -EnvironmentName 3c2f7648-ad60-4871-91cb-b77d7ef3c239
Returns all environment role assignments for the environment 3c2f7648-ad60-4871-91cb-b77d7ef3c239
RELATED LINKS