OfficeDev / microsoft-teams-apps-company-communicator

Company Communicator app template
MIT License
330 stars 403 forks source link

After Client Secret Key Expired, App is not working #1608

Open EkremERs opened 1 week ago

EkremERs commented 1 week ago

Hi,

App scret key have been expired, And I created new secret key on app registration but now CC is not working.

İ get help on below links but it still not working. https://github.com/OfficeDev/microsoft-teams-apps-company-communicator/issues/911 https://github.com/OfficeDev/microsoft-teams-apps-company-communicator/issues/820

İ am owner on subscription. My user and app registration are owner on key vault service bu i see that issue;

On Key Vault services, List is empty and "You are unauthorized to view these contents"

On App Services," Either this secret is disabled or you do not have the "Get" secret permission" but my user and app registration have all permission.

on app > chanels > teams channels - "Conversation not found."

İ cant understrand and solve the problem. Can you help me please? Thanks

tiwariShiv7 commented 1 week ago

Hi @EkremERs Please cross verify once again w.r.t secrets renewal with the below steps.

Go to Azure Portal Go to App registration Create a new secret value for app registration and grab secret value. Here is the reference. image

Then go to resource group. Select key vault from list of resources. Click on secrets under object section. image

If the secrets are not visible, Go to Access Policy--> Click on Create image Select Key, secret and certificate management

image

Give the Id through which one can view the secrets

image

3rd step is optional Go for Review+Create Then go to Secrets. Open author/user/graph app password Click new version

image

Grab the new secret identifier

image

Paste it in the configuration sections of app service, 3-function apps. Here is the reference of updating the author app password in app service configuration.

image

Follow the same procedure for the user app password and graph app password updating. For graph app, please dont forget to update the password in AzureAd Client Secret as well. here is the reference

image

EkremERs commented 1 week ago

Hi,

Thank you for support but it still not working. Message isn't sending to recipients. I would be happy if you could review my issue again.

! Screenshot 2024-11-06 093542

Thanks.

v-jaygupta commented 6 days ago

@EkremERs ,

Could you please share the error details and the supporting screenshot of error from application insights resource from the deployed resource group to investigate further on this issue.

Go to resource group where CC app is deployed --> Go to Application insight type resource -->Under investigate section Click on failures --> share the screenshot and stack trace for Top 3 response codes.

EkremERs commented 6 days ago

Hi,

image

v-jaygupta commented 5 days ago

Can you please share the stack trace logs for each of the listed response codes by cliking on count

EkremERs commented 5 days ago

Hi, Thank you for taking the time to do so.

For 401: resim

For 403: resim

For 0: resim

Thanks.

v-jaygupta commented 1 day ago

Hi @EkremERs , Could you please share your email id so that we can start discussing this issue internally over teams

EkremERs commented 21 hours ago

Hi,

My mail is ekrem.ersoy@d-teknoloji.com.tr

Thanks.