Expiry date for user account

shweta5
Giga Expert

Hi Experts, 

Good Day !

We have set validity of the account in AD but not sure will it be working with service now (Service now Integrated with AD) . 

I want to set expiry date of one user account in service now also . How can I achieve this .Please help . 

 

Thanks

Sheetal

1 ACCEPTED SOLUTION

Hi Sheetal,

that's correct.

If user account in AD gets disabled it would be disabled in ServiceNow as well when the LDAP runs.

Let me know if that answered your question.

If so, please mark appropriate response as correct & helpful so that this thread can be closed and others can be benefited by this.

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

5 REPLIES 5

SumanthDosapati
Mega Sage
Mega Sage

Hi Sheetal, 

 

As you said that if from AD then if there is any field like user expiry date then Map that field in User Transform Map in servicenow.

or else

Create a new field in user table and run a schedule job daily.

 

Hope it solves your query and mark it correct and helpful if it does.

Regards,

Sumanth

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Sheetal,

You will have to handle this using the transform map;

Are you saying if user is expired in AD then it should be set to inactive in ServiceNow also?

I believe this should happen OOB

Reactivate the users in ServiceNow when the users made to active from inactive state in Active Direc...

Regard
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

shweta5
Giga Expert

Thanks Ankur for your prompt response .

Are you saying if user is expired in AD then it should be set to inactive in ServiceNow also? 

 - It is already happening when account got disabled in AD User account get automatically locked out/inactive  in service now 

 

Thanks

Sheetal

 

It means its fine if we are setting validity for account in AD that will also work in Service now to deactivate the user.