Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: ServerError: unauthorized_client: 700016 #6658

Closed
14 tasks
jaymitchell opened this issue Jul 30, 2024 · 5 comments
Closed
14 tasks

bug: ServerError: unauthorized_client: 700016 #6658

jaymitchell opened this issue Jul 30, 2024 · 5 comments
Assignees
Labels
bug Indicates an unexpected problem or an unintended behavior. needs-triage The issue has just been created and it has not been reviewed by the team.

Comments

@jaymitchell
Copy link

Version

4.22.1

Describe the bug

(Copied from OfficeDev/teams-toolkit#12101)

Seeing this consistently with a production bot when trying to get teams members.

{"code":"Internal","message":"ServerError: unauthorized_client: 700016 - [2024-07-29 21:49:58Z]: AADSTS700016: Application with identifier '[redacted]' was not found in the directory 'Bot Framework'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant. Trace ID: [redacted] Correlation ID: [redacted] Timestamp: 2024-07-29 21:49:58Z - Correlation ID: [redacted] - Trace ID: [redacted]"}

Happy to provide correlation id etc or whatever is needed to debug on your end.

The bot is running in multitenant mode, so not sure why I'd be getting this error.

Note, staging works just fine in a test teams instance.

To Reproduce

Expected behavior

Screenshots

Additional context

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

cc @smtlaissezfaire

@jaymitchell jaymitchell added bug Indicates an unexpected problem or an unintended behavior. needs-triage The issue has just been created and it has not been reviewed by the team. labels Jul 30, 2024
@stevkan stevkan self-assigned this Aug 1, 2024
@stevkan
Copy link
Collaborator

stevkan commented Aug 1, 2024

@jaymitchell - Were you able to test the possible solutions posted in the Stack Overflow issue, microsoft-bot-framework-bot-missing-from-bot-framework-tenant-how-to-add? I'm assuming you have, but thought I'd check.

@smtlaissezfaire
Copy link

Hi @stevkan, I'm working with @jaymitchell.

For the first answer - We aren't using azure; we are self hosting; For the second, not sure how it applies.

We could try recreating the bot with complete new IDs though.

@smtlaissezfaire
Copy link

Ok, I think we found your suggestion @stevkan, thank you.

But do we need to through publisher verification to install the bot / app? (under Branding + Properties) - that is, verifying our domain and going through Microsoft Partner network verification (MPN)?

@stevkan
Copy link
Collaborator

stevkan commented Aug 16, 2024

@smtlaissezfaire - thank you for your patience. Were you able to get this working?

As for your question regarding MPN verification, the short answer is I don't know. If you are still trying to figure this out, let me know and I will try ask around. As for my suggestion, I must apologize as it seems I wasn't very clear which "solution" I was referring to since there are several options presented. Can you tell me which one you landed on?

@stevkan
Copy link
Collaborator

stevkan commented Aug 30, 2024

Closing due to inactivity. Please feel free to reopen if the issue persists or you have new details to share.

@stevkan stevkan closed this as completed Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or an unintended behavior. needs-triage The issue has just been created and it has not been reviewed by the team.
Projects
None yet
Development

No branches or pull requests

3 participants