Search code examples
c#asp.netbotframeworkwindows-server-2012-r2

How to trouble shoot "Refresh access token failed with status code: 401 " in bot on Windows Server 2012R2


I have deployed my bot on a remote windows server 2012r2 and when i try to connect with it using emulator, it gives me the error Refresh access token failed with status code: 401

I have followed all the steps discussed here and used a web deploy method to deploy. how to publish bot framework c-sharp code to windows server 2012r2


Solution

  • I figured it out, it was because of incorrect password. I was copying it directly from the emulator. So yes, after putting correct ID and Password it went away. Thanks