Forum Discussion
themashcodee
Jun 19, 2023Copper Contributor
RestError: Authorization has been denied for this request
I am trying to create(createConversationAsync) a conversation (dm) in microsoft teams bot framework, but I am getting this error err: RestError: Authorization has been denied for this request I h...
mrpsycox
Jun 23, 2023Copper Contributor
Hi everyone,
I'm trying to develop an echo-bot provided from you (https://github.com/microsoft/BotBuilder-Samples/tree/main/samples/javascript_nodejs/02.echo-bot) and I keep receiveing the same generic error "Error: Authorization has been denied for this request.". What do I need to do? Also, I've created a Azure Support Request (N° 2306210050004437) and I didn't receive any response.
I'm trying to develop an echo-bot provided from you (https://github.com/microsoft/BotBuilder-Samples/tree/main/samples/javascript_nodejs/02.echo-bot) and I keep receiveing the same generic error "Error: Authorization has been denied for this request.". What do I need to do? Also, I've created a Azure Support Request (N° 2306210050004437) and I didn't receive any response.
- Sayali-MSFTJun 28, 2023
Microsoft
mrpsycox -Could you please directly add App Id(Instead of
process.env.MicrosoftAppId) and Password value in index.JS file like below and check it once.- Sayali-MSFTJun 29, 2023
Microsoft
mrpsycox -Did you get chance to check?
- Sayali-MSFTJun 26, 2023
Microsoft
mrpsycox -Thanks for sharing the sample, we will test this from our end and let you know the update.