Changing the company logo on the AD FS sign-in page

To change the logo of the company that is displayed on the sign-in page, use the following PowerShell Windows PowerShell cmdlet and syntax.

change logo


We recommend the dimensions for the logo to be 260x35 @ 96 dpi with a file size of no greater than 10 KB.

Set-AdfsWebTheme -TargetName default -Logo @{path="c:\Contoso\logo.png"}


The TargetName parameter is required. The default theme that is released with AD FS is named default.

Additional references

AD FS User Sign-in Customization