Impersonation Issue - Unable to see UI action button - 'Start Mircosoft teams chat'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2023 10:36 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2023 01:12 PM
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,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2023 11:20 PM
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 .

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2024 07:50 PM
Did you get any solution on this?
or is this the way ServiceNow works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2024 08:00 AM
@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:
Script include: