microsoft-teams-apps-contactgrouplookup
microsoft-teams-apps-contactgrouplookup copied to clipboard
Error when accessing the app from inside Teams
Hello,
We are trying to deploy the app and when attempting to access the app through teams, we get an error stating something went wrong. Looking at the error through Applicaiton Insights, we see the following: Microsoft.IdentityModel.Tokens.SecurityTokenInvalidIssuerException: at Microsoft.IdentityModel.Tokens.Validators.ValidateIssuer (Microsoft.IdentityModel.Tokens, Version=5.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateIssuer (System.IdentityModel.Tokens.Jwt, Version=5.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload (System.IdentityModel.Tokens.Jwt, Version=5.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken (System.IdentityModel.Tokens.Jwt, Version=5.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler+<HandleAuthenticateAsync>d__6.MoveNext (Microsoft.AspNetCore.Authentication.JwtBearer, Version=2.1.2.0, Culture=neutral, PublicKeyToken=adb9793829ddae60)
This app has been deployed across tenants. Meaning we deployed the app in one Azure tenant but are accessing it from a demo tenant.
Please give us some direction on this.
Thanks in advance,
Nate
Try by creating app registration in demo tenant