Closed cbalanoiu closed 1 year ago
The central issue is that the UMAPI expects the user to be identified by email address and not username.
I've resolved this issue by modifying the write function to write the email address of each user instead of the username. The read function has been modified to look for the email address first and only try the username if the email address is not provided. This maintains backward compatibility.
It now logs a warning if the username is being used to identify a user.
See https://github.com/adobe-apiplatform/user-sync.py/commit/651d2117150d59030276297867eeef2d6c09093b for more info.
Description Users are not processed correctly when username and email have different domains when removing from file.
Steps to reproduce When using write-to-file the tool exports [type,username,domain] When removing from file (--adobe-only-user-list users-to-delete.csv --adobe-only-user-action delete) the username value is compared to the email
Expected behavior The tool should compare corresponding values , i.e. have a case for username and email with different domains.
Screenshots If applicable, add screenshots to help explain your problem.
Environment