I would like to know when 2 companies decide to authenticate each other users, whether they both should be in the cloud (Azure AD) and that will be enoughThere is no requirement for the other side to have either ADFS or AAD to be given access your Azure AD environment. If they have their own Azure AD tenant, they can authenticate against that. If they don't, they will authenticate against your tenant as a guest or they can use say their Google account, their own Microsoft account, etc.