diff --git a/x-pack/plugins/fleet/server/services/fleet_server/saved_object_migrations.ts b/x-pack/plugins/fleet/server/services/fleet_server/saved_object_migrations.ts index 82fd937092477..5c05ed7532ac6 100644 --- a/x-pack/plugins/fleet/server/services/fleet_server/saved_object_migrations.ts +++ b/x-pack/plugins/fleet/server/services/fleet_server/saved_object_migrations.ts @@ -28,6 +28,7 @@ import { invalidateAPIKeys } from '../api_keys'; import { settingsService } from '..'; export async function runFleetServerMigration() { + await settingsService.settingsSetup(getInternalUserSOClient()); await Promise.all([migrateEnrollmentApiKeys(), migrateAgentPolicies(), migrateAgents()]); }