Server is unwilling to process the request - Active Directory - Add User via C#

后端 未结 6 1582
陌清茗
陌清茗 2020-12-18 23:33

I used the example in this page to add a user to an Active Directory group, but I get an exception with the message \"Server is unwilling to process the request\" when execu

6条回答
  •  Happy的楠姐
    2020-12-18 23:56

    I got this generic error message when my path did not match the forest domain name. For example, if my forest domain name is ad.example.com, and I am trying to create a group with path CN=Users,DC=example,DC=net one has .com the other has .net - they don't line up. I would need to correct my group to match. My group path should then be CN=Users,DC=example,DC=com.

提交回复
热议问题