Skip to content

[Issue] BYO GitHub App does not support enterprise installation #196

@DevKyleS

Description

@DevKyleS

Issue Description
BYO GitHub App method does not support enterprise installation, where app is installed to one or many GitHub Organizations.

Thread ID
Paste the thread ID from the SRE Agent portal. (e.g., 50f7521d-dfee-487e-9188-5abdc8adde91)

Steps to Reproduce

  1. Create GitHub App at GitHub Enterprise Level with appropriate permissions.
  2. Attempt to setup Azure SRE Agent, using BYO GitHub App method (fails)
  3. Transfer GitHub App from GitHub Enterprise to GitHub Organization (app id does not change)
  4. Attempt again to connect/auth (successful)

Expected Behavior
BYO GitHub App method can use a GitHub App owned by a GitHub Enterprise and installed to one or many GitHub Organizations (within the Enterprise) to enable cross-org repo access.

Actual Behavior
Fails to authentication when BYO GitHub App is part owned by a GitHub Enterprise, regardless whether its installed to one or many GitHub Organizations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions