Closed paulnagadmin closed 2 years ago
Hi @paulmitchell507 , Thanks for logging the issue and will get back to you with proper response soon.
@paulmitchell507 Sounds like you have the same problem that I had. Check my steps to resolve the problem in https://github.com/OfficeDev/microsoft-teams-apps-icebreaker/issues/264
Hi @paulmitchell507 ,
Hope it helps
Thank you for the detailed steps. I updated the secret as suggested
@.***
Now I see a different error message, exceptionMessage": "AADSTS7000215: Invalid client secret provided. Ensure the secret being sent in the request is the client secret value, not the client secret ID, for a secret added to app 'a025c30b-d675-4166-b791-f5d90475fff7'.\r\nTrace ID: 34b6625a-e1ae-45a8-bfd3-4ee861da8900\r\nCorrelation ID: 78fa83b4-d08b-4184-bc46-4d79d1b959c1\r\nTimestamp: 2022-09-02 09:42:07Z",
Do you think I should generate another new secret and try again?
Full output below.
{
"message": "An error has occurred.",
"exceptionMessage": "Failed to acquire token for client credentials.",
"exceptionType": "System.AggregateException",
"stackTrace": " at Microsoft.Bot.Connector.Authentication.Retry.1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__15.MoveNext()", "innerException": { "message": "An error has occurred.", "exceptionMessage": "AADSTS7000215: Invalid client secret provided. Ensure the secret being sent in the request is the client secret value, not the client secret ID, for a secret added to app 'a025c30b-d675-4166-b791-f5d90475fff7'.\r\nTrace ID: 34b6625a-e1ae-45a8-bfd3-4ee861da8900\r\nCorrelation ID: 78fa83b4-d08b-4184-bc46-4d79d1b959c1\r\nTimestamp: 2022-09-02 09:42:07Z", "exceptionType": "Microsoft.IdentityModel.Clients.ActiveDirectory.AdalServiceException", "stackTrace": " at Microsoft.Identity.Core.OAuth2.OAuthClient.<GetResponseAsync>d__18
1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.Identity.Core.OAuth2.OAuthClient.
From: Sai Venkat @.> Sent: 01 September 2022 17:50 To: OfficeDev/microsoft-teams-apps-icebreaker @.> Cc: Paul Mitchell @.>; Mention @.> Subject: Re: [OfficeDev/microsoft-teams-apps-icebreaker] Icebreaker has stopped working! (Issue #263)
Hope it helps
- Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FOfficeDev%2Fmicrosoft-teams-apps-icebreaker%2Fissues%2F263%23issuecomment-1234535540&data=05%7C01%7Cpaul.mitchell%40nag.co.uk%7Cdc477f1f1786411e2fcf08da8c3a14be%7Ce7971626b996462eb3c9bbba3a50d55d%7C1%7C0%7C637976478352106519%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=XHoJ1KL5PrK9AIi8SOp84V9YXFSlORuxu0CEsHV1dAY%3D&reserved=0, or unsubscribehttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAFJK46X556ESQHGABL4J6JTV4DNFLANCNFSM6AAAAAAQBQITA4&data=05%7C01%7Cpaul.mitchell%40nag.co.uk%7Cdc477f1f1786411e2fcf08da8c3a14be%7Ce7971626b996462eb3c9bbba3a50d55d%7C1%7C0%7C637976478352106519%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2FTaAUYL4atbuO%2BQdE0S56P89LgzRIa6du5prX%2BxuWN4%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.**@.>>
Disclaimer
The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: 30 St. Giles, Oxford, OX1 3LE, United Kingdom. Please see our Privacy Notice https://www.nag.com/content/privacy-notice for information on how we process personal data and for details of how to stop or limit communications from us.
This e-mail has been scanned for all viruses and malware by Microsoft Exchange Online (EOP)
Hi @paulmitchell507 , It seems that the secret ID has been updated instead of secret value. Could you please update with secret value(highlighted one).
I re-created a secret value and updated the MicrosoftAppPassword in the keyvault but I still see the same error. Do you think MS support can help?
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.
As mentioned, 5 days ago, I re-created the secret value, but the error was still showing, and the app was failing. The app continued to fail until this morning when it started working. I don't know what to say but thank you for your help!
The logic app reports that
"message": "An error has occurred.", "exceptionMessage": "Failed to acquire token for client credentials.",
and that the secret keys for the app expired. I created new keys (https://aka.ms/NewClientSecret), but I still see a similar error. Do I need to add the new secret key to any other configuration file? I don't remember using any keys in the .json file**