> For the complete documentation index, see [llms.txt](https://docs.parallels.com/landing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/set-rasadintegrationsettings.md).

# 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](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/catype.md))

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](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/get-rasadintegrationsettings.md)
* [Invoke-RASADIntegrationSettings](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/invoke-rasadintegrationsettings.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/set-rasadintegrationsettings.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
