<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
0D54z0000A1Cmy7CQCOkta Classic EngineAdministrationAnswered2024-02-22T17:09:32.000Z2024-02-21T14:50:54.000Z2024-02-22T17:09:32.000Z
On Trial license. Getting "You do not have permission to perform the requested action" when creating a saml app with terraform.

Hi!

 

I have setup a terraform configuration using a API Service application that have the following scopes: okta.apps.manage, okta.apps.read.

 

I then try to create a new saml application using the terraform resource okta_app_saml but I get the following error: You do not have permission to perform the requested action. It fails when calling the api endpoint POST /api/v1/apps?activate=true.

 

Am I using the wrong scopes? Or is it becuase I'm on a trial license?


  • Mihai N. (Okta, Inc.)

    Hi @ChristianR.60780 (Customer)​ , Thank you for reaching out to the Okta Community! 

     

    Free Developer orgs might not have access to SSO features. If you have a Workforce Identity Cloud free trial, you should have access to create SAML apps.

    You might need to use a Okta Super Admin API token for the terraform implementation, though, due to security limitations.   

    My advice would be to reach out to my Developer colleagues on devforum.okta.com to take advantage of their expertise. They should be able to provide more insight into the implementation via Terraform.  

     

     

    If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you. 

     

    Hope my answer helps! 

     

    --------------------------------

    Ask the experts about Okta Privileged Access

    Expand Post
This question is closed.
Loading
On Trial license. Getting "You do not have permission to perform the requested action" when creating a saml app with terraform.