script to delete service identities

 4 Replies
 0 Subscribed to this topic
 68 Subscribed to this forum
Sort:
Author
Messages
BJ
New Member
Posts: 2
New Member
Help! We accidentally loaded a LWA9T service identity for over 800 ESS only users. It is causing problems.

Does anyone have a utility or script that will examine each RM id, and if it is prefixed with a given string, in this case "GF", delete the associated LAW9T service identity?

Hate to do these manually, one by one!

Thanks
Greg Moeller
Veteran Member
Posts: 1498
Veteran Member
We have an old script that we used to build a test set of ESS employee records with..  perhaps you could modify it a little to do a delete of just the records that you have in mind.  *Keep in mind that this script is NOT supported by Lawson.  You'll have to run the ssoconfig command separately.  Script will just buld the files that can be used.
Attachments
Vijay S
Veteran Member
Posts: 174
Veteran Member
I guess if you have access to PF integrator, you can design a simple process flow, which reads each RMID record via resource query and incase the same is prefixed by "GF", the related service can be deleted.
Greg Moeller
Veteran Member
Posts: 1498
Veteran Member
PF would be the better way to do this! Plus it would be supported. I just don't know PF so never even thought of it.
Vijay S
Veteran Member
Posts: 174
Veteran Member
Hope this helps, Its somewhat similar...

https://www.lawsonguru.co...ua-via-process-flow/