Impersonation Issue - Unable to see UI action button - 'Start Mircosoft teams chat'

ServiceNow10sun
Giga Guru

Hi All, 

 

I am facing an issue we have UI button in all modules( Incident, RITM, change, etc) called 'Start Mircosoft teams chat'  which  should visible for all users . It is visible to all users . however when admin users are impersonating to the user profile then the same button 'Start Mircosoft teams chat' is not visible. 

Please suggest anyone faced same issue.

 

This issue has come up recently earlier   after impersonating user profile this UI button used to be visible. 

 

 

sunita10_0-1681925624512.png

 

 

 

4 REPLIES 4

Dom Gattuso
Mega Sage

Hi @ServiceNow10sun 

 

Can you please post a screenshot of the UI Action? Are you sure there aren't any roles required on it or possibility a condition limiting based on role?

 

Thanks,  

Thank you for response. 

 

User A is able to see this button  and user B is able to see the button , both have admin roles , however when user A is impersonating to user B profile the same button user A is not able to see.

So its not the roles issue . 

 

Did you get any solution on this?
or is this the way ServiceNow works.

Dom Gattuso
Mega Sage

@ServiceNow10sun & @Pranav Suryawan  - this UI action has a condition which calls a script include to check whether or not the user can view the button. In the script include, the first check it does is to see if the current user is impersonating, if yes, then it returns false and does not display... otherwise you could be creating a teams chat for someone other than you which would not allow you access to the chat.. 

 

UI Action: 

DomGattuso_1-1713625185489.png

 

Script include:

DomGattuso_0-1713625164097.png