I’m trying to use MicrosoftTeams module in Forms application so that in form load event it will connect to microsoft teams and form close event it will disconnect. I was able to get this working without the pro tools via hand coding the form application and when using it on console application with pro tools, but when trying to load forms in VS pro tools the forms doesn’t open at all and if I call for the connect via button press the forms application freezes.
I’m guessing that maybe this is matter of where to place the code…