Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Import realm from old version to new Keycloak version

Tags:

keycloak

We need to export & import configuration from an old version 3.4 to new Keycloak version 5. But it shows error on import:

{"errorMessage":"App doesn't exist in role definitions: realm-management"}

Is there any option to import realm to new version?

like image 849
Valsaraj Viswanathan Avatar asked Apr 11 '19 13:04

Valsaraj Viswanathan


1 Answers

For me, I needed to create the realm using the Add Realm button and use the export file as the import file on the realm creation screen. I think the realm just needs to be created alongside the import.

like image 160
Dave Lancea Avatar answered Sep 21 '22 15:09

Dave Lancea