We got a requirement to get application role assignments for the users for the Azure AD connector.
I investigated this in our current 8.3p2, but unfortunately I didn’t find any docs or code related to that.
Luckily there was a new release 8.4 where the docs mentioned the support for appRoleAssignments (see the documentation)
Again, if you take the connector out of the box and include
<AttributeDefinition entitlement="true" managed="true" multi="true" name="appRoleAssignments" schemaObjectType="applicationRole" type="string">
<Description>Application roles assigned to the user</Description>
</AttributeDefinition>
in the schema (combined with applicationRole group as well) you’ll still see empty appRoleAssignments attribute for your Azure AD accounts.
I filed a case for support, but unfortunately they can’t help us either.
I did some investigation on my own looking at the AzureAppRoleAssignmentCollector class, I noticed that in the method populateAppRoleAssignments they check that objectId should contain an indentifier in a format :, which is wrong since they look at the azure ad user account which never has that format.
I posted a similar question in the regular forum, but without much luck.
Did anyone had issues with the appRoleAssignments attribute? How did you fix it?