Configuring the AD FS Identifier so that it matches the AD FS token issuer RRS feed

  • Question

  • I'm in a complete brain fart and I feel as though my eyes are going to pop out of my head troubleshooting ADFS. I am trying to set ADFS Identifier so that it matches the token issuer. If I do 


     in PowerShell it works very well. The problem comes when I want to set the 


     to match the token issuer. Its giving a weird error. Below is my PowerShell script and results.

    PS C:\Windows\system32>$adfsProperties = Get-AdfsProperties 

    PS C:\Windows\system32>Set-AdfsProperties -Identifier $adfsProperties.IdTokenIssuer 

    Set-AdfsProperties : Cannot validate the argument on parameter 'Identifier'. The argument is null. Provide a valid value

    for the argument, then try running the command again. At line: 1 cahr: 32 

    +Set-AdfsProperties -Identifier $adfsProperties.IdTokenIssuer +

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo :InvalidData: (:) [Set-AdfsProperties], ParameterBindingException +FullyQualifiedErrorId :PositionalParameterNotFound, Microsoft.IdentityServer.Management.COmmands.SetServicePropertiesCommand

    Monday, December 2, 2019 9:43 AM