How do fix office 365 license /tenant error after migrating email services to new microsft tenant from godaddy tenant?

we have migrated from go daddy to new microsoft tenant outside godaddy. after migrating from go daddy mac user are unable to access their outlook client and office application along with one drive. web version works fine but any local word excel ,one drive gives error like mentioned below
NOTE :user name ,domain name are modified in error and numbers modified in error with XXXXXX
AADSTS50020: User account 'test@domainname.com' from identity provider 'https://sts.windows.net/6669bd53-e6db-4c35-bf15-XXXXXXXXXXXX/' does not exist in tenant 'testdomain.com' and cannot access the application 'd3590ed6-52b3-4102-aeff-aad2292ab01c'(Microsoft Office) in that tenant. The account needs to be added as an external user in the tenant first. Sign out and sign in again with a different Azure Active Directory user account.
Request Id: 155accb6-b33a-451c-9c22-XXXXXXXXXXX
Correlation Id: caf8a0e0-6beb-5f41-bd22-XXXXXXXXXXX
Timestamp: 2023-05-10T16:48:10Z
Message: AADSTS50020: User account 'test@domainname.com' from identity provider 'https://sts.windows.net/XXXXXXXXXXX-e6db-4c35-bf15-XXXXXXXXXXXX/' does not exist in tenant 'domainname.com' and cannot access the application 'd3590ed6-52b3-4102-aeff-aad2292ab01c'(Microsoft Office) in that tenant. The account needs to be added as an external user in the tenant first. Sign out and sign in again with a different Azure Active Directory user account.