When running the migration tool, no users are migrated. And the tool throws a migration error for all users.
The error is as follows ERROR: Error POST Users ANYUSER: Not Found
This is due to the deprecated /Users APIs in 5.0.2
To re-enable the /Users API you will need to set a settings feature flag via PAPI.
The setting name is FEATURE_FLAG_ENABLE_DEPRECATED_API. Issue a PUT on the /Settings endpoint with the following payload:
3. After the migration is completed and verified, disable the deprecated /Users API again. Issue a PUT on the /Settings endpoint with the following payload:
{
"Name": "FEATURE_FLAG_ENABLE_DEPRECATED_API",
"Uuid": "{{GENERATED_UUID}}",
"Value": ""
}