Eran Eben Chaim
12/31/2025, 3:17 PMEran Eben Chaim
12/31/2025, 3:20 PM/v1/mgmt/userReuven Zabirov
12/31/2025, 3:22 PMEran Eben Chaim
12/31/2025, 3:26 PMEran Eben Chaim
12/31/2025, 3:29 PMManagement.User().Load(ctx, req.Email) which i see expects login id / user id
we are passing email
i'll look into v2 (is it new?)Reuven Zabirov
12/31/2025, 3:41 PMManagement.User().Load()
accepts a loginIDOrUserID
which is not an email always, especially when there are SSO tenants. the change in behaviour you experienced could be linked to the fact that some users were converted to sso only users.
such as <mailto:reuven@descope.com|reuven@descope.com>-tenantid which we take the NameID and create a new loginID based on some conditions.
so in that case, can you try to search with
Management.User().SearchAll()
with the email field?Eran Eben Chaim
12/31/2025, 3:43 PMManagement.User().SearchAll() uses v2?
is there a difference in the user response?
is there any recommendation as to which endpoint to use when?Reuven Zabirov
12/31/2025, 3:46 PMReuven Zabirov
12/31/2025, 3:46 PM