I have windows AD configured with BI4.
I have windows AD users\groups alias scheduled every 15mins.
I also have Enterprise alias script scheduled daily to create a enterprise alias for any AD user created on AD side.
so, once the user created on AD and mapped to the BO Group then its AD and Enterprise alias is automatically created in BO.
Now the issue is if the AD user is deleted on AD side i still have its Enterprise alias present in BO once its AD alias is removed.
Can anyone share a script to delete Enterprise User based on the condition which does not have any AD alise associated.