How to reset the client secret keys for Microsoft Teams Bot

Pankaj Pandey 1 Reputation point
2021-12-07T05:58:29.513+00:00

Hi,

We are running a bot service with Microsoft teams and everything was going well till yesterday, now we started getting following error while trying to communicate user through bot.

{\"error\":\"invalid_client\",\"error_description\":\"AADSTS7000222: The provided client secret keys are expired. Visit the Azure Portal to create new keys for your app, or consider using certificate credentials for added security: https://learn.microsoft.com/azure/active-directory/develop/active-directory-certificate-credentials

We were managing the bots through https://dev.botframework.com/ previously but now after clicking on Manage "Microsoft App ID and Password" button under bot setting section, its redirecting me to azure portal and showing a page not found page there.

It would be appreciable if some one guide me on this.

Thanks..

Microsoft Teams | Development
Microsoft Teams | Microsoft Teams for business | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Hunaid Hanfee-MSFT 981 Reputation points
    2021-12-20T20:42:19.973+00:00

    You need to confirm that you are looking into the right tenant and directory.
    Once you are in Azure Active directory you need to -

    1. Go to App registration option from below left side panel menu.
      159040-image.png
    2. Once you are in it search with App Id as shown in image. Please check it in all three- All applications, owned and deleted.
      159008-image.png

    Thanks,
    Hunaid L Hanfee


    If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.