In the below Document Microsoft describes a way to setup tenants per container in a database.
https://docs.microsoft.com/en-us/azure/architecture/guide/multitenant/service/cosmos-db
We plan to use Azure B2B so that our customers can use their Active Directory to authenticate. But where would the information be stored which container a customer (tenant) belongs to?
For example we have 5 customers. And everyone has a azure active directory. In our cosmos db we have 5 containers. Customer1, Customer2, ... How can i make sure Customer 1 has only access to the container Customer1?