Service Graph Connector for AWS fails to connect after running the EnableAWSConfig.yml scriptIssue When configuring Service Graph Connector (SGC) for Amazon Web Services (AWS), the connection test fails, or the EnableAWSConfig.yml setup script returns an authorization error. This typically occurs when AWS Config is already enabled in the target AWS account, or when required setup fields are blank or incorrect. Symptoms Connection test in the SGC for AWS setup page fails.Running the EnableAWSConfig.yml CloudFormation script returns an error similar to: <User_Account> is not authorized to perform: config:PutDeliveryChannel with an explicit deny in a service control policy: arn:aws:organizations::<organization-id>:policy/<policy-id>/service_control_policy/<policy-id> Uncertainty about which fields on the SGC for AWS setup page are mandatory.Connector does not successfully import data even after AWS credentials are entered. Facts AWS Config is already enabled in the target AWS accountAn AWS Service Control Policy (SCP) at the organization level may explicitly deny the config:PutDeliveryChannel Release All releases. Cause This is a configuration issue. When AWS Config is already enabled in the AWS account, running the EnableAWSConfig.yml script is unnecessary and may conflict with existing AWS Config resources. This is why an AWS Service Control Policy (SCP) can explicitly deny the config:PutDeliveryChannel permission, since the account already governs this action at the organization level. Separately, if the IAM role ARN and AWS management account ID fields are not correctly configured on the SGC for AWS setup page, the connector cannot establish a connection to AWS, regardless of whether the script was run. Resolution Confirm whether AWS Config is already enabled in the target AWS account. Check with your AWS administrator if this is unclear.If AWS Config is already enabled, do not run the EnableAWSConfig.yml script.Navigate to the Service Graph Connector for AWS setup page.In the setup page, enter the name of your existing AWS S3 bucket instead of running the script.Enter the correct IAM role ARN in the corresponding setup field.Enter the correct AWS management account ID in the corresponding setup field.Click Test Connection to verify the connector can reach AWS. If the authorization error persists:The config:PutDeliveryChannel denial originates from an AWS Service Control Policy, which is configured and controlled entirely within your AWS organization. Engage your AWS administrator to review and adjust the SCP if the CloudFormation script must be run. Related Links Executing scripts required for setting up AWSConfigure Service Graph Connector for AWS using the guided setupService Graph Connector for AWS - Setup Instructions