Remove-DataGatewayClusterDatasourceUser
Removes the specified user from the specified Power BI datasource of the specified gateway cluster
Syntax
Default (Default)
Remove-DataGatewayClusterDatasourceUser
-GatewayClusterId <Guid>
-GatewayClusterDatasourceId <Guid>
-UserId <String>
[<CommonParameters>]
Description
Removes the specified user from the specified Power BI datasource of the specified gateway cluster
Examples
Example 1
PS C:\> Remove-DataGatewayClusterDatasourceUser -GatewayClusterId DC8F2C49-5731-4B27-966B-3DB5094C2E77 -GatewayClusterDatasourceId 64C574B7-86C6-4560-B710-40AC18990804 -UserId testEmail@tenant.com
Removes access of 'testUpn@tenant.com' for the datasource.
Parameters
-GatewayClusterDatasourceId
Data source for which the user needs to be removed.
Parameter properties
Type: | Guid |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | DatasourceId, Datasource |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-GatewayClusterId
Gateway cluster where the specific data source exists
Parameter properties
Type: | Guid |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | Cluster, Id |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-UserId
The user to remove. This should be either a PrincipalObjectId (GUID type) or match the Identifier/UserEmailAddress value from Get-DataGatewayClusterDatasourceUser
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | UserEmailAddress, EmailAddress, PrincipalObjectId, User |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
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.