Approve-RASelfServiceRequest

Approve-RASelfServiceRequest

SYNOPSIS

Approves a self-service invitation request

SYNTAX

Approve-RASelfServiceRequest [-accessEndDate] <DateTime> [-canInvite] <Boolean> [-applications] <Object[]> [-id] <String> [-initialStatus] <String> [-accessStartDate] <DateTime> [-InformationAction <ActionPreference>] [-ErrorVariable <String>] [-ErrorAction <ActionPreference>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [-OutBuffer <Int32>] [-PipelineVariable <String>] [-InformationVariable <String>] [-OutVariable <String>] [-Debug] [-provisioningUsername <String>] [-provisioningGroups <String[]>] [-comments <String>] [-provisioningType <String>] [-customText <String>] [-invitedVendorsInitialStatus <String>] [-Verbose] [-maxNumOfInvitedVendors <Int32>] [-phoneAndEmailAuth <Boolean>] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Creates a vendor invitation based on a pending self-service invitation request, with the supplied invitation properties.

EXAMPLES

Example 1

Approve-RASelfServiceRequest

Approves a self-service invitation request

PARAMETERS

-id

The unique ID of the resource.

Type: String
Parameter Sets: (All)
Aliases: 

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-initialStatus

Indicates whether the account is activated automatically or manually by the administrator after registration.

Type: String
Parameter Sets: (All)
Aliases: 

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-accessStartDate

The date when the vendor’s access to Remote Access begins.

Type: DateTime
Parameter Sets: (All)
Aliases: 

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-accessEndDate

The date when the vendor’s access to Remote Access ends.

Type: DateTime
Parameter Sets: (All)
Aliases: 

Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-canInvite

Indicates whether the vendor can invite other vendors.

Type: Boolean
Parameter Sets: (All)
Aliases: 

Required: True
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-applications

The applications and sites, as objects with siteId/applicationId properties.

Type: Object[]
Parameter Sets: (All)
Aliases: 

Required: True
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-comments

Comments about the vendor, including the purpose of the invitation.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 6
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-provisioningType

The provisioning type of the invitee.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 7
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-provisioningUsername

The Vault user in the Idira PAM environment to be created for the vendor.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 8
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-provisioningGroups

The groups that the vendor is added to.

Type: String[]
Parameter Sets: (All)
Aliases: 

Required: False
Position: 9
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-customText

The name of a predefined invitation template added to the invitation.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 10
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-maxNumOfInvitedVendors

The number of subvendors that the vendor can invite. 0 for unlimited.

Type: Int32
Parameter Sets: (All)
Aliases: 

Required: False
Position: 11
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-phoneAndEmailAuth

Indicates whether the vendor authenticates with an SMS code or phone call plus an emailed token, instead of scanning a QR code.

Type: Boolean
Parameter Sets: (All)
Aliases: 

Required: False
Position: 12
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-invitedVendorsInitialStatus

Indicates whether additional vendors invited by the vendor are activated automatically or manually.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 13
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

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

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

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

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

System.String

OUTPUTS

System.Object

NOTES