Open moonncat opened 3 days ago
Hi @moonncat
could you please let us know whether its fresh deployment or old deployment
Could you please share the error the supporting screenshot of error from application insights resource from the deployed resource group.
Go to resource group where CC app is deployed --> Go to Application insight type resource --> share the screenshot and stack trace for Top 3 response codes.
also please share Top 3 response codes
Could you please share a screenshot of the app service status
for that please navigate to resource group where CC is deployed
and open app service ,under deployment click on deployment center
and also please share the status of all functions also.
Thanks for your swift response. your support is appreciated.
1,it is a old deployment which happened in June/2022. 2, the application insights shows below error: at Microsoft.Identity.Client.AcquireTokenSilentParameterBuilder.Validate(... Microsoft.Identity.Client.AbstractAcquireTokenSilentParameterBuilder`1.ValidateAndCalculateApiId (... at Microsoft.Identity.Web.TokenAcquisition (...
It seems got error in building the IUserService implementation.
3, all the response code in GET UserData/GetAllUserData are 500.
4, sorry for the security restrictions, I can't share the screenshot. but i have checked the deployment center, it is not yet setup. I think it is because we used a package to deploy instead of source code.
5, all functions are running normally.
6, the build of the dotnet version is v3.1 Graph version is 3.22 Microsoft.Identify.Web is 0.1.3-preview Micosoft.Aspnetcore is 3.1
Hi @moonncat Could you please check whether app registrations got expired
hi @peddivyshnavi , I have renewed all the secrets in all environment variables: 1, AppSecretUser / AppSecretAuthor etc in app service. 2, we did the similar update in Azure Function as well. 3, Secret in AKV also got updated.
please kindly advice is there anything missed out? thanks.
Hi @moonncat We suspect secrets got configured incorrectly 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.
Then go to resource group. Select key vault from list of resources.
Click on secrets under object section.
If the secrets are not visible, Go to Access Policy--> Click on Create
Select Key, secret and certificate management
Give the Id through which one can view the secrets
3rd step is optional
Go for Review+Create
Then go to Secrets. Open author/user/graph app password
Click new version
Grab the new secret identifier
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.
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
We found some errors in API since the end of 2023: the /api/userD throws error mentioning "Unable to resolve service for type 'Microsoft.Teams.Apps.CompanyCommunicator.Common.Services.MicrosoftGraph.IUserService' which attempting to activate 'Microsoft.Teams.Apps.CompanyCommunicator.Controller.UserDataController'." so the user list can't be up to date.