# Set-RASSAMLIDP.md

## NAME

Set-RASSAMLIDP

## SYNOPSIS

Modifies a SAMLIDP.

## SYNTAX

**Set-RASSAMLIDP** \[[Id](#id-string)] *(uint)* \[[AllowUnencryptedAssertion](#allowunencryptedassertion-string) *(bool)*] \[[AttributeAD](#attributead-string) *(string)*] \[[AttributeEnabled](#attributeenabled-string) *(bool)*] \[[AttributeSAML](#attributesaml-string) *(string)*] \[-[AttributeType](#AttributeType) {UserPrincipalName | ImmutableID | SID | sAMAccountName | Custom}] \[[Description](#description-string) *(string)*] \[[Enabled](#enabled-string) *(bool)*] \[[Host](#host-string) *(string)*] \[[IDPCertificate](#idpcertificate-string) *(string)*] \[[IDPEntityID](#idpentityid-string) *(string)*] \[[LogonURL](#logonurl-string) *(string)*] \[[LogoutURL](#logouturl-string) *(string)*] \[[NewName](#newname-string) *(string)*] \[[ThemeId](#themeid-string) *(uint)*] \[*(*[*CommonParameters*](#CommonParameters)*)*]

**Set-RASSAMLIDP** \[-[InputObject](#inputobject)] *(*[*SAMLIDP*](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/samlidp.md)*)* \[[AllowUnencryptedAssertion](#allowunencryptedassertion-string) *(bool)*] \[[AttributeAD](#attributead-string) *(string)*] \[[AttributeEnabled](#attributeenabled-string) *(bool)*] \[[AttributeSAML](#attributesaml-string) *(string)*] \[-[AttributeType](#AttributeType) {UserPrincipalName | ImmutableID | SID | sAMAccountName | Custom}] \[[Description](#description-string) *(string)*] \[[Enabled](#enabled-string) *(bool)*] \[[Host](#host-string) *(string)*] \[[IDPCertificate](#idpcertificate-string) *(string)*] \[[IDPEntityID](#idpentityid-string) *(string)*] \[[LogonURL](#logonurl-string) *(string)*] \[[LogoutURL](#logouturl-string) *(string)*] \[[NewName](#newname-string) *(string)*] \[[ThemeId](#themeid-string) *(uint)*] \[*(*[*CommonParameters*](#CommonParameters)*)*]

**Set-RASSAMLIDP** \[[Name](#name-string)] *(string)* \[\[-[SiteId](#siteid-string)] *(uint)*] \[[AllowUnencryptedAssertion](#allowunencryptedassertion-string) *(bool)*] \[[AttributeAD](#attributead-string) *(string)*] \[[AttributeEnabled](#attributeenabled-string) *(bool)*] \[[AttributeSAML](#attributesaml-string) *(string)*] \[-[AttributeType](#AttributeType) {UserPrincipalName | ImmutableID | SID | sAMAccountName | Custom}] \[[Description](#description-string) *(string)*] \[[Enabled](#enabled-string) *(bool)*] \[[Host](#host-string) *(string)*] \[[IDPCertificate](#idpcertificate-string) *(string)*] \[[IDPEntityID](#idpentityid-string) *(string)*] \[[LogonURL](#logonurl-string) *(string)*] \[[LogoutURL](#logouturl-string) *(string)*] \[[NewName](#newname-string) *(string)*] \[[ThemeId](#themeid-string) *(uint)*] \[*(*[*CommonParameters*](#CommonParameters)*)*]

## DESCRIPTION

Modifies properties of a SAMLIDP.

## PARAMETERS

## Name (string)

The name of the target SAMLIDP.

This must be the actual SAMLIDP name used in the RAS farm.

```
        Required?                    true

        Position?                    0

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## SiteId (uint)

Site ID in which to modify the specified SAMLIDP.

If the parameter is omitted, the site ID of the Licensing Server will be used.

```
        Required?                    false

        Position?                    1

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Id (uint)

The ID of the SAMLIDP to modify. To obtain the ID, use the Get-SAMLIDP cmdlet.

```
        Required?                    true

        Position?                    0

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## InputObject ([SAMLIDP](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/samlidp.md))

The SAMLIDP to modify.

To obtain an object of type SAMLIDP representing a SAMLIDP, use the Get-SAMLIDP cmdlet.

```
        Required?                    true

        Position?                    0

        Default value                

        Accept pipeline input?       true (ByValue)

        Accept wildcard characters?  false
```

## Enabled (bool)

Enable or disable the specified SAMLIDP in a site.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## NewName (string)

The new name of the target SAMLIDP.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Description (string)

A user-defined SAMLIDP description.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## ThemeId (uint)

Specifies the SAMLIDP theme

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## IDPEntityID (string)

The IDP entity ID

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## IDPCertificate (string)

The IDP certificate

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## LogonURL (string)

The logon URL

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## LogoutURL (string)

The logout URL

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## AllowUnencryptedAssertion (bool)

Allow unencrypted assertion

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Host (string)

Host name of gateway

This specified gateway will receive the calls for SP URLs.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## AttributeType ([AttributeType](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/attributetype.md))

Specifies the attribute type

Possible values: UserPrincipalName, ImmutableID, SID, sAMAccountName, Custom

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## AttributeEnabled (bool)

Enable or disable an attribute of a specified SAMLIDP

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## AttributeSAML (string)

Specifies the SAMLIDP attribute.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## AttributeAD (string)

Specifies the AD attribute.

```
        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

[SAMLIDP](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/samlidp.md)

## OUTPUTS

[SAMLIDP](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/samlidp.md)

[The](https://github.com/Parallels-Corp/RAS-20-docs/blob/origin/admin-guide-20.3-release/20_RAS-20_API_Guides/PS-API/MD/RASAdmin/types/The.md)

[server](https://github.com/Parallels-Corp/RAS-20-docs/blob/origin/admin-guide-20.3-release/20_RAS-20_API_Guides/PS-API/MD/RASAdmin/types/server.md)

[or](https://github.com/Parallels-Corp/RAS-20-docs/blob/origin/admin-guide-20.3-release/20_RAS-20_API_Guides/PS-API/MD/RASAdmin/types/or.md)

[authorization](https://github.com/Parallels-Corp/RAS-20-docs/blob/origin/admin-guide-20.3-release/20_RAS-20_API_Guides/PS-API/MD/RASAdmin/types/authorization.md)

[authority](https://github.com/Parallels-Corp/RAS-20-docs/blob/origin/admin-guide-20.3-release/20_RAS-20_API_Guides/PS-API/MD/RASAdmin/types/authority.md)

[that](https://github.com/Parallels-Corp/RAS-20-docs/blob/origin/admin-guide-20.3-release/20_RAS-20_API_Guides/PS-API/MD/RASAdmin/types/that.md)

[the](https://github.com/Parallels-Corp/RAS-20-docs/blob/origin/admin-guide-20.3-release/20_RAS-20_API_Guides/PS-API/MD/RASAdmin/types/the.md)

[client](https://github.com/Parallels-Corp/RAS-20-docs/blob/origin/admin-guide-20.3-release/20_RAS-20_API_Guides/PS-API/MD/RASAdmin/types/client.md)

[can](https://github.com/Parallels-Corp/RAS-20-docs/blob/origin/admin-guide-20.3-release/20_RAS-20_API_Guides/PS-API/MD/RASAdmin/types/can.md)

[use](https://github.com/Parallels-Corp/RAS-20-docs/blob/origin/admin-guide-20.3-release/20_RAS-20_API_Guides/PS-API/MD/RASAdmin/types/use.md)

[to](https://github.com/Parallels-Corp/RAS-20-docs/blob/origin/admin-guide-20.3-release/20_RAS-20_API_Guides/PS-API/MD/RASAdmin/types/to.md)

[authenticate](https://github.com/Parallels-Corp/RAS-20-docs/blob/origin/admin-guide-20.3-release/20_RAS-20_API_Guides/PS-API/MD/RASAdmin/types/authenticate.md)

## EXAMPLES

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

Set-RASSAMLIDP "My SAMLIDP" -Enabled $False

Disables the SAMLIDP specified by name.\
\*\*---------- EXAMPLE 2 ----------

Set-RASSAMLIDP -Id 10 -Enabled $False

Disables the SAMLIDP specified by ID.\
\*\*---------- EXAMPLE 3 ----------

Set-RASSAMLIDP $SAMLIDP -Enabled $False

Disables the SAMLIDP specified by the $SAMLIDP variable (an object of type SAMLIDP).

## RELATED LINKS

* [New-RASSAMLIDP](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/commands/new-rassamlidp.md)
* [Get-RASSAMLIDP](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/commands/get-rassamlidp.md)
* [Remove-RASSAMLIDP](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/commands/remove-rassamlidp.md)


---

# Agent Instructions: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
