Jan 02 2022 10:32 PM
How and where to update Company Communicator v4 App Registration Expired Client Secret in Azure. I see the option to create new secret but not renew it.
1.) If i create a new secret is it required to remove the old expired one ?
2.) After a new secret is created for both the Client and Author apps, where do i need to update the old Secret values with the newly created ones and which values need to be updated
Jan 02 2022 10:58 PM - edited Jan 03 2022 11:27 PM
SolutionYes, 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.
Jan 04 2022 09:24 PM - edited Jan 05 2022 12:44 AM
@mustafafarooq - Could you please confirm if your issue has resolved with above suggestion or still looking for any help?
Jan 05 2022 10:51 PM
Dec 20 2022 02:18 PM
Jan 01 2023 10:26 PM
@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-a...
Jan 05 2023 11:41 AM
@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:
Here are the API Permissions for the Company Communicator app:
Jan 15 2023 09:49 PM
Hello @Ricardo_Thomas - As per the error details shared by you, it is because of you have copied Secret ID rather than secret value:
Please refer this comment: https://github.com/OfficeDev/microsoft-teams-apps-company-communicator/issues/820#issuecomment-12110...
Could you please make sure to update the secret value at all the places like: in appsettings/.env if you are running it locally or in your app service configuration (update key vault, if you are using it).
Please let us know if you will face same error again.
Jul 20 2023 06:54 AM
You can create new Azure app client secrets using both the azure portal and PowerShell. For more details on client secret management, refer: https://o365reports.com/2023/07/20/an-overview-of-client-secret-management-in-azure-ad/
Aug 02 2023 05:18 AM
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?
Aug 10 2023 12:13 AM
Jan 02 2022 10:58 PM - edited Jan 03 2022 11:27 PM
SolutionYes, 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.