Unable to remove NSX Identity Firewall AD entry as domain sync is in-progress
book
Article ID: 378119
calendar_today
Updated On:
Products
VMware vDefend Firewall
Issue/Introduction
You are using NSX and want to remove Identity Firewall AD entries.
The "Delete" option for the AD entry is greyed.
The Synchronization Status for the AD entry has failed due to an LDAP issue. The LDAP entry is reporting up and connected without issue.
Hovering over the delete button the reason is as follows: "Operation is not allowed while domain sync is in-progress".
Attempting a sync delta or sync all has no impact.
Using the API call /policy/api/v1/infra/firewall-identity-stores/{firewall-identity-store-id}/sync-stats illustrates "SYNC-STATUS-FAILED" and "Cannot connect to any LDAP server in domain abcxyc.domain.com".
Environment
NSX-T 3.X or NSX 4.X
Resolution
In order to remove the entry use the following API calls:
Get the identity store id from the GET API call:
GET https://{nsx-manager-ip}/policy/api/v1/infra/identity-firewall-stores/
Use the DELETE API call to delete the identity store which cannot be deleted via the UI: