Microsoft Teams の [Employee Center] タブに表示される、カスタムポータルのログアウトオプションは非表示にすることができます。
手順
-
移動先 .
-
[カスタム CSS] をクリックします。
-
CSS を編集するにはここをクリックします。
-
Microsoft Teams デスクトップアプリケーションからログアウトボタンを無効にするには、次を実行します。
必要に応じて次のコードをカスタマイズし、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;
}
-
Microsoft Teams モバイルアプリケーションからログアウトボタンの無効にするには、次を実行します。
必要に応じて次のコードをカスタマイズし、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;
}
}
-
[更新] をクリックします。
-
Microsoft Teams の [カスタムポータル] タブを更新します。