We are currently planning a new web project for multiple tenants. For security reasons we want these tenants to be logically seperated from each other. For example by adding a parameter containing the tenant id to the route.
We want the tenants users to log in with azure AD but we dont want to require them to have a microsoft account.
Here is a small diagram with our simplified registration process. When a new tenant registers we want to dynamically create a new tenant in azure AD that is independent from the other ones. Then we want the new tenant to be able to send invitations to new users.
Is it even possible to seperate multiple tenants within one web project? Is it possible to create new tenants on the fly? Should we use B2B or B2C to do so?
Thank you for your help!