Help in code Debugging

Hello @Arpitha1 ,

Thanks for the replay.

The actual requirement is we have AD admin accounts in prod, if one person is have more then one AD admin accounts assign then the normal account need to a part of one specific AD group.

For Example.
one identity abcADM account in ADadmin account(prod)
abcADM account in ADadmin UAT account
abcADM account in ADadmin Dev account

So if an user has an abcADM account in 1 or more “AD - Admin Accounts”, the normal accounts need to be in a specific AD group. Like this Abc-AD-ADM”?

These application are onboarded in only production that what i was trying to other application in dev.

Thanks