<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z000072AklcCACOkta Classic EngineIntegrationsAnswered2021-06-23T05:00:12.000Z2021-06-23T04:00:11.000Z2021-06-23T05:00:12.000Z

PaulC.40146 (Customer) asked a question.

You do not have permission to access the feature you are requesting (profile mapping)

I am receiving the following error when trying to use the mappings API (https://developer.okta.com/docs/reference/api/mappings/)

 

curl -H "Authorization: SSWS api_token" https://dev-XXXXXX.okta.com/api/v1/mappings

 

 {"errorCode":"E0000015","errorSummary":"You do not have permission to access the feature you are requesting","errorLink":"E0000015","errorId":"XXX"

 

 

The API token I am using is created for a Super Admin (myself). 

 

I suspect this is what it says - I don't have permission to access the feature even though I am a Super Admin. So my question is, how do I enable this feature or set this permission? I have trawled the docs and google and are at a loss.

 

 

How did I get here?

 

I have been recently experimenting with the Terraform Okta Provisioner - and stumbled on this error when trying to run a basic tf template.

 

 

 

terraform plan

 

Error: failed to find profile mapping source: The API returned an error: You do not have permission to access the feature you are requesting

 

with data.okta_user_profile_mapping_source.user,

 

on main.tf line 81, in data "okta_user_profile_mapping_source" "user":

 

81: data "okta_user_profile_mapping_source" "user" {}

 

 

 

 

 

This led me to this https://github.com/okta/terraform-provider-okta/issues/77. That closed a number of times, but mentioned I'm closing this issue due to the probable reason for this error is that profile mapping isn't enabled. 

 


  • PaulC.40146 (Customer)

    Got in touch with the Okta Support (via opening a case) and they enabled this feature.

     

    I asked about this particular feature and their response "the Mappings feature flag enabled on your tenant in order to perform the API calls. Unfortunately you can not enable such features from the UI since they are available to only certain account entitlements."

     

    So I guess I'm answering my own post here. If you need this feature, you will need to lodge a support request via opening a case or emailing - support@okta.com.

     

     

    Expand Post
This question is closed.
Loading
You do not have permission to access the feature you are requesting (profile mapping)