When attempting to open the page for Active Directory Import Rules under Actions tab > Discover> Import Microsoft Active Directory, the following error occurs:
An error occurred while retrieving import rules from the Directory web service.
An error occurred while retrieving import rules from the Directory web service
SMP 7.x, 8.x
Corruption of one of the AD Import Rules.
update item
set ProductUninstalled =1
where guid in (
select guid from itemclass
where ClassGuid = 'B2378265-2779-49E6-998D-8BE620B3D9D9' )
This query set all the AD Import Rules as uninstalled or disabled.
After disabling all the AD Import Rules, try to open the Microsoft Active Directory page in the Altiris Console. Verify that it opens without the error message. Try to create a new AD Import Rule just to verify that it doesn't get corrupted.
You may need to create new AD Import Rules since one of the previous ones at least seems to be corrupted.
In case that you want to recover most of your AD Import Rules, run the following query to enable the AD Import Rules one by one until you found which one caused the issue:
update item
set ProductUninstalled =0
where guid in (
select guid from itemclass
where ClassGuid = 'B2378265-2779-49E6-998D-8BE620B3D9D9' )
Note: Use the query from step 2 to find all the GUIDs that need to have the ProductUninstalled value changed.