Hi @Phyxsius ,
There are two main ways to do this:
1) You can create a multitenant app that allows users to sign in from different tenants and create a service principal in the second tenant.
Guide for configuring a new multi-tenant app: https://learn.microsoft.com/en-us/azure/active-directory/develop/setup-multi-tenant-app
Guide for converting an existing app to be multi-tenant: https://learn.microsoft.com/en-us/azure/active-directory/develop/howto-convert-app-to-be-multi-tenant
2) You can use B2B and add the users from Tenant A as guest users in Tenant B. This method works well but comes with additional licensing costs. If you take this route you will need one license for every user within your company, or one license for every five external guest users from outside of your company.