Skip to content
This repository was archived by the owner on Jun 11, 2026. It is now read-only.
This repository was archived by the owner on Jun 11, 2026. It is now read-only.

Don't get new theme, only old theme. #41

Open

Description

@scyto

I tried the instructions on the MS docs web page, I tried the instructions here too.
I copied the .css file and .js file to c:\ADFSStyles (a dir I created).
I applied the first command line - I get zero formatting (everything is plain text in top left corner)
I applied the second command line - and my original default theme (that was modified for logo, illustration, signon text etc) not the centered theme.
I have remove the custom theme and tried multiple times.
What am I doing wrong?

Activity

  1. dbaars commented on Aug 7, 2018

    @dbaars

    I had the same problem, I had to copy the text for each file by selecting the "Raw" option first in Github - i.e. for each file:

    https://github.com/raw/Microsoft/adfsWebCustomization/master/centeredUi/ThemeCenterBrand.css

    https://github.com/raw/Microsoft/adfsWebCustomization/master/centeredUi/paginatedOnload.js

    that's what worked for me anyway..

  2. scyto commented on Aug 8, 2018

    @scyto
    Author

    Thanks Dylan Baars (@dbaars) that worked, copied the text into notepad and saved in unicode format, would this still indicate an issue with the files?

    Also the Set-AdfsWebTheme -TargetName default -Illustration @{path="c:\Contoso\illustration.png"} command doesn't seem to work - i still have plain blue background, any ideas on that?

    --edit really documentation at the end of a java script file ?!---

    I tried the command documented at the end of the paginatedOnload.js - the first PSH seems to work;

    I uncommented the last line of the file, i reran the command to add the .js file resource.
    still no picture

    --edit 2--
    ok after seeing errors in the network trace i recreated the files on a different machine using chrome and notepad++ instead of the IE and notepad on the server.

    Not sure what happened, but it fixed something as the username from AAD is now preserved on redirect from MS, i still have a blue background (though the shade of blue changed to slightly darker one) and the pusername hint messgae format is borked as it is on two lines, sigh i give up, going back to classic theme, this is only a demo environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions