Hi @akhil_chidurala you can make a standalone rule to be run on demand or if you want to schedule that.
here you are an example for the steps:
Since by default requestable flag is true, for entitlements after running aggregation.
we need custom rule to be written with logic:
QueryOptions with filter like: application is “abc” && MA (managedAttribute) ==“ABC” (or Contains the name of the OU in the value as a part from the DN)
iterate on results and check MA is not null and setRequestable(false)
If you want make unrequestable some group only for the users in specific OUs, you can use an identitySelector rule(with the filter that you want) in quicklinks for dont appears in the request page for those users.
or if you want make unrequestable for everyone you can set unrequestable those group in a groupAggrergation rule
Hi @akhil_chidurala I simulated now another way “apart from the one that I already mentioned which is working as well” to achieve that with a few lines of code in the “Group Aggregation Refresh Rule”