I was working on a customer’s System Center 2012 Operations Manager, which was failing to register their application, even when they were using the steps provided in
Using the steps referenced in
, the PowerShell hangs after you run the “
Set-SCOMLicense -ProductId XXXXX-XXXX-XXXXX-XXXXX-XXXXX
“ command and select Y to confirm.
An “Unauthorized Access Exception” or simply a lack of “permissions” needed to update the database is being prevented from updating the OperationsManager database. Even though the account is a member of the Domain Administrators.
Make sure that the account you are using to run the PowerShell registration commands is not only a local administrator on the management server, but more importantly it
the correct rights to make changes to the “OperationsManager” SQL database. A domain admin account may not work for you depending on how you configure the settings in SQL. I would recommend using the SDK account; if the SDK can not make these changes, then you just might have some bigger issues going on that need to be taken care of.
Since the SDK account is one set of credentials that is used to “update” & “read” the information that is in the operational database. The Operations Manager will ensures that the credentials used for the System Center Data Access service and System Center Configuration service account are assigned to the “sdk_user” role in the operational database. For more information you can learn more
You may also find that there are no event log alerts or ProcMon events if you go that far that would lead you any signs of errors, however, when was able to pull this once while running these command through PowerShell – ISE.