< Back
Get-AdminPowerAppConnectorRoleAssignment
Post
NAME Get-AdminPowerAppConnectorRoleAssignment
SYNOPSIS
Returns the connection role assignments for a user or a custom connection. Owner role assignments cannot be
deleted without deleting the connection resource.
SYNTAX
Get-AdminPowerAppConnectorRoleAssignment [[-ConnectorName] <String>] [[-EnvironmentName] <String>]
[[-PrincipalObjectId] <String>] [[-ApiVersion] <String>] [<CommonParameters>]
DESCRIPTION
The Get-AdminConnectorRoleAssignment functions returns all roles assignments for an custom connector or all custom
connectors roles assignments for a user (across all of their connections). A connection's role assignments
determine which users have access to the connection for using or building apps and flows and with which permission
level (CanUse, CanUseAndShare) .
Use Get-Help Get-AdminPowerAppConnectorRoleAssignment -Examples for more detail.
PARAMETERS
-ConnectorName <String>
The connector's identifier.
Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-EnvironmentName <String>
The connector's environment.
Required? false
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-PrincipalObjectId <String>
The objectId of a user or group, if specified, this function will only return role assignments for that user
or group.
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ApiVersion <String>
Required? false
Position? 4
Default value 2017-06-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-AdminPowerAppConnectorRoleAssignment
Returns all role assignments for all custom connectors in all environments
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-AdminPowerAppConnectorRoleAssignment -ConnectorName
shared_customapi2.5f0629412a7d1fe83e.5f6f049093c9b7a698
Returns all role assignments for the connector with name shared_customapi2.5f0629412a7d1fe83e.5f6f049093c9b7a698
in all environments
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Get-AdminPowerAppConnectorRoleAssignment -ConnectorName
shared_customapi2.5f0629412a7d1fe83e.5f6f049093c9b7a698 -EnvironmentName 0fc02431-15fb-4563-a5ab-8211beb2a86f
-PrincipalObjectId a1caec2d-8b48-40cc-8eb8-5cf95b445b46
Returns all role assignments for the user, or group with an principal object id of
a1caec2d-8b48-40cc-8eb8-5cf95b445b46 for the custom connector with name
shared_customapi2.5f0629412a7d1fe83e.5f6f049093c9b7a698 in environment with name
0fc02431-15fb-4563-a5ab-8211beb2a86f
RELATED LINKS
SYNOPSIS
Returns the connection role assignments for a user or a custom connection. Owner role assignments cannot be
deleted without deleting the connection resource.
SYNTAX
Get-AdminPowerAppConnectorRoleAssignment [[-ConnectorName] <String>] [[-EnvironmentName] <String>]
[[-PrincipalObjectId] <String>] [[-ApiVersion] <String>] [<CommonParameters>]
DESCRIPTION
The Get-AdminConnectorRoleAssignment functions returns all roles assignments for an custom connector or all custom
connectors roles assignments for a user (across all of their connections). A connection's role assignments
determine which users have access to the connection for using or building apps and flows and with which permission
level (CanUse, CanUseAndShare) .
Use Get-Help Get-AdminPowerAppConnectorRoleAssignment -Examples for more detail.
PARAMETERS
-ConnectorName <String>
The connector's identifier.
Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-EnvironmentName <String>
The connector's environment.
Required? false
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-PrincipalObjectId <String>
The objectId of a user or group, if specified, this function will only return role assignments for that user
or group.
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ApiVersion <String>
Required? false
Position? 4
Default value 2017-06-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-AdminPowerAppConnectorRoleAssignment
Returns all role assignments for all custom connectors in all environments
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-AdminPowerAppConnectorRoleAssignment -ConnectorName
shared_customapi2.5f0629412a7d1fe83e.5f6f049093c9b7a698
Returns all role assignments for the connector with name shared_customapi2.5f0629412a7d1fe83e.5f6f049093c9b7a698
in all environments
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Get-AdminPowerAppConnectorRoleAssignment -ConnectorName
shared_customapi2.5f0629412a7d1fe83e.5f6f049093c9b7a698 -EnvironmentName 0fc02431-15fb-4563-a5ab-8211beb2a86f
-PrincipalObjectId a1caec2d-8b48-40cc-8eb8-5cf95b445b46
Returns all role assignments for the user, or group with an principal object id of
a1caec2d-8b48-40cc-8eb8-5cf95b445b46 for the custom connector with name
shared_customapi2.5f0629412a7d1fe83e.5f6f049093c9b7a698 in environment with name
0fc02431-15fb-4563-a5ab-8211beb2a86f
RELATED LINKS