OfficeDev/microsoft-teams-apps-greatideas

Error after opening application in tabbed experience

jalew123 opened this issue · 3 comments

Hi,

I am running into the following error once I authenticate into the app. Any idea what might be causing this?

image

This also happens when I add the Great Ideas app into a Team and add the tab into the channel.

Thanks,

Jack

hmnzr commented

Have the same issue. I can see the authentication issue in App Insights. However, bot replies fine to me.

{"FormattedMessage":"Failed to validate the token.","AspNetCoreEnvironment":"Production","{OriginalFormat}":"Failed to validate the token.","RequestPath":"/api/Settings/botsettings","ConnectionId":"0HM2KOU1HI801","CategoryName":"Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler","RequestId":"0HM2KOU1HI801:0000003E","EventId":"1"}
--
hmnzr commented

Ok I found the issue for me. The installation from deployment guide did not put Tenant Id into AzureAD:ValidIssuers configuration.

Ok I found the issue for me. The installation from deployment guide did not put Tenant Id into AzureAD:ValidIssuers configuration.

"TENANT_ID" in the config setting is correct. It is replaced in code. The issue I experienced had to do with the ApplicationPassword being incorrectly set. Needs to be set as the secret.