Embed a custom portal
Embed your custom portal to replace the Employee Center tab in Microsoft Teams by configuring the system property. The custom portal shows up in the Employee Center tab in Microsoft Teams.
Before you begin
Role required: admin
If you’re using a custom portal rather than the Employee Center, you can replace the embedded Employee Center with your custom portal, so that it’s accessible within Microsoft Teams. The following steps take you through the configuration to embed your portal.
Procedure
In the navigation pane, enter
sys_properties.list.Search for
sn_now_teams.portal.suffixproperty under Name.
System properties list with sn\_now\_teams.portal.suffix highlighted
Select sn_now_teams.portal.suffix.
Enter the value of your custom portal in the Value field.
Refer to the below example if you are adding your custom portal:
System property \[sn\_now\_teams.portal.suffix\] form with the value field highlighted.
Select Update.
Create a custom header for the embedded portal after you configure your custom portal.
For more information on adding header configuration, see Configure HTTP response headers.
In the Navigator pane, type
sys_response_header.list.Select New.
On the HTTP Response Header form, fill in the following fields based on your requirement.
- Active
- Application
- Record
- Description
- Enter the following field values.
| Field | Value |
|---|---|
| Applies to | Specify Type |
| Type | Service Portal \[sp\_portal\] |
| Name | Content-Security-Policy |
| Value | Frame-ancestors 'self' https://teams.microsoft.comImportant: To enable the custom portal in all Microsoft 365 apps, add the following domains to the Value field.
|
5. Select **Submit**.
- Hide the chat button on the custom portal
Hide the chat option for your custom portal that appears in the Employee Center tab within Microsoft Teams. - Hide the logout button on the custom portal
You can hide the logout option for your custom portal that appears in the Employee Center tab within Microsoft Teams.
Parent Topic:Configuring Employee Center