Error 8340 - ERROR_DS_CANT_DELETE_DSA_OBJ
The DSA object cannot be deleted.
Symptoms
- The DSA object cannot be deleted.
- System error 8340 (ERROR_DS_CANT_DELETE_DSA_OBJ)
Troubleshooting steps
- Note the exact error 8340 (ERROR_DS_CANT_DELETE_DSA_OBJ) and which operation failed.
- Check the Windows Event Viewer and the relevant application/service logs for related entries.
- Apply the fix documented by Microsoft for error ERROR_DS_CANT_DELETE_DSA_OBJ (see the reference URL).
- Retry the operation after applying the fix and confirm the error no longer appears.
Reference: learn.microsoft.com