# Set-RASADIntegrationSettings

## NAME

Set-RASADIntegrationSettings

## SYNOPSIS

Modifies the AD integration settings.

## SYNTAX

**Set-RASADIntegrationSettings** \[[AccessKeyId](#accesskeyid-string) *(string)*] \[-[CAType](#CAType) {MicrosoftADCS | AWSPrivateCA}] \[[CertificateAuthority](#certificateauthority-string) *(string)*] \[[EnrollmentAgentPassword](#enrollmentagentpassword-string) *(SecureString)*] \[[EnrollmentAgentUsername](#enrollmentagentusername-string) *(string)*] \[[NLAPassword](#nlapassword-string) *(SecureString)*] \[[NLAUsername](#nlausername-string) *(string)*] \[[ProviderId](#providerid-string) *(uint)*] \[[Region](#region-string) *(string)*] \[[SecretAccessKey](#secretaccesskey-string) *(SecureString)*] \[[SiteId](#siteid-string) *(uint)*] \[[UseSameAccessKeyAsProvider](#usesameaccesskeyasprovider-string) *(bool)*] \[*(*[*CommonParameters*](#CommonParameters)*)*]

## DESCRIPTION

Modifies the AD integration settings using the specified parameters and their values.

All parameters are optional.

## PARAMETERS

## SiteId (uint)

Site ID in which to modify the specified AD integration settings.

```
        Required?                    false

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## CAType ([CAType](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/catype))

Certificate authority type

Possible values: MicrosoftADCS, AWSPrivateCA

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## CertificateAuthority (string)

Certificate authority

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Region (string)

Region (AWS Private CA). If the Certificate authority is set, the region is ignored as it will be extracted from the Certificate authority.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## UseSameAccessKeyAsProvider (bool)

Specifies whether to use same access key as provider or not (AWS Private CA)

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## ProviderId (uint)

The ID of the specific Provider to be used (AWS Private CA)

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## AccessKeyId (string)

Access Key ID (AWS Private CA)

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## SecretAccessKey (SecureString)

Secret Access Key (AWS Private CA)

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## EnrollmentAgentUsername (string)

Username of the enrollment agent

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## EnrollmentAgentPassword (SecureString)

Password of the account specified in the EnrollmentAgentUsername parameter.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## NLAUsername (string)

Principal name in UPN format used to initialize the RDP session.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## NLAPassword (SecureString)

Password of the account specified in the NLAUsername parameter.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

(CommonParameters)

```
        This cmdlet supports the common parameters: Verbose, Debug,

        ErrorAction, ErrorVariable, WarningAction, WarningVariable,

        OutBuffer, PipelineVariable, and OutVariable. For more information, see 

        about_CommonParameters documentation. 
```

## INPUTS

-none-

## OUTPUTS

-none-

## EXAMPLES

**---------- EXAMPLE 1 ----------**

Set-RASADIntegrationSettings -SiteID 1 -EnrollmentAgentUsername "EAUsername"

Modifies the enrollment agent's username in the AD integration settings.

## RELATED LINKS

* [Get-RASADIntegrationSettings](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/get-rasadintegrationsettings)
* [Invoke-RASADIntegrationSettings](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/invoke-rasadintegrationsettings)
