# GitHub Enterprise integration broken after Cursor app reinstall

**URL:** <https://forum.cursor.com/t/github-enterprise-integration-broken-after-cursor-app-reinstall/154694>\
**Category:** Help\
**Created:** [March 12, 2026, 9:06pm UTC](https://forum.cursor.com/t/github-enterprise-integration-broken-after-cursor-app-reinstall/154694 "2026-03-12T21:06:49Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmmeff](https://avatars.discourse-cdn.com/v4/letter/m/8c91f0/32.png) [@mmmeff](https://forum.cursor.com/u/mmmeff)\
**Post date:** [March 9, 2026, 3:33am UTC](https://forum.cursor.com/t/github-enterprise-integration-broken-after-cursor-app-reinstall/154694/1 "2026-03-09T03:33:09Z")

</div>

Thanks for the response.

Unfortunately, executing a test run is still not working.

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/7/e/7e5c68710af0992ce71c9b805e8761738901558b.png)

Pulling up the failed run in the history shows me this:

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/b/2/b2027d6ab61e4b7da4ac2fa77a0828ba8c6572ad.png)

I’m not sure what else to do as our GHE github is definitely integrated and functional, bugbot and cloud agents have been working fine for us since January.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/colin/32/90452_2.png) [@Colin](https://forum.cursor.com/u/Colin)\
**Post date:** [March 9, 2026, 2:57pm UTC](https://forum.cursor.com/t/github-enterprise-integration-broken-after-cursor-app-reinstall/154694/2 "2026-03-09T14:57:08Z")

</div>

@mmmeff, can you check that there is actually a GHE App registered under the **Integrations** tab of your dashboard?

 ![Screenshot 2026-03-09 at 15.52.33](https://us1.discourse-cdn.com/cursor1/original/3X/8/b/8bf190a465b1f5179e22b7104e08ecd97894c008.jpeg)

If so, please try registering a new application and removing the old one.

---

<div class="post-metadata">

**Author:** ![mmmeff](https://avatars.discourse-cdn.com/v4/letter/m/8c91f0/32.png) [@mmmeff](https://forum.cursor.com/u/mmmeff)\
**Post date:** [March 12, 2026, 9:06pm UTC](https://forum.cursor.com/t/github-enterprise-integration-broken-after-cursor-app-reinstall/154694/3 "2026-03-12T21:06:49Z")

</div>

Removed the old “Cursor” app and added the new “Cursor Enterprise” one. However, I’m still getting the same error when attempting to test run my automations.

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/1/5/1540188ac4236860b1ac9d5e4b0e4fd29e04b6ac.png)

---

<div class="post-metadata">

**Author:** ![Brent\_Bradbury](https://avatars.discourse-cdn.com/v4/letter/b/a698b9/32.png) [@Brent\_Bradbury](https://forum.cursor.com/u/Brent_Bradbury)\
**Post date:** [March 12, 2026, 9:25pm UTC](https://forum.cursor.com/t/github-enterprise-integration-broken-after-cursor-app-reinstall/154694/4 "2026-03-12T21:25:53Z")

</div>

I’m helping @mmmeff on this- @Colin if it is any help debugging, we have limited Cursor Enterprise to only be able to access select repositories, rather than access all repositories (this is a requirement for our environment).

---

<div class="post-metadata">

**Author:** ![mmmeff](https://avatars.discourse-cdn.com/v4/letter/m/8c91f0/32.png) [@mmmeff](https://forum.cursor.com/u/mmmeff)\
**Post date:** [March 13, 2026, 3:35pm UTC](https://forum.cursor.com/t/github-enterprise-integration-broken-after-cursor-app-reinstall/154694/5 "2026-03-13T15:35:55Z")

</div>

Update here - it seems as though detaching and re-creating the cursor app has entirely broken our ability to spawn cloud agents ☹

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/b/0/b0d0c66722d39b054d8b09b871682655d8e09346.png)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/colin/32/90452_2.png) [@Colin](https://forum.cursor.com/u/Colin)\
**Post date:** [March 13, 2026, 5:06pm UTC](https://forum.cursor.com/t/github-enterprise-integration-broken-after-cursor-app-reinstall/154694/6 "2026-03-13T17:06:16Z")

</div>

Splitting this off into its own thread, as I think it will be easier to handle here.

@mmmeff Can you make sure that after recreating the Cursor app, you have made sure that the GitHub app actually gets installed on your organization within GHE?

once u do u still need click manage GHE \> view it on Github → and explicitly install the Cursor App

 ![image (5)](https://us1.discourse-cdn.com/cursor1/original/3X/0/4/042b3040bc60cb619e023bf798b463b300f6a114.png)

 ![image (6)](https://us1.discourse-cdn.com/cursor1/original/3X/2/4/24b3f59e295696206f5a5bdc6c5ae418bbeab6c1.png)

---

<div class="post-metadata">

**Author:** ![mmmeff](https://avatars.discourse-cdn.com/v4/letter/m/8c91f0/32.png) [@mmmeff](https://forum.cursor.com/u/mmmeff)\
**Post date:** [March 13, 2026, 5:18pm UTC](https://forum.cursor.com/t/github-enterprise-integration-broken-after-cursor-app-reinstall/154694/7 "2026-03-13T17:18:55Z")

</div>

@Colin  
Yes, this step is completed. The app is configured both for the organization as well as my own personal account on our GHES deployment

---

<div class="post-metadata">

**Author:** ![Colin](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/colin/32/90452_2.png) [@Colin](https://forum.cursor.com/u/Colin)\
**Post date:** [March 13, 2026, 7:06pm UTC](https://forum.cursor.com/t/github-enterprise-integration-broken-after-cursor-app-reinstall/154694/8 "2026-03-13T19:06:21Z")

</div>

Thanks @mmmeff !

I can see that you’ve successfully spun up cloud agents since this post:

> [@mmmeff](#):
>
> Update here - it seems as though detaching and re-creating the cursor app has entirely broken our ability to spawn cloud agents ☹

Has that been addressed?

You (and your team) will need to reconnect to GitHub on `https://cursor.com/dashboard/integrations` (the very first option you see, switching from `github.com` to your GHE instance)

If cloud agents are working again for your team, can you try both a team-owned automation and a user-owned one against a GHE repo and see if the behavior differs between them?

---

<div class="post-metadata">

**Author:** ![mmmeff](https://avatars.discourse-cdn.com/v4/letter/m/8c91f0/32.png) [@mmmeff](https://forum.cursor.com/u/mmmeff)\
**Post date:** [March 13, 2026, 7:34pm UTC](https://forum.cursor.com/t/github-enterprise-integration-broken-after-cursor-app-reinstall/154694/9 "2026-03-13T19:34:13Z")

</div>

Yeah, I was able to get cloud agents running again, but I had to remove our cloud environment setup before it would let me boot one up.

I attempted re-creating the environment setup but as soon as I reintroduce one, the agents are no longer able to start again.

Both private and team-owned automations still do not work and exhibit the same issue.

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/6/8/68ed463149ebb8d12dfad8eba19e9e13fb94335f.png)

I think there’s something very wrong with how cursor is authenticating with our GHES deployment.

Even executing agents and telling them to assign PRs to certain individuals gets them trapped in a death spiral where it cannot find the correct credentials to interface with our github instance.

---

<div class="post-metadata">

**Author:** ![mmmeff](https://avatars.discourse-cdn.com/v4/letter/m/8c91f0/32.png) [@mmmeff](https://forum.cursor.com/u/mmmeff)\
**Post date:** [March 13, 2026, 8:09pm UTC](https://forum.cursor.com/t/github-enterprise-integration-broken-after-cursor-app-reinstall/154694/10 "2026-03-13T20:09:17Z")

</div>

Seeing errors like:  
`pull request create failed: GraphQL: Resource not accessible by integration (createPullRequest)`

Even though the app clearly is configured with read/write perms when I look in the app settings in github 🤷

---

<div class="post-metadata">

**Author:** ![Colin](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/colin/32/90452_2.png) [@Colin](https://forum.cursor.com/u/Colin)\
**Post date:** [March 20, 2026, 5:59pm UTC](https://forum.cursor.com/t/github-enterprise-integration-broken-after-cursor-app-reinstall/154694/12 "2026-03-20T17:59:35Z")

</div>

Hey Matt,

How are things looking now? Have you been able to make some progress?
