I have a very typical situation where I have Azure tenant A(our own) and Tenant B which is totally different, belongs to our partner(There own setup of Azure AD). The use case is basically to use A's Service Principal and read the specific resources from Tenant B from my application.
One technical way to do it is basically use the appId of Tenant A and create a SP on tenant B. Something like this
az ad sp create --id 00000000-0000-0000-0000-000000000000
However the problem is that we have multiple partners and if one partner can use the other partners tenantId in my application then they can actually read the other tenant details.
I see there are multiple ways of handling this one is, via multi tenant authentication. But the question, if the authentication flow can happen across different tenant? Other is, if I can use the service principal with client certificate for each tenant?
Does anyone have any suitable suggestion on how can this be achieved.