Partilhar via


Add-AdminPowerAppsSyncUser

Adds a user to Microsoft Dataverse.

Syntax

Add-AdminPowerAppsSyncUser
   -EnvironmentName <String>
   -PrincipalObjectId <String>
   [-ApiVersion <String>]
   [<CommonParameters>]

Description

Add-AdminPowerAppsSyncUser cmdlet adds a user to Dataverse. Use Get-Help Add-AdminPowerAppsSyncUser -Examples for more detail.

Examples

EXAMPLE 1

Add-AdminPowerAppsSyncUser -EnvironmentName 8c02d657-ad72-4bb9-97c5-afedc4bcf24b -PrincipalObjectId 24a5b286-2abe-46b4-9ba5-9de73169ab9c

Add the user (24a5b286-2abe-46b4-9ba5-9de73169ab9c) to Dataverse that is linked in environment 8c02d657-ad72-4bb9-97c5-afedc4bcf24b.

Parameters

-ApiVersion

Specifies the Api version that is called.

Type:String
Position:Named
Default value:2019-05-01
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-EnvironmentName

The environment's identifier.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-PrincipalObjectId

The objectId of a user to be added.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False