KB Article #180497

/update-apimanager failed with "API Manager configuration update failed. No OAuth 2.0 Service found in the API Manager configuration, please re-install. "

Problem

After applying SP11/753 this error is thrown:

API Manager configuration update failed. No OAuth 2.0 Service found in the API Manager configuration, please re-install.

Resolution

The cause is that for whatever reasons, the OAuth2 service is missing from that API Manager

The solutions are:

1. Reinstall API Manager and re-import the KPS from backup

or

2. Export API Manager Protection Policy and the OAuth2 Services included and then run the command again, as follows:

- stop the API Manager instance and cassandra

- make a physical backup of both

- start API manager instance and cassandra

- load an bare (working) API Manager instance in Policy Studio;

- export the AaPI Manager Protection Policy including the Oauth2 Service

- import it to the API Manager that has the issue; deploy and restart the instance.

- re-run the 'update-apimanager' command