0 votes

Is it possible to import values for one of the custom attribute fields (i.e. CustomAttributeText1) from a CSV file using PowerShell?

Every user in our organization is assigned a Security PIN that can be used to assist in identifying them when the call our Help Desk to reset/change their password. We'd like to store that Security PIN in Adaxes and have guessed that CustomAttributeText1 is the best place to store it. We have a CSV file containing all of the Security PINs and are now trying to determine how to import the values into Adaxes.

Thanks in advance for any assistance...

by (320 points)
0

I should mention that we're viewing this as a one time import. Moving forward, when new users are created, we will let Adaxes randomly generate a 4 digit Security PIN to populate the CustomAttributeText1 field...

1 Answer

0 votes
by (1.2k points)

I have not done this, but just came to me as an idea if you want to give it a go since this is still open.

Doesn't look like you can powershell the custom attributes (someone tell me I am wrong please). If that is really the case and you really want to use the Adaxes custom attribute, how about finding an AD attribute that you are not using right now and use powershell to put the pin in there for a moment. Once that is done, create a scheduled task in Adaxes for users. Have it modify the customattributetext1 to set it to whatever attribute you used in AD. It will copy the attribute over. You could actually set another step to remove the contents of the temp attribute as well. Set it to target the users you want and run it manually.

Its a two step process, but you get it there. I am interested in knowing if this helped or even worked.

Related questions

0 votes
1 answer

hello i'm new with Adaxes i'm try to creat schuadle task to import a spefice user list by thier username id after that just update City for them by bulk updating . kinly advise

asked Aug 29, 2023 by sudox (20 points)
0 votes
1 answer

Have a csv file of users that I need to import into Adaxes. I had initially found an article for this, but upon going today, it gave me an error (looks like it was deleted). Thank you

asked Nov 19, 2022 by wangl (20 points)
0 votes
1 answer

We are trying to get a scheduled task to run every Friday night at 10:00pm to pull the users needed to be fully deprovisioned by the custom command we have created.

asked Dec 2, 2016 by willy-wally (3.2k points)
0 votes
1 answer

So I need to export a list of all user's Line URI's to a CSV file. Running Adaxes 2021 Version 3.14.18804.0 (64 bit) and Teams Powershell 4.1.0 ... a Microsoft 365 account } finally { # Close the connection and release resources Disconnect-MicrosoftTeams }

asked Aug 4, 2022 by TheLexicon (200 points)
0 votes
1 answer

My company created about a dozen attributes in AD for a few applications...I see many items that look like stock attributes but none of the custom ones...I even have the show empty enabled...current version is 2013.1

asked Sep 25, 2013 by kf4ape (490 points)
3,347 questions
3,048 answers
7,788 comments
545,040 users