< Back

Test-TeamsSipSrvRecord

Sat Jan 18, 2020 5:37 pm

NAME Test-TeamsSipSrvRecord



SYNOPSIS

Verifies that a domain's Teams/Skype for Business SIP-over-TLS service records are correct.





SYNTAX

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





DESCRIPTION

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

Business SIP service record. The highest-ranking SRV record for the service _sip and the protocol _tls must have

a target of sipdir.online.lync.com, port 443.





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



NOTES

Multiple SRV records are discouraged.



If you are using another SIP service in addition to Microsoft Teams or Skype for Business Online, then you

might have extra _sip._tls SRV records. While not recommended, it is not incorrect, as long as the

lowest-priority service is always the one for Microsoft Teams/Skype for Business Online.



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

about_Office365DnsChecker

Test-Office365DnsRecords