Users with Invalid email addresses shown in Bitbucket Cloud Migration (BCMA) not listed in the Bitbucket Server/Data Center Active Directory Sync page
Platform Notice: Cloud - This article applies to Atlassian products on the cloud platform.
Summary
In Cloud, all users must have valid email addresses, such as user@domain.com. The Bitbucket Migration Assistant tool will validate this and throw an "invalid email addresses" error for users who don't meet this requirement.
However, the tool provides an option to click on users missing a valid email address, which will take you to the Bitbucket Administration Settings - "Users" page. From there, you can either remove the user with an invalid email address or update the user with a valid email address.
Sometimes, when clicking on a user, the user page doesn't load and throws a "No user named 'abc' found" error.
This could happen if users are mapped from an Active Directory and the data between the Active Directory and Bitbucket users page are not in sync.
Solution
The first step is to click on the sync button on the Bitbucket users page to sync the user data between the Active Directory and the Bitbucket Server users page. Check if the users with "invalid email addresses" are listed there.
If they are not listed even after the sync, we recommend checking for those users in the Active Directory. From there, you can either remove the user with an invalid email address or update the user with a valid email address. Once this is done, the "invalid email addresses" should be fixed, and Bitbucket Cloud Migration (BCMA) should allow users to be migrated to the cloud.