I doubt it’s a bug, as those entitlements are not present in the target app for the given Identity, it’s expected that those roles are not detected. The issue is with provisioning.
Ideally Identity Refresh task should have triggered the provisioning for missing entitlements, but in your case it’s not working.
Next steps,
Could you share the Identity Refresh task with all the options you’re selecting?
Staff Role 31 is marked as assigned as well as detected. Was it assigned along with other roles? Could you check ProvisioningTransaction for Staff Role 31 roles’ assignment and around the same time for other roles?
Check if the business role and corresponding IT roles are enabled, and if the business role assignment is valid and business role is getting assigned to users.
Run the refresh task with ‘Refresh assigned, detected roles and promote additional entitlements & provision entitlements’
Check if the entitlements in IT are provisioned to the user, if not provisioned check if there are any errors in the provisioning transactions or if any provisioning form work item is created.
Staff Role 31 is marked as assigned as well as detected. Was it assigned along with other roles? Could you check ProvisioningTransaction for Staff Role 31 roles’ assignment and around the same time for other roles? → I am unable to find
Would like to share that this identity is a mover and previously Staff Role 55 and 65 were detection befor the mover process.
We also tried to disable the role, refreshed the identity but it didn’t drop the role also, no change.