Test-CsTeamsShiftsConnectionValidate
This cmdlet validates workforce management (WFM) connection settings.
Syntax
Default (Default)
Test-CsTeamsShiftsConnectionValidate
-ConnectorId <string>
-ConnectorSpecificSettings <IConnectorInstanceRequestConnectorSpecificSettings>
-Name <string>
[<CommonParameters>]
Description
This cmdlet validates Workforce management (WFM) connection settings. It validates that the provided WFM account/password and required endpoints are set correctly.
Examples
Example 1
PS C:\> $InstanceName = "test instance name"
PS C:\> $WfmUserName = "WfmUserName"
PS C:\> $plainPwd = "plainPwd"
PS C:\> Test-CsTeamsShiftsConnectionValidate -ConnectorId "6A51B888-FF44-4FEA-82E1-839401E00000" -ConnectorSpecificSettings (New-Object Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ConnectorSpecificBlueYonderSettingsRequest -Property @{ AdminApiUrl = "https://contoso.com/retail/data/wfmadmin/api/v1-beta3"; SiteManagerUrl = "https://contoso.com/retail/data/wfmsm/api/v1-beta4"; EssApiUrl = "https://contoso.com/retail/data/wfmess/api/v1-beta2"; RetailWebApiUrl = "https://contoso.com/retail/data/retailwebapi/api/v1"; CookieAuthUrl = "https://contoso.com/retail/data/login"; FederatedAuthUrl = "https://contoso.com/retail/data/login"; LoginUserName = "PlaceholderForUsername"; LoginPwd = "PlaceholderForPassword" }) -Name $InstanceName
Returns the list of conflicts if there are any. Empty result means there's no conflict.
Example 2
PS C:\> $InstanceName = "test instance name"
PS C:\> $WfmUserName = "WfmUserName"
PS C:\> $plainPwd = "plainPwd"
PS C:\> Test-CsTeamsShiftsConnectionValidate -ConnectorId "6A51B888-FF44-4FEA-82E1-839401E00000" -ConnectorSpecificSettings (New-Object Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ConnectorSpecificUkgDimensionsSettingsRequest -Property @{ apiUrl = "https://contoso.com/api"; ssoUrl = "https://contoso.com/sso"; appKey = "myAppKey"; clientId = "myClientId"; clientSecret = "PlaceholderForClientSecret"; LoginUserName = "PlaceholderForUsername"; LoginPwd = "PlaceholderForPassword" }) -Name $InstanceName
Returns the list of conflicts if there are any. Empty result means there's no conflict.
Parameters
-ConnectorId
Applicable: Microsoft Teams
The ID of the shifts connector.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-ConnectorSpecificSettings
The connector specific settings.
Parameter properties
Type: | IConnectorInstanceRequestConnectorSpecificSettings |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
NewExpanded
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Name
Applicable: Microsoft Teams
The connector's instance name.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
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.