Closed stevem42 closed 4 months ago
@stevem42: What you are doing is trying to configure Okta Integration Network (OIN) apps using Okta's integral apps, in this case okta_app_auto_login. It is currently not supported. We have created an issue that you can watch for when this functionality come online #1637
Duplicate #1637
Community Note
Terraform Version
Terraform version 1.8.5 Provider version 4.8.1
Affected Resource(s)
okta_app_auto_login (office365)
Terraform Configuration Files
Expected Behavior
Changing the label should successfully update the application label in Okta.
Can this be done in the Admin UI?
Yes
Can this be done in the actual API call?
Yes - BUT - only if the request body contains just "name" and "label" e.g
Actual Behavior
Error on Apply
Error: failed to update auto login application: the API returned an error: Api validation failed: customRuleSettings.customRule. Causes: errorSummary: customRuleSettings.customRule: The expression is invalid: Property 'source' not found, Status: 400 Bad Request with okta_app_auto_login.office365_uat on apps.tf line 1019, in resource "okta_app_auto_login" "office365_uat": resource "okta_app_auto_login" "office365_uat" {
Steps to Reproduce
terraform apply
Important Factoids
I had opened up a support ticket with Okta. They advised sending only name + what was needed to be changed was required for the API call for this application. I was successfully able to update the label with this method. I can't verify all changes that
could
be made to an auto_login app work this way.References
The following issue was solved for other auto_login applications, but office365 could not be updated after this change went through. Before the change they would fail with the same error
1934