I am trying to configure SquaredUp to access an OMS workspace. When I run the setup script, it says
“Service account ‘squaredup-oms-plugin’ already has the Reader role for this OMS instance”.
-Thus it never gives me the client secret pw that I need to populate the OMS web config file.
Any suggestions on how to resolve this? Also, the documentation says that I should modify the “oms.json” file. I don’t see such a file in my directory but I do see a “oms.encrypted.json” file. -Assuming this is the file in question as I would think that having a password in clear-text in a configuration file would be a huge security risk.
-Had to delete the existing “SquaredUp-OMS-Plugin” IAM account and then have the script run by someone who had full admin privileges in the subscription. My account didn’t have the right permissions so the script wasn’t completing properly.
The password is specified during deployment. There is no way to gain the password once it’s been set, so you have two options:
- Delete the existing app from the Azure portal and run the script again
- Change everything in the script where it says squaredup-oms-plugin to squaredup-oms-plugin2
The first option is prefered 😉