# Jenkins locking my AD Account

**URL:** https://community.jenkins.io/t/jenkins-locking-my-ad-account/3829
**Category:** Ask a question
**Created:** [September 17, 2022, 2:16pm UTC](https://community.jenkins.io/t/jenkins-locking-my-ad-account/3829 "2022-09-17T14:16:02Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![hanuman.bandhu](https://avatars.discourse-cdn.com/v4/letter/h/b5ac83/32.png) [@hanuman.bandhu](https://community.jenkins.io/u/hanuman.bandhu)
#### Post date: [September 17, 2022, 2:16pm UTC](https://community.jenkins.io/t/jenkins-locking-my-ad-account/3829/1 "2022-09-17T14:16:03Z")

</div>

Hello All,

We have integrated ( almost 3 years back) Jenkins to use AD account . From last few days Jenkins is locking my AD account very frequently .

I verified all the jobs in Jenkins to make sure , they are not using my old credentials .  
Our AD team and UNIX team confirmed Jenkins application is locking my account .  
Can someone help me how to resolve this issue .

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/jenkins/original/2X/d/dacc60a92f8af9b4fe845c0e3e28412e7478e6bf.png)

---

<div class="post-metadata">

### Author: ![slide\_o\_mix](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/slide_o_mix/32/20977_2.png) [@slide\_o\_mix](https://community.jenkins.io/u/slide_o_mix)
#### Post date: [September 17, 2022, 3:36pm UTC](https://community.jenkins.io/t/jenkins-locking-my-ad-account/3829/2 "2022-09-17T15:36:57Z")

</div>

Did you recently change your password? If so, my guess is there is some job that has the old password.

---

<div class="post-metadata">

### Author: ![hanuman.bandhu](https://avatars.discourse-cdn.com/v4/letter/h/b5ac83/32.png) [@hanuman.bandhu](https://community.jenkins.io/u/hanuman.bandhu)
#### Post date: [September 19, 2022, 12:28pm UTC](https://community.jenkins.io/t/jenkins-locking-my-ad-account/3829/3 "2022-09-19T12:28:29Z")

</div>

> [@slide\_o\_mix](#):
>
> me job that has the old password.

I did not change my password recently , the problem started all of sudden . I validated all the jobs for my old password and none of the jobs are using my old password .

---

<div class="post-metadata">

### Author: ![othapall](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/othapall/32/6283_2.png) [@othapall](https://community.jenkins.io/u/othapall)
#### Post date: [November 28, 2023, 8:33pm UTC](https://community.jenkins.io/t/jenkins-locking-my-ad-account/3829/4 "2023-11-28T20:33:20Z")

</div>

i have the same problem. how did it get resolved

---

<div class="post-metadata">

### Author: ![poddingue](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/poddingue/32/985_2.png) [@poddingue](https://community.jenkins.io/u/poddingue)
#### Post date: [November 29, 2023, 9:25am UTC](https://community.jenkins.io/t/jenkins-locking-my-ad-account/3829/5 "2023-11-29T09:25:51Z")

</div>

You should maybe check the Jenkins Logs.  
They might contain information about which operations are causing your AD account to be locked.  
You can view the logs by navigating to “ **Manage Jenkins** ” → “ **System Log** ” in the Jenkins dashboard.

You could also try to update the plugins.  
If you’re using a plugin for AD integration, make sure it’s up to date. An outdated plugin might be causing this issue. 🤷

Instead of using your personal AD account, could you consider using a service account for Jenkins operations?  
A service account is a special type of account that is not tied to a specific user and is typically used for running services or automated tasks.
