Edit

Share via


Get-CsAuthConfig

Use the Get-CsAuthConfig cmdlet to retrieve the authentication configuration for your organization.

Syntax

Default (Default)

Get-CsAuthConfig
    [[-Pool] <String>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

Use the Get-CsAuthConfig cmdlet to retrieve the authentication configuration for your organization.

This cmdlet gets authentication configuration from two server roles: Registrar and WebServices.

It is meant to only be run at the global level.

If you do run it at the pool level and only one of the roles are present on the pool, the cmdlet will return the setting that corresponds to the role that exists on the pool and the global settings for the role that doesn't exist on the pool.

If neither role is present on the pool, it will return an error.

If both roles are present for the pool, but policies are not defined at the pool level, the cmdlet will return an error.

Examples

Example 1

PS C:\> {{ Add example code here }}

{{ Add example description here }}

Parameters

-Confirm

Applicable: Skype for Business Server 2019

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Pool

Applicable: Skype for Business Server 2019

{{Fill Pool Description}}

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

-WhatIf

Applicable: Skype for Business Server 2019

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

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

System.String

Outputs

System.Object