Remove-DataGatewayClusterDatasourceUser
Removes the specified user from the specified Power BI datasource of the specified gateway cluster
Syntax
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 [email protected]
Removes access of '[email protected]' for the datasource.
Parameters
-GatewayClusterDatasourceId
Data source for which the user needs to be removed.
Type: | Guid |
Aliases: | DatasourceId, Datasource |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-GatewayClusterId
Gateway cluster where the specific data source exists
Type: | Guid |
Aliases: | Cluster, Id |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-UserId
The user to remove. This should be either a PrincipalObjectId (GUID type) or match the Identifier/UserEmailAddress value from Get-DataGatewayClusterDatasourceUser
Type: | String |
Aliases: | UserEmailAddress, EmailAddress, PrincipalObjectId, User |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
System.Void