Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Set-AuthConfig

 

Applies to: Exchange Server 2013

Topic Last Modified: 2012-09-18

Use the Set-AuthConfig cmdlet to modify the authorization configuration for your Exchange organization.

For information about the parameter sets in the Syntax section below, see Syntax.

Set-AuthConfig [-Realm <String>] [-ServiceName <String>] <COMMON PARAMETERS>
Set-AuthConfig -CertificateThumbprint <String> [-Force <SwitchParameter>] [-Server <ServerIdParameter>] [-SkipImmediateCertificateDeployment <SwitchParameter>] <COMMON PARAMETERS>
Set-AuthConfig [-Force <SwitchParameter>] [-NewCertificateEffectiveDate <DateTime>] [-NewCertificateThumbprint <String>] [-Server <ServerIdParameter>] [-SkipImmediateCertificateDeployment <SwitchParameter>] <COMMON PARAMETERS>
Set-AuthConfig [-ClearPreviousCertificate <SwitchParameter>] [-Force <SwitchParameter>] [-PublishCertificate <SwitchParameter>] <COMMON PARAMETERS>
COMMON PARAMETERS: [-Confirm [<SwitchParameter>]] [-DomainController <Fqdn>] [-WhatIf [<SwitchParameter>]]

This example specifies a new certificate and a date when the certificate will become effective.

Set-AuthConfig -NewCertificateThumbprint DB821B4FCA2A5DA9593B9DE00C86BC5EA35D0FC0 -NewCertificateEffectiveDate 4/17/2013

This example immediately rolls over the certificate configured as the next certificate and makes it the current certificate. You must have installed a certificate marked as the next certificate.

Set-AuthConfig -PublishCertificate

The Set-AuthConfig parameter defines Microsoft Exchange as a partner application for server-to-server authentication with other partner applications such as Microsoft SharePoint 2013 and Microsoft Lync 2013, including the certificate used for signing tokens. It's generally not required for this configuration to be modified except in some cases where you must use a different certificate instead of the self-signed certificate created by Exchange Setup or to use a new certificate after the old one has expired.

You need to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they're not included in the permissions assigned to you. To see what permissions you need, see the "Partner applications - configure" entry in the Sharing and Collaboration Permissions topic.

 

Parameter Required Type Description

CertificateThumbprint

Required

System.String

The CertificateThumbprint parameter specifies the thumbprint of the certificate to be used by Exchange for server-to-server authentication.

ClearPreviousCertificate

Optional

System.Management.Automation.SwitchParameter

The ClearPreviousCertificate switch clears the certificate saved as the previous certificate in the authorization configuration.

Confirm

Optional

System.Management.Automation.SwitchParameter

The Confirm switch causes the command to pause processing and requires you to acknowledge what the command will do before processing continues. You don't have to specify a value with the Confirm switch.

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

The DomainController parameter specifies the fully qualified domain name (FQDN) of the domain controller that writes this configuration change to Active Directory.

Force

Optional

System.Management.Automation.SwitchParameter

The Force switch specifies whether to suppress warning or confirmation messages. This switch can be used when the task is run programmatically and prompting for administrative input is inappropriate. If the Force switch isn't provided in the command, you're prompted for administrative input. You don't have to specify a value with this parameter.

NewCertificateEffectiveDate

Optional

System.DateTime

The NewCertificateEffectiveDate parameter specifies a date when the certificate configured as the next certificate should be used.

NewCertificateThumbprint

Optional

System.String

The NewCertificateThumbprint parameter specifies the thumbprint of the new certificate to be used as the next certificate in the authorization configuration.

PublishCertificate

Optional

System.Management.Automation.SwitchParameter

The PublishCertificate switch specifies that the specified certificate be immediately rolled over as the current certificate. The certificate is immediately deployed to all Client Access servers.

Realm

Optional

System.String

The Realm parameter specifies a security realm for partner applications. If a service or user presents a token from a domain that's not an accepted domain in the Exchange organization, the token must contain the specified realm to gain access to resources.

Server

Optional

Microsoft.Exchange.Configuration.Tasks.ServerIdParameter

The Server parameter isn't available in this release.

ServiceName

Optional

System.String

The ServiceName parameter identifies Microsoft Exchange to other partner applications such as SharePoint 2013.

CautionCaution:
Exchange Setup configures the ServiceName parameter with a specific constant value. You shouldn't change this parameter. Changing the ServiceName parameter can result in server-to-server authentication with partner applications not functioning.

SkipImmediateCertificateDeployment

Optional

System.Management.Automation.SwitchParameter

The SkipImmediateCertificateDeployment switch specifies that the certificate shouldn't be used immediately. We recommend that you don't use this parameter in a production environment.

WhatIf

Optional

System.Management.Automation.SwitchParameter

The WhatIf switch instructs the command to simulate the actions that it would take on the object. By using the WhatIf switch, you can view what changes would occur without having to apply any of those changes. You don't have to specify a value with the WhatIf switch.

To see the input types that this cmdlet accepts, see Cmdlet Input and Output Types. If the Input Type field for a cmdlet is blank, the cmdlet doesn’t accept input data.

To see the return types, which are also known as output types, that this cmdlet accepts, see Cmdlet Input and Output Types. If the Output Type field is blank, the cmdlet doesn’t return data.

 
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.