An Application Identifier consists of your Bundle ID, e.g. com.company.app as well as your TeamID as a prefix. Combined, the ApplicationID might be something like this: FEG63bFE.com.company.app. When transferring an app, your Bundle ID stays the same, however, your TeamID does change, resulting in a different Application Identifier. Therefore, the new version with the Application Identifier and the old version can not be matched.
To solve this problem, there are two steps to follow:
Add a previous-application-identifiers entitlement to a code signing entitlements file for your app.
Request a special provisioning profile from Developer Programs that will also contain the above entitlement. Make this request through the Developer Contact page > Membership > Enrollment and Account > Apple Developer Program Support form.
Please see the official Apple Developer Documentation on this topic.
Please see this official Apple Developer Tech Note for more information as well as a detailed step by step solution.