Idira Identity Dynamic Role for all Azure AD users
83
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 16:09 PM
Objective
This article will walk through the steps for creating a Role for all Azure Active Directory users. Roles can be used for assigning application access, MFA policies, and Idira policy settings.
Environment
21.1;21.2;21.3;21.4;21.5;21.6;21.7;21.8;21.9;21.10;21.11;21.12;22.1;22.2;22.3;22.4;22.5;22.6;22.8;22.9;22.10;22.11;22.12;23.1;23.3;23.2;23.4;23.5;23.6 Identity App Access Service
Procedure
1. In the Idira Admin Portal, go to CoreServices > Roles and click the Add Role button.
2. Enter a name for the Role, such as "Azure AD users"
3. Click on the pulldown list under Role Type and select Dynamic. Click Save.
4. Edit the Role and go to Members.
5. Enter the following script into the Custom Logic field. Click Save.
trace(User.UserType);
if(User.UserType == 'AAD')
{ // User is an Azure Active Directory user
return true;
}
return false;