Closed ferokko closed 9 months ago
Hi @ferokko! Thank you for bringing this issue to our attention. We will investigate and if we require further information we will reach out in one business day. Please use this link to escalate if you don't get replies.
Best regards, Teams Platform
Hello @ferokko - Thanks for raising your query. We have deployed the C# sample already.
Could you please try to download the deployed zip and test it once and let us know if you are still facing the issue? https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-teams-authentication/csharp#try-it-yourself---experience-the-app-in-your-microsoft-teams-client
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 3 days. It will be closed if no further activity occurs within 3 days of this comment.
Hi,
I followed the tutorial to add auth within the teams bot: (https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-teams-authentication)
I am experiencing a strange behavior in that, after all the proper settings, the example runs well with ngrok. Once I deploy the solution to the webapp and fill the env variables accordingly I got this error
Sorry, it looks like something went wrong. Exception Caught: Operation returned an invalid status code ‘NotFound’ at Microsoft.Bot.Connector.OAuthClient.GetSignInResourceWithHttpMessagesAsync....
I debugged locally with ngrok and remotely the webapp and I see the following:
with ngrok this call returns 200 : System.Net.Http.HttpClient.Default.LogicalHandler: Information: Start processing HTTP request GET https://api.botframework.com/api/botsignin/GetSignInResource?state=XXX OAuth card is displayed properly and sign in is completed
with remote debugger (from the webapp) I can see that the very same call (even the same state, is that normal?) returns 404, the card is not displayed and it throws an error as above
I am facing it both for single and multitenant and I am using regional bot (europe)
As anyone experienced that?
Thanks in advance