I was trying to install a new language in my Microsoft Dataverse / Dynamics 365 environment and I carried on getting the error “Duplicate Record. A record with these values already exists“. If you are suffering the same, do NOT panic š

I also downloaded the log file and it provided some additional technical information: “Violation of PRIMARY KEY constraint ‘cndx_PrimaryKey_ImportJob’. Cannot insert duplicate key in object ‘dbo.ImportJobBase’. The duplicate key value is <redacted>.” But nothing really useful to carry on.
So I tried to install the same language again and that gave me a clue in the error message: “Cannot start another [LanguageProvision] because there is a previous [LanguageProvision] running at this moment. Use Solution History for more details“.

New languages are installed using solutions and it looks like it just takes some time (it took 45-60 minutes in my case) for a new language to be available. Conclusion: be patient when you install a new language and it will just happen š
By the way, you can also manage the environment languages in the new Power Platform admin center:

Feature image by Joel Naren on Unsplash