Bewerken

Delen via


New-AzManagedServicesEligibleApproverObject

Create an in-memory object for EligibleApprover.

Syntax

New-AzManagedServicesEligibleApproverObject
   -PrincipalId <String>
   [-PrincipalIdDisplayName <String>]
   [<CommonParameters>]

Description

Create an in-memory object for EligibleApprover.

Examples

Example 1: Creates Azure Lighthouse eligible authorization approver object

New-AzManagedServicesEligibleApproverObject -PrincipalId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -PrincipalIdDisplayName "Approvers group"

PrincipalId                          PrincipalIdDisplayName
-----------                          ----------------------
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx Approvers group

Creates Azure Lighthouse eligible authorization approver object.

Parameters

-PrincipalId

The identifier of the Azure Active Directory principal.

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

-PrincipalIdDisplayName

The display name of the Azure Active Directory principal.

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

Outputs

EligibleApprover