We have a multi tenant ASP.NET MVC application *.foo.com hosted in Azure. We also have setup approles for this. Here is what I want to achieve:
- Allow users from external tenants to login as long as they are assigned a role defined by us.
- Allow all employees of 'foo' to login irrespective of role assigned, as we don't want to assign every single person a role.
Does anyone know if the requirements above can be met using a single aad app? Only other option I can think of is having 2 aad apps where first one will be a multitenant app for external users and role based while second one will be a single tenant app for internal users.
Any help is appreciated!
Thanks