移除 Microsoft 著作權

根據預設,AD FS 頁面會包含 Microsoft 著作權。 若要從您的自訂頁面移除此著作權,可以使用下列程序。

Screenshot that shows the login page for with the copyright at the bottom.

  1. 根據預設值建立自訂的佈景主題。

    New-AdfsWebTheme –Name custom –SourceName default
    
  2. 指定輸出資料夾以匯出佈景主題。

    Export-AdfsWebTheme -Name custom -DirectoryPath C:\CustomWebTheme
    
  3. 尋找位於輸出資料夾中的 Style.css 檔案。 使用上述範例,路徑會是 C:\CustomWebTheme\Css\Style.css.

  4. 使用編輯器開啟 Style.css 檔案,例如記事本。

  5. 找出 #copyright 部分,並將它變更如下:

    #copyright {color:#696969; display:none;}
    
  6. 根據新的 Style.css 檔案建立自訂的佈景主題。

    Set-AdfsWebTheme -TargetName custom -StyleSheet @{locale="";path="C:\customWebTheme\css\style.css"}
    
  7. 啟動新的佈景主題。

    Set-AdfsWebConfig -ActiveThemeName custom
    

現在,您不應該再看到登入頁面底部的著作權。

remove copyright

其他參考

AD FS 使用者登入自訂