Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MS Teams Calling bot not working #1160

Closed
Javeria-Arif opened this issue Feb 22, 2024 · 5 comments
Closed

MS Teams Calling bot not working #1160

Javeria-Arif opened this issue Feb 22, 2024 · 5 comments

Comments

@Javeria-Arif
Copy link

Hi,

I have been following this guide to create a calling bot:

https://learn.microsoft.com/en-us/samples/officedev/microsoft-teams-samples/officedev-microsoft-teams-samples-bot-calling-meeting-csharp/

I have followed each step. I have added the bot as a custom app in Teams and i am able to send a message/ perform a call action. But the problem here is that the code is not returning any response. There is no response for even a simple welcome request.

The code is not throwing any error. Therefore I am unable to understand, why the bot is not working as expected.
After I send a message/ call the "calling bot" from my teams account, the request is landing on the controller, without any error. But I dont see a response on the bot side on Teams.

Can anyone help me with this?

Hi @Javeria-Arif! Thank you for bringing this issue to our attention. We will investigate and if we require further information we will reach out in one business day. Please use this link to escalate if you don't get replies.

Best regards, Teams Platform

@ChetanSharma-msft
Copy link
Collaborator

ChetanSharma-msft commented Feb 22, 2024

Hello @Javeria-Arif - Thanks for raising your query.
Could you please check if all the configurations are done properly.

Also, please check if you have added policy proper:
Import-Module MicrosoftTeams
Call Connect-MicrosoftTeams using no parameters to open a window allowing for MFA accounts to authenticate
Connect-MicrosoftTeams
New-CsApplicationAccessPolicy -Identity “<<policy-identity/policy-name>>” -AppIds "<>" -Description "<>"
Grant-CsApplicationAccessPolicy -PolicyName “<<policy-identity/policy-name>>” -Identity "<>"

@Javeria-Arif
Copy link
Author

@ChetanSharma-msft Yes i have double-checked all the configurations. For authorizing the bot, I used these commands:

Connect-MicrosoftTeams
New-CsApplicationAccessPolicy -Identity “<<policy-identity/policy-name>>” -AppIds "<>" -Description "<>"
Grant-CsApplicationAccessPolicy -PolicyName “<<policy-identity/policy-name>>” -Identity "<>"

@ChetanSharma-msft
Copy link
Collaborator

Hello @Javeria-Arif - Could you please check if you are getting any error in console. (Try with devtools in Teams web client)

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 3 days. It will be closed if no further activity occurs within 3 days of this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants