SonarCloud Azure DevOps PR builds fail to publish

We’ve been using SonarCloud for a few months without problems. We started getting problems around the time that we added a new build agent to DevOps (Windows VM on Azure) but it seems to occur even when we select a DevOps hosted pipeline agent (Linux). Has been happening since early January.

We’re seeing :-

Task failed with status FAILED, Error message: Project or branch in report (##########) does not match the project or branch under which it was submitted (##########:PULL_REQUEST:702)

in the DevOps pipeline output for the SonarCloudPublish@1 task. This only occurs for the PR builds, oddly.

Looking for any help with diagnosing. The same error appears in the Background Tasks page in SonarCloud.io.

Kind Regards,
Mike.