Hi Muhammad
https://moodle.org/mod/forum/discuss.php?d=262819 is somebody else's discussion! And that person https://moodle.org/user/view.php?id=1459421&course=5 has left the forum.
What is exactly "export users from AD and import to Moodle"? Is it one time? What information (attributes) of the users should land in Moodle?
Did you read the documentation linked to the header of this forum!
Authentication
Importing AD Users via LDAP
This discussion has been locked so you can no longer reply to it.