Skype for Business Client sign-in Flow in detail

Skype for Business

Skype for Business Client sign-in Flow in detail

  1. Server Discovery (Against SFB Front End server)
  2. Connectivity Checks (3 way handshake)
  3. Authentication (Kerberos/NTLM/TLS-DSK)
  4. Optional Redirection (301 redirection)
  5. Retrieve Settings and Policies (Location profile and In-band provisioning)

Server Discovery (Against SFB Front End server)

SFB client is designed to look for certain DNS records in order to complete automatic sign process which are as below

  • _sipinternaltls._tcp.domain.com (SRV record)
  • _sip._tls.domain.com (SRV record )
  • Sip.domain.com (Host A record )
  • Sipinternal.domain.com (Host A record )
  • Sipexternal.domain.com (Host A record )
  • Lyncdiscoverinternal.domain.com (Host A record )
  • Lyncdiscover.domain.com (Host A record)

Connectivity Checks (3 way handshake)

Once SFB client identifies the SFB Front End Server’s Information then SFB Client performs Network Connectivity checks in order to see if it can reach to the server on identified IP address & Port. This is called as TCP 3 Way Handshake [SYNC, ACK-SYNC and ACK]

Skype for Business

Once tcp 3 way handshake is done post that it will try to establish a secure connection with the SFB FE server. Simply client will check if the certificate offered by SFB FE server is being trusted on client or not.

Connectivity Checks 3 way handshake

We can use Netmon /Wireshark tool in order to capture the network logs

Authentication (Kerberos/NTLM/TLS-DSK)

If SFB Client tries to sign-in Internally, then all 3 below listed Authentication methods [Kerberos/NTLM/TLS-DSK] will be available.

Secondly if Client tried to sign-in Externally, then only 2 authentication methods will be available [NTLM/TLS-DSK] will be available.

Lastly, Kerberos authentication viz default one that SFB client uses internally during first time sign in( when they don’t have user certificate to sign in using TLS-DSK method)

Authentication (Kerberos/NTLM/TLS-DSK)

We can open SFB client logs using snooper tool and all sip protocol methods are mentioned in RFC 3261

In Kerberos method client-side logs will show 2 REGISTER Request/Responses between SFB client and the SFB FE server.

Authentication

In NTLM method Client-side logs will show 3 REGISTER Request/Responses between SFB client and the SFB FE server

Authentication

In TLS-DSK method client-side logs will show 4 REGISTER Request/Responses between SFB client and the SFB FE server

Skype for Business

Optional Redirection (301 redirection)

Let’s say SFB client reached out to SFB FE server, where he/she is homed, then we wouldn’t see this step however if SFB client reaches out and authenticates against any other SFB FE server (within same pool or a different pool) then we will see this step, where server would identify where user is homed and redirects to the home Pool Accordingly.

Optional Redirection (301 redirection)

Retrieve Settings and Policies (Location profile and In-band provisioning)

  • In this step we will see client sending SERVICE/SUBSCRIBE SIP requests and getting required responses.
  • SERVICE           Requesting for Normalization rules (Location Profile).
  • SUBSCRIBE      Requesting for contact lists
  • SUBSCRIBE      Requesting for SFB FE Server side configurations/policies (In-band provisioning )
  • SUBSCRIBE      Requesting for Presence info of users in the contact list

Retrieve Settings and Policies (Location profile and In-band provisioning)

Conclusion: Post reading above blog we can conclude that now I understand the SFB client log in  process

About Sushil G

Hi, my name is Sushil and I am an experienced content writer with a passion for technology. For the past 10 years, I have been specializing in Microsoft products like Azure AD, Exchange, Skype for Business (SFB), and Teams. My in-depth knowledge of these products has enabled me to help many individuals and businesses to achieve their goals by leveraging the power of Microsoft technology. As a content writer, I enjoy taking complex technical concepts and breaking them down into easy-to-understand language. I'm always eager to learn about the latest trends and advancements in the industry and share my knowledge and expertise with others. If you need help in understanding Microsoft products and maximizing their potential, I'm here to help.