New-AzManagedServicesEligibleApproverObject
Create an in-memory object for EligibleApprover.
Syntax
Default (Default)
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.
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: | False |
Value from remaining arguments: | False |
-PrincipalIdDisplayName
The display name of the Azure Active Directory principal.
Parameter properties
Type: | String |
Default value: | None |
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 |
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.