New-AmsRoleAuthorizationRule
SYNOPSIS
Creates a new role authorization rule
SYNTAX
DESCRIPTION
This cmdlet creates a new just-in-time access role, and specifies the users who are allowed to claim the role.
Note: The use of this cmdlet requires Access Manager Enterprise Edition
EXAMPLES
Example 1
Creates a new authorization rule, that allows members of the group DOMAIN\Rocketship-authorized-admins
to become members of the DOMAIN\Rocketship-Prod-Admins
group for a maximum duration of 8 hours and 30 minutes.
PARAMETERS
-AllowExtension
Specifies if the user is allowed to extend their access request before it expires
-DefaultAccessDuration
The amount of time the user is offered to access this role by default. This value cannot be greater than the value defined in MaximumAccessDuration
-Description
A description of the role, as shown to end users
-Disabled
Indicates if the rule should be disabled
-GroupName
The name of the group that users will be added to when granted access to this role
-MaximumAccessDuration
The maximum amount of time the user can request access to this role
-Name
The name of the role, as shown to end users
-Notes
A custom field to store notes, only visible to AMS administrators
-NotificationChannelsFailure
A list of channel IDs that should be notified when a user is denied access to this role
-NotificationChannelsSuccess
A list of channel IDs that should be notified when a user is granted access to this role
-PrincipalsAllowedJit
The list of users who are allowed to access this role. The list can consist of fully qualified usernames (eg domain\user) or SIDs
-PrincipalsDeniedJit
The list of users who are not allowed to access this role. The list can consist of fully qualified usernames (eg domain\user) or SIDs
-RuleExpiryDate
A date and time when this rule will expire, expressed in local time
-UserRequestReasonRequirement
Specifies if the user must provide a reason for the request, if they can optionally provide a reason, or are not prompted at all for a reason
-DomainControllerName
The name of a domain controller to use when performing the JIT operation against
-SiteName
The name of the site to use when trying to find a domain controller to perform the JIT operation against
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
None
OUTPUTS
Lithnet.AccessManager.PowerShell.RoleAuthorizationRulePSObject
NOTES
Use of this cmdlet requires an Enterprise Edition license.
RELATED LINKS
Last updated