To assign a user from tenant A to entreprise application you should use a admin account with
One of the following roles in tenant B : Cloud Application Administrator, Application Administrator, or owner of the service principal.
I think the account in tenant A you used haven't any role mentioned above.
For more information please refer to the following link : Prerequisites
Please don't forget to accept helpful answer