ADFS upgrade database to v4 overwrite configuration

Matthew Riddler 21 Reputation points
2020-09-22T21:20:15.473+00:00

Hello,

I am attempting an upgrade of the ADFS database, after replacing the servers with new Windows 2016 servers.
I have used the script to create the database (new database), as the account I am using does not have permission to create databases (trying to replicate what is in production).
When running the Invoke-AdfsFarmBehaviorLevelRaise I get the following error.
Invoke-AdfsFarmBehaviorLevelRaise : An AD FS configuration database with the same name already exists; specify that the existing database is to be
overwritten.
I can see nothing in the powershell command 'invoke-xxx' to force an overwrite of the database.
I read that you can specify -OverwriteConfiguration, but this just gives me an error this command doesnt exist.

Any help would be appreciated.

Thanks
Matt

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,756 questions
Active Directory Federation Services
Active Directory Federation Services
An Active Directory technology that provides single-sign-on functionality by securely sharing digital identity and entitlement rights across security and enterprise boundaries.
1,194 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Cris Zhan-MSFT 6,606 Reputation points
    2020-09-23T03:25:10.88+00:00

    Hi @Matthew Riddler ,

    Please check the following articles if help:
    Upgrade AD FS 3.0 to Windows Server 2016/2019
    https://www.starwindsoftware.com/blog/upgrade-ad-fs-3-0-to-windows-server-20162019

    Update AD FS 2012 R2 to AD FS 2016
    https://xanderbikbergen.com/2019/02/19/update-ad-fs-2012-r2-to-ad-fs-2016/

    Or waiting for ADFS experts give some useful suggestion.

    Best regards,
    Cris


    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.