none
Problem changing ADFS web themes RRS feed

  • Question

  • I'm trying to customize ADFS but I'm getting the same sort of errors when I do:

    PS A:\adfs\vnk2> New-AdfsWebTheme -SourceName DefaultAdfs2019 -Name vnk2 -Logo .\logo\logo.png -Illustration .\illustration\illustration.png
    New-AdfsWebTheme : Cannot bind parameter 'Logo'. Cannot convert the ".\logo\logo.png" value
    of type "System.String" to type "System.Collections.Hashtable".
    At line:1 char:63
    + ...  -SourceName DefaultAdfs2019 -Name vnk2 -Logo .\logo\logo.png -Illust ...
    +                                                   ~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidArgument: (:) [New-AdfsWebTheme], ParameterBindingExcep
       tion
        + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.IdentityServer.Manage
       ment.Commands.NewWebThemeCommand

    PS A:\adfs\vnk2> Set-AdfsWebTheme -TargetName DefaultAdfs2019 -Logo .\logo\logo.png
    Set-AdfsWebTheme : Cannot bind parameter 'Logo'. Cannot convert the ".\logo\logo.png" value
    of type "System.String" to type "System.Collections.Hashtable".
    At line:1 char:52
    + Set-AdfsWebTheme -TargetName DefaultAdfs2019 -Logo .\logo\logo.png
    +                                                    ~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidArgument: (:) [Set-AdfsWebTheme], ParameterBindingExcep
       tion
        + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.IdentityServer.Manage
       ment.Commands.SetWebThemeCommand

    PS A:\adfs\vnk2> Set-AdfsWebTheme -TargetName DefaultAdfs2019 -Illustration .\illustration\illustration.png
    Set-AdfsWebTheme : Cannot bind parameter 'Illustration'. Cannot convert the
    ".\illustration\illustration.png" value of type "System.String" to type
    "System.Collections.Hashtable".
    At line:1 char:60
    + ... getName DefaultAdfs2019 -Illustration .\illustration\illustration.png
    +                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidArgument: (:) [Set-AdfsWebTheme], ParameterBindingExcep
       tion
        + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.IdentityServer.Manage
       ment.Commands.SetWebThemeCommand

    I've done this before even with the exact same files (I thought maybe it was a permissions issue) and it had always worked. Do I need to get another server?

    Thanks for your help.


    I bet you think this post is about you. Don't you…don't you. ♪

    Saturday, May 30, 2020 3:32 PM

Answers

All replies

  • I'd try asking for help over here in dedicated ADFS forums.

    https://docs.microsoft.com/en-us/answers/topics/adfs.html

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Saturday, May 30, 2020 3:36 PM
    Moderator
  • Thanks, I'll check right away. :)

    I bet you think this post is about you. Don't you…don't you. ♪

    Saturday, May 30, 2020 7:44 PM
  • You're welcome.

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Saturday, May 30, 2020 7:46 PM
    Moderator