< Back

Test-TeamsAutodiscoverRecord

Sat Jan 18, 2020 5:37 pm

NAME Test-TeamsAutodiscoverRecord



SYNOPSIS

Verifies that a domain's Teams/Skype for Business Autodiscover record is correct.





SYNTAX

Test-TeamsAutodiscoverRecord [-DomainName] <String[]> [<CommonParameters>]





DESCRIPTION

This cmdlet checks one or more domains for the presence and correctness of the Microsoft Teams/Skype for Business

Online Autodiscover DNS record, named lyncdiscover. It should be a CNAME pointing to webdir.online.lync.com.





PARAMETERS

-DomainName <String[]>

One or more domain names to check.



Required? true

Position? 0

Default value

Accept pipeline input? True (ByValue)

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 (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.String[]

One or more domain names to check. This cmdlet accepts pipeline input as well.





OUTPUTS



EXAMPLE 1



Parameter ExampleC:\\PS> Test-AzureADClientConfigurationRecord contoso.com



Verifies that the DNS CNAME record msoid.contoso.com is correct.

EXAMPLE 2



Pipeline ExampleC:\\PS> "contoso.com","fabrikam.com","tailspintoys.com" | Test-AzureADClientConfigurationRecord



Verifies that the DNS CNAME records msoid.contoso.com, msoid.fabrikam.com, and msoid.tailspintoys.com are correct.



RELATED LINKS

Test-TeamsRecords

Test-Office365DnsRecords

about_Office365DnsChecker