Microsoft Teams and Skype for Business Online are both capable of federation, which allows people to contact other users outside their company. However, configuring these Office 365 options the same way as Lync or Skype for Business Server on premises can lead to unexpected results.
Read my full post over at the 4Sysops Blogs: