1
votes

I tried the tutorial on the official site and followed all the steps. If I test the azure bot service from azure portal, it asks for signin and gives me access token. But when I'm trying from Bot emulator, the request url for login seems odd


enter image description here

If I click confirm, it's signing me in directly without redirecting to azure login page and shows me the following


enter image description here

This does not look like an access token. Am I missing something here?

Btw, I just changed the appsettings.json file from the tutorial with my app id and secrets. Nothing else is changed. I've also made the service principle and granted permission. So there should not be any problem. I am just getting started with azure bot service. So any advice will be appreciated :)

1
It is odd , that is a conversation ID instead of an access token . Could you pls have a check your "OAuth Connection Settings" in setting of your bot ? You can click "Test Connection" to test if you can get the access token. - Stanley Gong
yes, i am getting actual access token when testing the connection from azure portal - Md. Shariful Siddique

1 Answers

1
votes

Could you pls have a check that if you configed ngrok for your bot emulator ?

I got the same issue on my side if I remove ngrok setting in my bot emulator.Maybe it caused some networks issues while bot emulator communicating with Azure platform.

You can download it from previous link and config it on your bot emulator here : enter image description here

Hope it helps :)