task for learning

Job ID: 34802284

Budget: $10 – $30 USD

“UIA” is in a transition from old to new IAM solution
Old IAM has an LDAP catalog as a usercatalog
In a transition fase from old to new solution may “UIA” have to update some objekts or identities with simple accountinformation in an automated way.

Former IAM solution has an available LDAP catalog where the identities is placed.
One Identity has an REST API that can be used to update identities.

See documentation: https://support.oneidentity.com/de-de/technical-documents/identity-manager/8.0/rest-api-reference-guide/9#TOPIC-863100

Old IAM solution (LDAP catalog information)
Hostname: SDS_LDAP.uia.no
Port: 636
Creds: SDS_LDAP
Password: SDS_LDAP (we disregard sertification handling)
OU=accounts,ou=UIA,DC=SKE,DC=NO
User; Tom Olsen, uid=4421102


New IAM solution (API information)
Host: https://oneidentity.uia.no/Appserver
Creds: REST_USER
Password: REST_USER (we disregard sertification handling)
user; Tom Jones, uid=4421102

Make a simple powershell script that reads existing surname from old IAM solution and update same user with surname in new IAM solution, given that the user has uid=4421102 in both IAM solutions.
Error handling and logging as a part of the script will be a plus.
Related categories: Powershell Coding Lesson