原始页面:
自定义开始
自定义ADFS登录页面,不要妄想使用审查元素,然后去计算机搜索图片文件或资源文件来查找ADFS登录页面的源代码,本人亲测,无效,只能通过命令来完成,如下:
更改登录框上面的名称
Set-AdfsGlobalWebContent –CompanyName "Contoso Corp"
自定义主题
New-AdfsWebTheme –Name custom -SourceName default –StyleSheet @{path ="C:adfsWebCustomization-mastercenteredUiThemeCenterBrand.css"}
Set-AdfsWebConfig -ActiveThemeName custom
设置logo
Set-AdfsWebTheme -TargetName default -Logo @{path ="C:adfsWebCustomization-mastercenteredUiacra_logo.png"}
设置背景图片(小于200kb)
Set-AdfsWebTheme -TargetName default -Illustration @{path ="C:adfsWebCustomization-mastercenteredUiadbg.jpg"}
官方文档地址: