Open breakingram opened 1 year ago
Hi @ramfattah,
We were able to reproduce the issue with the provided information.
Analyzing why the HTTP 403 error happens in the DLASE Client, we proceed to investigate about how it's created and configured, by following the provided guide in this issue.
We noticed there was a misconfiguration when instantiating the DirectLineClient
(step 5 of the guide), causing this error.
Additionally, after fixing the 403 error, an HTTP 502 error appeared, it was due to a misconfiguration in the UseNamedPipes
method in the bot.
When using MultiTenant
, this is not required. For SingleTenant
the audience could be the TenantId
as shown in the following image.
Thanks, Joel
Thank you for you effort in solving this issue @sw-joelmut.
Indeed fixing the misconfigurations helped solved the problem from my end aswell.
Much appreciated, @sw-joelmut. Informing the customer now.
Version
What package version of the SDK are you using.
Microsoft.Bot.Builder.Integration.AspNet.Core
:4.21.0
Describe the bug
After creating a .NET Client to Connect to Direct Line App Service extension, a 403 error is thrown. Documentation for creating DLASE Client in .NET: https://learn.microsoft.com/en-us/azure/bot-service/bot-service-channel-directline-extension-net-client?view=azure-bot-service-4.0
To Reproduce
Steps to reproduce the behavior:
MicrosoftAppTenantId
in app service configuration after deploymentExpected behavior
Run .NET Client to Connect to Direct Line App Service extension without errors.
Error details
[bug]