For a new project we are trying out the Azure features. For a poc I have created an application that uses openidconnect en Azure active directory for authentication. The application is multi-tenant.
For now, I was able to configure the open authentication. I also added 3 application roles in the application manifest.
Now I login in with a tenant in Azure active directory. And I was able to assign these application roles to myself and when I check the application, it can also list the new assigned roles of my user from another tenant.
Now I want to create tenant specific roles (via portal and if possible via code? (OpenGraph?, ADClient?)) How can I do this?
How can add application roles and custom created roles per tenant to a user using code?