Search account name and unlock disabled user

Hi

Forgive me I am looking at a way to script searching for a user in fim and changing the singlevalueattribute account locked false to account unlocked true.

I have trawled the internet to no avail :(

Ideas?

Thanks

Darren

September 4th, 2015 7:03am

Hello Darren,

can you go a Little more into detail.

Were exactly do you try to Change that value.
Modifying values in the metaverse is not possible, only think that would programaticly work is using the FIM Service. You can use the FIMAutomation SnapIn CMDLETs (Export-FIMConfig/Import-FIMConfig) and some helper scripts for that.

An easy way doing that is using the following cmdlets:

https://fimpowershellmodule.codeplex.com/

/Peter

Free Windows Admin Tool Kit Click here and download it now
September 4th, 2015 7:32am

 Thanks Peter

 I have been landed with 500 users where there accounts are locked/disabled and need manually unlocking in FIM. This is my first introduction with FIM and thought that I could easily create a powershell script to find a user in the FIM database pipe the response to unlock the account.

Regards,

Darren

September 4th, 2015 8:22am

Hello Darren,

direct modifications of the MV database are not supported. So changing that value in Sync Engine ist not possible.

If you have no Portal/FIMService on which you can use powershell you can also do the following in the Sync Engine.

Use a temporary Testfile or SQL MA and create a file/table with 2 colums.

Col1: A unique ID you used elsewhere in your IDM (employeeID or accountName)

Col2: A boolean value of true, for all rows.

Create a MA and join on colum1 and create an Attribute flow for col2 to the Attribute you want to Change.

Dont Forget to give that flow the higgest precedence in MV Schema.

Import and Sync that MA.

After correction you can remove that MA.

/Peter

Free Windows Admin Tool Kit Click here and download it now
September 4th, 2015 8:37am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics