cloud-foundrycloudfoundry-uaa

How to create Organization and space in mindsphere using cloudfoundry?


When I am using the following code:

cf create-org (ORG_name)

I am getting an error:

You are not authorized to perform the requested action


Solution

  • If this is a Developer tenant, then you will already have an org for the tenant, which has the same name as the tenant. You can't create another org. By default, only the tenant owner is in the OrgManager role which can access the org.

    Either:

    1. Get the tenant owner to add you to the OrgManager role
    2. Use MindSphere Settings to create Service Credentials for Cloud Foundry. This will allow you to login to cf using those credentials, access the cf org and add your real user to the org