Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

General access denied error with AD component

Updated: 31 Aug 2011 | 7 comments
matzebru's picture
0 0 Votes
Login to vote
This issue has been solved. See solution.

I have a workflow that I'm trying to use the "Update User" Acitive Directory component to update 4 custom attributes on a given user. Whenever it hits the Update User component however, I am getting a "General access denied error" Active Directory error. I have a "GetUsersWithDetailsComponent" ahead of that in the Workflow and it works fine to gather all the user's AD info so I know my AD connection settings in the Workflow are correct. I also verified I can write to the 4 AD custom attributes using the same account I'm using in the Workflow by running a VB script outside of the workflow to make sure it wasn't a problem with the service account I'm using. How should I be setting up the "Update User" component so it gets past the error?

Comments

JoeVan's picture
17
Aug
2011
0 Votes 0
Login to vote

Update User methods

Check out this video starting at 13:20.  He talks about how he is able to update user properties with the update user component by first creating a single value data mapping to update individual user properties instead of updating the properties within the UpdateUser component.  Hope that helps. 

https://www-secure.symantec.com/connect/videos/workflow-use-case-active-directory-account-expiration-management

Joe Van

Joe VanHollebeke
Systems Engineer

Please improve the connect community... give a thumbs up to useful posts and mark solutions as solutions!

matzebru's picture
17
Aug
2011
0 Votes 0
Login to vote

Thanks for the reply. I've

Thanks for the reply. I've already got my values for the custom attributes mapping into a "CurrentADUser" variable of ADUserInfo datatype and I am passing that variable name to the Update User component's Input tab's User Info section. I've tried CurrentADUser.CommonName and CurrentADUser.UserLogonNamePreWindows2000 as the User Name section (video and other examples I have seen show they use CommonName). I've actually tried so many variations of things I'm starting to get a nervous tick from the stress surprise

- Bruce

 *** If a forum post solves your problem, please flag it as a solution. If you like an article or forum post, vote it up. ***

matzebru's picture
23
Aug
2011
0 Votes 0
Login to vote

Minimum Permissions

I'm trying to make a password reset workflow and find that I get the same "General access denied error" Active Directory error when I'm trying to use the "Reset User Password" component. I'm pretty sure this is boiling down to a permissions/rights issue where the WF components are trying to write to more fields than my service account has permissions for. The service account I'm using does have reset password permissions, but apparently this is not enough for the "Reset User Password" component too. Our environment is on super-duper security lockdown, so the service account I'm using only has write permissions in AD for the 4 custom attributes and reset password permission. Unfortunately I can't admin AD myself and must go through our Networking department to get permissions adjusted on the service account I'm using after two different approvals are granted. This makes being able to test this myself impossible. sad

So, does anyone know what the minimum AD permissions are for a service account to successfully use the "Update User" and "Reset User Password" AD Workflow components?

- Bruce

 *** If a forum post solves your problem, please flag it as a solution. If you like an article or forum post, vote it up. ***

Justin Inglett's picture
25
Aug
2011
0 Votes 0
Login to vote

  At the ‘Tasks to Delegate’

 

At the ‘Tasks to Delegate’ screen, choose ‘Create a custom task to delegate’
- Change password 
- Reset password 
- Read lockoutTime 
- Write lockoutTime
 
Or you can just use the 'common tasks' and select:
- Reset user passwords and force password change at next logon
- Read all user information
TGiles's picture
29
Aug
2011
0 Votes 0
Login to vote

Per the information provided

Per the information provided by the help screen for the Reset Password component the user must be a Domain Admin.

matzebru's picture
29
Aug
2011
0 Votes 0
Login to vote

Yes I saw that. The Get User

Yes I saw that. The Get User With Details component says the same thing and it works fine without the service account I'm using being a member of the Domain Admins group.

- Bruce

 *** If a forum post solves your problem, please flag it as a solution. If you like an article or forum post, vote it up. ***

matzebru's picture
31
Aug
2011
0 Votes 0
Login to vote

Resolved this by not using

Resolved this by not using the Reset User Password component and used a Code (Script) component instead.

- Bruce

 *** If a forum post solves your problem, please flag it as a solution. If you like an article or forum post, vote it up. ***