We’re on a paid Team plan (500K LOC, ~431K used; paid 17 Nov after the trial ended on 16 Nov). One private GitHub project, analysed with Automatic Analysis.
After the payment, analysis resumed, then stopped again on 20 Nov 2026 around 15:00 UTC. That was the last background task (Success). Since then there are no background tasks at all, for branches or pull requests.
The “Automatic analysis” toggle (Administration → Analysis method) was off. We switched it on several times on 26 Nov, and each time it was off again later. No analysis ran in between, no failed tasks appear, and no notifications were received.
Already checked:
GitHub App installed and active (not suspended), expected permissions, access to the repository.
GitHub organization and enterprise IP allow lists are disabled.
No CI-based scanner and no Sonar token in GitHub.
No sonar-project.properties anywhere in the repository; only .sonarcloud.properties (unchanged since October).
No personal or scoped organization tokens.
Only two admins, and neither turned it off. The only other account is read-only.
Our GitHub organization recently moved under a GitHub Enterprise account.
What could be disabling Automatic Analysis, and how do we keep it on?
Hey @it572, welcome to the Community! I would like to clarify, do you see the toggle reverting back to “off” immediately? Meaning, if you turn it on does it stay on at least while you’re on the page? If you refresh the page is it already off? Or does it revert back to “off” at an unknown later moment in time?
No, it doesn’t switch back straight away. I tested it again today (1 Dec):
Before I touched it, the toggle was off.
At 11:10 UTC I switched it on. It stayed on while I was on the page, and it was still on after a page refresh.
At 12:17 UTC it was off again. Nobody on our side changed it.
In that hour there were several pushes to the repository, including updates to open pull requests, but no analysis started. Background tasks shows no failed or pending tasks. The last task is a successful automatic analysis on 20 Nov at 15:00 UTC, and nothing has run since.
We saw the same on 26 Nov: it stayed on after I switched it on, and later it was off again.
Nothing on our side changed around 20 Nov. The GitHub App is installed with the right permissions and repository access, there’s no IP allow list and no CI-based scanner. Since no analysis is failing, it looks like something on the SonarCloud side switches automatic analysis off.
Thanks for confirming. I was trying to understand if it was perhaps a front-end bug (UI state not saving or syncing correctly) but it seems to run deeper. I’m going to flag this for the team, they will probably ask you for the project key.