Hi @Mateusz Domański ,it seems that the issue is related to the uniqueness of the user's identity in Azure AD. Even though you do not have a user with the same email address or UPN that was about to be created, it is possible that there is a conflict with an existing user's immutable ID.
The immutable ID is a unique identifier for each user in Azure AD that is used to map the user between Azure AD and the application. It is possible that the user's immutable ID is still associated with their old account in your Azure AD, even though the account has been deleted or deactivated. This can happen if the user's old account was not properly removed from your Azure AD.
To resolve this issue, you can try the following steps:
- Check if the user's old account is still present in your Azure AD. If it is, delete or deactivate the account.
- Check if the user's immutable ID is still associated with their old account. If it is, remove the immutable ID from the old account.
- Ask the user to try registering again with their new email address.
Please let me know if you have any questions and I can help you further.
If this answer helps you please mark "Accept Answer" so other users can reference it.
Thank you,
James