Bot Not Triggering in Teams Toolkit

Ram, Aishwarya (A.) 0 Reputation points
2024-11-22T04:35:08.86+00:00

My bot is installed and started in the browser using Teams Toolkit, but when the endpoint is hit I get 200 response but, the following error occurs:

FetchError: request to https://login.botframework.com/v1/.well-known/openidconfiguration failed, reason: getaddrinfo ENOTFOUND login.botframework.com at ClientRequest.<anonymous> (/Users/aram5/TeamsApps/Support Ticket Alerts/node_modules/node-fetch/lib/index.js:1501:11) at ClientRequest.emit (node:events:517:28) at TLSSocket.socketErrorListener (node:_http_client:501:9) at TLSSocket.emit (node:events:517:28) at emitErrorNT (node:internal/streams/destroy:151:8) at emitErrorCloseNT (node:internal/streams/destroy:116:3) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { type: 'system', errno: 'ENOTFOUND', code: 'ENOTFOUND' }

This question is related to the following Learning Module

Microsoft 365 Training
Microsoft 365 Training
Microsoft 365: Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.Training: Instruction to develop new skills.
102 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. kguntaka 3,405 Reputation points Microsoft Vendor
    2024-11-22T07:44:42.04+00:00

    Hi Ram, Aishwarya (A.),

    Thank you for reaching out to us on the Microsoft Q&A platform. 

    When we test it on our end, we find that the method works correctly, and we can achieve the desired result by following the given instructions in PowerShell or the command line tool.

    Could you please start the process over by clearing your browser's history and logging in again with your Microsoft 365 account? After following the instructions, the bot will access the team's chat in the browser and provide you with a customized card. Sometimes, firewall or security software can block the request. Ensure that your firewall or security software is not blocking the request and check if you are behind any corporate firewall/restricted network.

    Powershell:

    User's image

    User's image

    If you have any additional questions, please let us know in the comments. We’re happy to assist further. 

    If you found the answer helpful, please click on Upvote and Accept Answer. This will help other community members.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.