Creating an Ms Teams Bot with Terraform

I’m curious if anyone has created an Ms Teams bot with Terraform? I know it can be used to create a regular Bot Framework bot in Azure, but from what I’m seeing, for Ms Teams the bot needs to have an application id and application password - without this the bot can’t authenticate properly to either send or receive messages from Teams.

I’ve been able to get this to work, but only by using the “azuread_application” and “azuread_application_password” resources, but this can’t create a “personal” app registration (/service principal), and so I need to have a domain registered, even in a personal Azure account, to get this working.

Has anyone had any luck with the “personal” app registration route?