次の方法で共有


Add-AdminPowerAppsSyncUser

Adds a user to Microsoft Dataverse.

Syntax

Default (Default)

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.

Parameter properties

Type:String
Default value:2019-05-01
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-EnvironmentName

The environment's identifier.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-PrincipalObjectId

The objectId of a user to be added.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
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.