---
sourceDocument: Australia Employee Service Management
sourceDocumentLink: https://www.servicenow.com/docs/r/pt-BR/employee-service-management

 Release :

    - australia

ft:locale :

    - pt-BR

ft:publication_title :

    - Australia Employee Service Management

ft:clusterId :

    - emplsm

bundleId :

    - emplsm

workflow :

    - Employee


---

# Hide the logout button on the custom portal

# Hide the logout button on the custom portal {#ariaid-title1}

* Versão de lançamento: Australia
* 
* Atualizado 12 de mar. de 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 min. de leitura

You can hide the logout option for your custom portal that appears in the Employee
Center tab within Microsoft Teams.

## Antes de Iniciar

Role required: admin

## Procedimento

1. Navigate to AllService PortalCSS.  
2. Click on your custom CSS.
3. Click here to edit the CSS.  
4. To disable the logout button from Microsoft Teams desktop application.  
   Customize the following code as required and paste in the CSS.  

       /* Embedded portal */

       /*The code shared to disable the logout button is an example. You need to customize as required to disable logout button.*/

       .embedded-experience .avatar-drop-down .header-menu-item:last-child {
               display: none;
             }

5. To disable the logout button from Microsoft Teams mobile application.  
   Customize the following code as required and paste in the CSS.  


       /* Embedded portal */

       /*The code shared to disable logout button is an example. You need to customize as required to disable logout button.*/

       .embedded-experience .impersonate-and-logout {
                 div > ul > li:last-child {
                   display: none !important;
                }
             }

6. Click Update.
7. Refresh the custom portal tab in Microsoft Teams.

