Forum Discussion
How and where to update Company Communicator v4 App Registration Expired Client Secret
- Jan 03, 2022
Yes, you can remove the existing expired secret and create a new one using below steps:
1. Click on New client secret’ and generate it.
2. Copy the value.3. Replace the new secret value at all the places where you have used expired once. (AppSettings, KeyVault, Azure Bot etc.)
Note: You need to be careful because the resources you have created using old secret value, should also be updated or created newly.
Thanks,
Nivedipa
--------------------------------------------------------------------------------------------
If the response is helpful, please click "Mark as Best Response" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.
Yes, you can remove the existing expired secret and create a new one using below steps:
1. Click on New client secret’ and generate it.
2. Copy the value.
3. Replace the new secret value at all the places where you have used expired once. (AppSettings, KeyVault, Azure Bot etc.)
Note: You need to be careful because the resources you have created using old secret value, should also be updated or created newly.
Thanks,
Nivedipa
--------------------------------------------------------------------------------------------
If the response is helpful, please click "Mark as Best Response" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.
- SystemEngineerAug 02, 2023Steel Contributor
With the most recent update https://github.com/OfficeDev/microsoft-teams-apps-company-communicator/wiki/Deployment-guide
Does the new version of Teams Communicator Apps still require manual "secret" updates or any other regular maintenance performed by the Global ADmin at the backend Azure level?
- Nivedipa-MSFTAug 10, 2023MicrosoftSystemEngineer - We are mainly responsible for Microsoft Teams app development related issues.
I would suggest you to please raise your query on the GitHub Repo itself for faster resolutions.
https://github.com/OfficeDev/microsoft-teams-apps-company-communicator/issues
- Ricardo_ThomasDec 20, 2022Copper ContributorDo you have screenshots of where to enter the new secret values?
- Nivedipa-MSFTJan 02, 2023Microsoft
Ricardo_Thomas -
Apologies for the delay. Could you please refer the below thread for screenshots.
Issues in using Company Communicator App after Deployment · Issue #820 · OfficeDev/microsoft-teams-apps-company-communicator (github.com)- Ricardo_ThomasJan 05, 2023Copper Contributor
Nivedipa-MSFT I have performed all the steps as advised in the link provided and I am still getting the following error, this is after resyncing and restarting the app service. I am still getting the following error message in the sign in logs for Company Communicator:
Failure reasonInvalid 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 '{identifier}'.Additional DetailsDeveloper error - the app is attempting to sign in without the necessary or correct authentication parameters.In Teams this is what I see when I try to send a message:Here are the API Permissions for the Company Communicator app:
- Nivedipa-MSFTJan 05, 2022Microsoft
mustafafarooq - Could you please confirm if your issue has resolved with above suggestion or still looking for any help?
- mustafafarooqJan 06, 2022Copper ContributorThanks, yes its resolved now, i was just having trouble locating where the secrets needed to be updated for each, the user app and the author app registrations. I have updated it in these three fields in the App Service > Configuration > Application Settings :
AuthorAppPassword (Author App Secret )
AzureAd:ClientSecret (Author App Secret )
UserAppPassword ( User App Secret )