I figured this out. Hope this will help someone as it was not obvious to me at first.

My test user was assigned to the "mydomain.onmicrosoft.com" domain. I guess this is what "tenant" means in the "Make sure the domain name portion of the FQDN matches a domain that's registered in your tenant ..." sentence from the documentation. As soon as I changed it to "mydomain.com" I was able to create SBC with a "kamailio-dev2.mydomain.com" FQDN.

Thanks for the help!

Regards, Volodymyr Ivanets.

чт, 22 лип. 2021 о 14:34 Володимир Іванець <volodyaivanets@gmail.com> пише:
Hello Rob,

Thank you for sharing this information!

Regards, Volodymyr Ivanets.

ср, 21 лип. 2021 о 21:12 <rob.van.den.bulk@gmail.com> пише:

 

Van: sr-users <sr-users-bounces@lists.kamailio.org> Namens ????????? ???????
Verzonden: woensdag 21 juli 2021 19:54
Aan: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
Onderwerp: Re: [SR-Users] Question about MS Teams integration

 

Rob,

 

Thank you for the link!

 

My domain record looks good in the Settings/Domains section. However, I only choose the "Skype for Business" option. I did not select "Exchange and Exchange Online Protection" as well as "Intune and Mobile Device Management for Microsoft 365" options.

 

According to the tutorial I need to use PowerShell to configure SBC, Direct routing and call routing rules. Is this really necessary? I could create a dummy SBC for the "mydomain.onmicrosoft.com" domain with UI.

 

 

Hello Vitalie!

 

Could you please tell me if the Settings/Domains is the only place where the domain has to be configured? And do I need to have a specific list of records? Currently, I only have CNAME records "sip" and "lyncdiscover" snd SRV records "_sip" and "_sipfederationtls".

 

 

Thank you all for the help!

 

Regards, Volodymyr Ivanets.

 

ср, 21 лип. 2021 о 20:03 Bugaian A. Vitalie <bugaian@gmail.com> пише:

Hi Volodimir,

 

you have to setup and verify your domain under admin.microsoft.com in domains section,then create users under that domain

and make a dialing plan for these users so you can call these users from/to  kamailio.

 

Vitalie.

 

On Wed, Jul 21, 2021 at 6:21 PM Володимир Іванець <volodyaivanets@gmail.com> wrote:

Hello all!

 

Sorry, this is not a direct Kamailio question. I would like to ask for some help from those who already did this.

 

I'm trying to integrate my testKamailio installation with MS Teams. I added the "mydomain.com" to the Domains section (I kept the "mydomain.onmicrosoft.com"). When I tried to create SBC with a "kamailio-dev2.mydomain.com" FQDN I got this error message: We can't use the "kamailio-dev2.mydomain.com" domain as it hasn't be set up in the organization. Try again. If you continue to have problems, contact Microsoft customer support.

 

There were no issues creating a dummy SBC with a "kamailio-dev2.mydomain.onmicrosoft.com" FQDN.

 

Does anyone know how to set up a domain in the organization from MS perspective?

 

Thank you very much!

 

Regards, Volodymyr Ivanets.

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users