locked
Test-AdfsFarmBehaviorLevelRaise - Error: A database for the target behavior level already exists. RRS feed

  • Question

  • Hi,

    if I execute the command Test-AdfsFarmBehaviorLevelRaise I get this error:

    Message                                                                                Context           Status
    -------                                                                                    -------             ------
    Database configuration successfully retrieved.                           PreCheckTest    Success
    Verified that the server is the primary node in the WID farm.      PreCheckTest    Success

    Test-AdfsFarmBehaviorLevelRaise : Database upgrade cannot be performed on adfs1-server. Error: A database
    for the target behavior level already exists.
    .
    At line:1 char:1
    + Test-AdfsFarmBehaviorLevelRaise
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Test-AdfsFarmBehaviorLevelRaise], RemoteException
        + FullyQualifiedErrorId : PrerequisiteTest,Microsoft.IdentityServer.Deployment.Commands.TestUpgradeFarmBehaviorCom
       mand

    The configuration database cannot be upgraded. Database up...  Prerequis...       Error
    Successfully verified that new built-in relying party trus...           Prerequis...       Success

    I have 2 ADFS on Windows Server 2016 with WID database. adfs1-server is set as primary and adfs2-server is set as seondary. CurrentFarmBehavior is 1

    Please help, I can find no information for this error message.

    Thursday, May 16, 2019 8:27 AM

All replies

  • have tried to raise FarmBehaviorLevel before and it failed ? if so it can be the cause for this error.

    DD

    Wednesday, June 5, 2019 5:45 PM