Apparently I changed some setting in the Unified Self Service portal and the casmadmin user no longer seems to have admin rights. Is there any way to get them back?
Are you using SQL Server/Oracle for the underlying USS database? Or MySQL?
Authentication preferences are stored in one attribute of PortalPreferences table. Example: See the preferences here for one USS Portal instance
So if you want to search for a specific value there for a specific preference (ex: EEM Server name), then you would end up Copy/Pasting that record result into Notepad++ Now it looks like below. Still not of good use
So Invoke the Replace feature of Notepad++ via Edit -> Replace and use below syntax (Note: The Search Mode is set to Extended)
What this does is, for every </preference> its inserting a New Line character after </preference>
Now your preferences are much easier to read. Modify the preference value (mostly this is eem.authentication.enabled or ntlm.authentication.enabled OR maybe just having the right EEM group (eem.application.admin.group)
Once you have the correct value, Do the reverse replace of what you did earlier. Replace all occurrences </preference>\n with </preference>. The portal preferences attribute should be all in one line now. Copy this value back into the database, and restart USS.
NOTE: Database backup is needed, just to be safe.
Some of the above values can be set via <USS_Install_Dir>/Portalext.Properties file. But some times it is not effective. That's why the db reset mechanism is needed.
The problem was with the EEM configuration. It was set to an application group name but without the domain name in front of it. Once we updated that, it works now.