Problem
When you add an additional GitHub account or organization to an existing Terraform Enterprise GitHub App through the UI, the operation fails with the following error:
Failed to install GitHub App: The response from the provider is missing these required response params: installation_id
Cause
This error typically occurs when the GitHub user attempting to authorize the application does not have administrative permissions for the target GitHub organization. A user with insufficient permissions will see a Request button in the GitHub authorization pop-up, which only sends an installation request to the organization's administrators.
A user with the correct administrative permissions will see an Install button, allowing them to complete the authorization.
Solution
To resolve this issue, the action must be performed by a GitHub user who is an administrator of the target GitHub organization and has permission to install GitHub Apps.
Ensure that an organization administrator either performs the installation directly or grants the necessary permissions to the user attempting the installation.
Outcome
After an authorized user completes the process, the Terraform Enterprise GitHub App will be successfully installed and connected to the additional GitHub account or organization.
Additional Information
Please refer to the official documentation for more details on managing VCS providers in Terraform Enterprise.