< Back

New-PBIGroupUser

Sat Jan 18, 2020 8:43 pm

NAME New-PBIGroupUser



SYNOPSIS

Add a user to a group





SYNTAX

New-PBIGroupUser [[-authToken] <String>] [-groupId] <String> [-emailAddress] <String> [[-groupUserAccessRight]

<String>] [<CommonParameters>]





DESCRIPTION

Adds a new user to an existing group (app workspace) in PowerBI





PARAMETERS

-authToken <String>

The authorization token required to comunicate with the PowerBI APIs

Use 'Get-PBIAuthToken' to get the authorization token string



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-groupId <String>

The id of the group in PowerBI



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-emailAddress <String>

The email address of the user in your organisation that you want to add to the group



Required? true

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-groupUserAccessRight <String>

The access right the user gets on the group



Required? false

Position? 4

Default value Admin

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:\\>New-PBIGroupUser -authToken $authToken -groupId $groupId -emailAddress "someone@your-organisation.com"















RELATED LINKS