botframework-sdk: OAuthPrompt.SendOAuthCardAsync fails due to endpoint error
Version
What package version of the SDK are you using.
- Top-level Package Requested Resolved
- Microsoft.Bot.Builder.Dialogs 4.19.3 4.19.3
- Microsoft.Bot.Builder.Integration.AspNet.Core 4.19.3 4.19.3
- Microsoft.Graph 5.10.0 5.10.0
- Microsoft.Graph.Core 3.0.6 3.0.6
Describe the bug
The endpoint https://api.botframework.com/api/botsignin/GetSignInResource
intermittently fails and returns a 404 with this message:
{"error": {"code": "ServiceError","message": "Bot does not exist"}}
To Reproduce
I created a project based on the teams authentication sample. The bot tries to ask the user for authentication using the OAuthPrompt.SendOAuthCardAsync
method. The endpoint fails ~95% of times. Sources and extra info here.
Expected behavior
The endpoint succeeds a few times a day. Meaning the request might be okay. I think the endpoint has a problem.
Screenshots
Additional context
I created this stackoverflow post: BotFramework-Teams-Authentication issue GetSignInResource
fails often but it says that stackoverflow is more for “how-tos”. Considering the problem is a bug, I think it is better to post it here.
Tracking Status
Dotnet SDK TODO
- PR
- Merged
Javascript SDK TODO
- PR
- Merged
Python SDK TODO
- PR
- Merged
Java SDK TODO
- PR
- Merged
Samples TODO
- PR
- Merged
Docs TODO
- PR
- Merged
Tools TODO
- PR
- Merged
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 16 (7 by maintainers)
Thanks @sandrock, I’m investigating.
Hi, I am solving the issue with a Microsoft Support Engineer.
We are trying configuration changes, the like you are providing, but to no avail as of now.
I will post an update here when the issue is solved.
I created a new app (AAD app + azure bot + teams manifest) again and the same issue occurs.