Hi @Hasan Mosharrof,
You can use double quotes to enclose the LDAP path instead of single quotes. Then, you can use single quotes to enclose the value of the "objectClass" attribute.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
tried with OPENROWSET as well same error code but different msg
You can check the relevant logs to see if there are any related errors reported.