- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on
‎03-11-2022
10:16 AM
- edited on
‎03-02-2023
11:15 AM
by
Lisa Latour
Background:
When installing specific plugins for Teams, ServiceNow creates HTTP response headers to address Cross-Origin Resource Sharing (CORS) between Microsoft and ServiceNow, however, these headers don't apply to all pages. As a result, some pages like a link to a KB article or an incident record will not be able to display within Teams. To address this, we'll create a new response header to give permission to teams.microsoft.com for all ServiceNow pages.
Known Issue:
Use a custom portal instead of Employee Center and/or installed "Conversational Integration with Microsoft Teams" v3.0.6
Note: To change Employee Center to a custom portal, change the value for sn_now_teams.portal.suffix in sys_properties.list.
Solution:
- On your ServiceNow instance, elevate your admin role to "security_admin".
- Make sure you are in Global scope.
- Go to sys_response_header.list
- Click on "New" button.
- Fill out the following:
Applies to: All Pages
Name: Content-Security-Policy
Value: frame-ancestors 'self' teams.microsoft.com *.teams.microsoft.com
After creating HTTP Response Header:
- 4,084 Views
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Did you implement this functionality in SN?
I want use iFrame too in Service Now
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hello! How do you find the value for the https response header
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Still useful today for a fresh install. Thank you!
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Thank you! Been stuck on this with ServiceNow support for months, and you've helped this Case move forward a step. Any advice on why the SSO authentication would then fail? The popup is now at least displaying something but is not authenticating despite being setup.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
@Fu Did you upload a new manifest for this to work?