I have an Azure application who authenticates users with multi-tenancy.
I have added some appRoles in the manifest file of the application. I have added the users and assigned them these appRoles.
I am able to get the roles for the normal user (user of the tenant where the application is created) in my application. But for the guest users, I am not able to get their assigned appRoles.
How can I achieve this?
Also, if I have multi-tenancy on and I want to assign appRoles to the user of another tenant, how can I do that, as I am not able to see the user of added tenants in the Custom Domains?
NOTE: I get the token for the guest users if I disable multi-tenancy, but then I will have to add all the users of other tenants as guests which I want to avoid if possible.