Forum Discussion

girishbagmor's avatar
girishbagmor
Copper Contributor
Jun 08, 2023

I am getting errors to start teams meeting and chat thread using team user token (Getting error 403)

How to fix issue related to teams user token. I am getting errors to start teams meeting and chat thread using team user token (Getting error 403)


I am facing issue with communication service. I am using for integrate teams call and chat for a teams user. I am using this (https://github.com/Azure-Samples/communication-services-authentication-hero-nodejs) demo, this demo is based on react & node js.

I am trying to login as teams user

 

 

we are able to login and genrate required token

  1. AAD Access Token
  2. AAD Token for a Teams user (with Teams.ManageCalls and Teams.ManageChats permissions)
  3. Communication Token

After addin meeting link, we are facing below errors.

 
Request URL:
https://edge.skype.com/registrar/prod/v3/registrations
Request Method:
POST
Status Code:
403
Remote Address:
13.107.3.128:443
Referrer Policy:
strict-origin-when-cross-origin

Request Payload

{"clientDescription":{"appId":"AcsWeb","aesKey":"","languageId":"en-US","platform":"SPOOL","templateKey":"AcsWeb_Chat_1.2","platformUIVersion":"0.0.0"},"registrationId":"f65080a4-00c0-48bd-9f0e-72242d95ee3d","nodeId":"","transports":{"TROUTER":[{"context":"","path":"https://trouter-azsc-asse-0-b.trouter.skype.com:3443/v4/f/29mkP0iHw0eRXboLtc0vZw/","ttl":7200}]}}

Response

{     
	"message": "Request from CustomTeamsEndpoint contains templateKey 		AcsWeb_Chat_1.2 that is not in the list of allowed templateKeys",     "code": 40305 
}

We are good in call but this issue is related to chat.

 

Apart from it we are facing issue to display name for teams user.

Thanks in advance.

 

Resources