Issue in MS Teams chat UI action

nameisnani
Mega Sage

hi team 

 

we are getting issue like this [ ' Invalid access token. Please check  your credential alias ' ] and 

HTTP Error 401 - Unauthorized

when we are clicking on  ms teams chat  UI action button in Incident form, as shown in below 

 

nameisnani_0-1742796892839.png

nameisnani_1-1742796947806.png

 

from the logs we found this message 

nameisnani_2-1742797006771.png

 

 

can anyone please provide where should i update and what needs to be updated.

 

nameisnani_3-1742797078696.png

 

 

 

 

I have followed this step also 

 

- Please delete oAuth token by navigating to "System OAuth > Manage Tokens" and locate the token for the user who receive the error message which prompts for login when he tried to open teams chat again.

 

after that also not working .

 

 

Please hlep me 

 

7 REPLIES 7

Ankur Bawiskar
Tera Patron
Tera Patron

@nameisnani 

it clearly says invalid username or password or issue in getting the token

was this working fine earlier?

are you sure you configured the OAuth app registry correctly?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Ankur Bawiskar
Tera Patron
Tera Patron

@nameisnani 

please share the UI action code and also any script include if it's getting called from that UI action?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

nameisnani
Mega Sage

@Ankur Bawiskar 

 

yes it was working early .

@nameisnani 

what was the recent change then?

did you check with Microsoft teams if any change happened at their side?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader