none
ADFS - Adding Multi-Factor Authentication Provider - Register-AdfsAuthenticationProvider ERROR

    Question

  • We have been testing out a new ADFS Authentication Provider.

    It has been working fine, then all of sudden we get this error. I have searched for "ADFS You can only specify a maximum of one identity claim" but this error doesn't seem to show up. Any ideas what's wrong?

    PS C:\Windows\system32> $typeName = "NewAdapter.MyAdapter, NewAdapter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=xxxxxxxxxxxxxxxx, processorArchitecture=MSIL"

    PS C:\Windows\system32> Register-AdfsAuthenticationProvider -TypeName $typeName -Name "NewAdapter"

    Register-AdfsAuthenticationProvider : ADMIN0021: Invalid authentication provider data.  You can only specify a maximum of one identity claim.
    At line:1 char:1
    + Register-AdfsAuthenticationProvider -TypeName $typeName -Name "New ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Register-AdfsAuthenticationProvider], InvalidDataException
        + FullyQualifiedErrorId : ADMIN0021: Invalid authentication provider data.  You can only specify a maximum of one identity claim.,Microsoft.IdentityServer.Management.Commands.AddExternalAuthProviderCommand

    Friday, July 13, 2018 7:30 PM

All replies

  • HI,

    Thank you for posting.  

    Since the issue is related with ADFS, we suggest you to post your issue to our ADFS forum for getting more professional support. 

    https://social.technet.microsoft.com/forums/en-us/home?forum=ADFS&filter=alltypes&sort=lastpostdesc

    If you have any unclear, please feel free to contact us. 

    Best regards
    Julie Amlly. 


    help.<br/> If you have feedback for TechNet Subscriber Support, contact <a href="mailto:tnmff@microsoft.com"> tnmff@microsoft.com</a>.

    Monday, July 16, 2018 8:38 AM
  • Will do. Thanks!

    https://social.technet.microsoft.com/Forums/en-US/f73ab763-5efa-45c0-bcb1-c10431ff8dc5/adfs-adding-multifactor-authentication-provider-registeradfsauthenticationprovider-error?forum=ADFS

    Monday, July 16, 2018 10:40 AM