Hello,
Is there a way in ADFS claims rules to put a condition based on the SP URL?
For example if the user is coming from tenant1.sharepoint.com or from tenant2.sharepoint.com. The point is they are both configured in one RP Trust.
Why I want this behaviour :
I have two O365 tenants tenant1.onmicrosoft.com and tenant2.onmicrosoft.com both federated with same ADFS. ( using the option -supportmultipledomains). It works properly : users from Forest1 accessing Tenant1 and users from Forest2 accessing Tenant 2.
Now I want users from forest1 to access tenant2 : So I need to tell ADFS to send the appropriate values in the claim depending on what the SP url is.
Thanks!