Answered by:
Problem changing ADFS web themes

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.NewWebThemeCommandPS 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.SetWebThemeCommandI'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. ♪
- Moved by Dave PatrickMVP Saturday, May 30, 2020 3:36 PM looking for forum
Saturday, May 30, 2020 3:32 PM
Answers
-
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.- Proposed as answer by pituachMVP Saturday, May 30, 2020 7:57 PM
- Marked as answer by Guido Franzke Friday, June 5, 2020 6:02 AM
Saturday, May 30, 2020 3:36 PM
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.- Proposed as answer by pituachMVP Saturday, May 30, 2020 7:57 PM
- Marked as answer by Guido Franzke Friday, June 5, 2020 6:02 AM
Saturday, May 30, 2020 3:36 PM -
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