Cannot post activity. Unauthorize. Bot emulator error
问题 I have added these line of codes to my bot's Startup.cs in order for it to work in Azure's WebChat: var appid = Configuration.GetSection("microsoftappid").Value; var apppassword = Configuration.GetSection("microsoftapppassword").Value; options.CredentialProvider = new SimpleCredentialProvider(appid, apppassword); However, when I have these lines my bot does not work in Bot emulator. How can I integrate it with my bot so that I don't need to comment/uncomment the line of codes when publishing