Skip to Content
Technical Articles
Author's profile photo Vladimir Savchenko

CloudFoundry – Lost or Missing OrgManager

There are situations, when a Cloud Foundry Org is left without at active Org Manager. In such situations an active SubAccount Administrator can add a new Org Manager via the following process

  1. Subaccount Admin navigates to “BTP Cockpit -> Instances and Subscriptions -> Environments” – this is the table on the bottom of the screen
  2. There should be one “Cloud Foundry Runtime” Environment entry in the table
  3. Select “Update” from the “…” menu
  4. Press “Next >” to go to the next screen, where a JSON can be provided.
  5. Use the following format to provide the user details:
    1. For adding users with the default sap.ids origin use this format (no need to specify origin):

      {
          "usersToAdd": [
             {
             "email""john.do@sap.com",
             "id""I999999"
          }
        ]
      }
    2. For adding users with customIdp origin use this format:

      {
          "usersToAdd": [
             {
             "email""john.do@sap.com",
             "id""I999999"
             "origin""custom.idp"
          }
        ]
      }
    3. You can also add multiple users with and without origin:

      {
          "usersToAdd": [
             {
             "email""john.do@sap.com",
             "id""I999999"
          },
          {
             "email""john.do@sap.com",
             "id""I999999"
             "origin""custom.idp"
          }
        ]
      }
    4. To remove users as org admin just change the name of the json struct to “usersToRemove” like so:

      {
          "usersToRemove": [
             {
             "email""john.do@sap.com",
             "id""I999999"
          }
        ]
      }
  6.  Press “Update Instance” to complete the process
  7. The Update takes a few seconds to complete, and once done, the chosen user will become Org Manager. To complete the process, this configuration has to be removed, else there will be errors like “User is already Org Manager”. To remove the configuration – follow the steps above, but replace the text from 5.) with “{}” and update the instance again

Assigned Tags

      2 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Wallace Henry
      Wallace Henry

      Thanks Vladimir,
      I don't think this has happened yet, but in a larger company with multiple items in use, this will happen to us... and I suspect possibly others.

      Author's profile photo Vladimir Savchenko
      Vladimir Savchenko
      Blog Post Author

      Hi Wallace, we get at least 5 tickets about this per week and they are increasing. From compliance POV it was a hell to get permissions to access the org and do changes there