Skip to content

Diagnose "Sign the MSIX" failure: missing Azure federated credential (no repo changes) - #7

Merged
edwest19 merged 1 commit into
mainfrom
copilot/fix-sign-msix-job
Nov 6, 2026
Merged

edwest19 merged 1 commit into
mainfrom
copilot/fix-sign-msix-job

Conversation

Copilot AI commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

The "Sign the MSIX" job in the release workflow (run 42138867457) fails at Azure/login with AADSTS700213: No matching federated identity record found for presented assertion subject 'repo:edwest19/SecretKey:environment:release'.

This PR contains no file changes. The cause is Entra ID configuration, not repo code, and no workflow edit can fix it.

  • Root cause

    • The job runs with environment: release (release.yml:166), so GitHub issues an OIDC token with subject repo:edwest19/SecretKey:environment:release.
    • The Entra ID app registration behind the client-id secret has no federated credential for that subject.
    • Earlier steps (artifact download and digest check) pass.
  • Required fix (Azure, manual)

    • Add a federated credential to that app registration:

      Field Value
      Scenario GitHub Actions deploying Azure resources
      Organization / Repository edwest19 / SecretKey
      Entity type Environment
      Environment release
      Issuer https://token.actions.githubusercontent.com
      Audience api://AzureADTokenExchange
    • Check that the app has the Artifact Signing role on the signing account.

    • Re-run the failed job.

  • Notes

    • A credential scoped to a branch or tag will not match. The run is triggered by tag v2.0.0-rc.1, but the subject is determined by the job's environment, not the ref.

Copilot AI changed the title [WIP] Fix failing GitHub Actions job Sign the MSIX Diagnose "Sign the MSIX" failure: missing Azure federated credential (no repo changes) Nov 6, 2026
Copilot AI requested a review from edwest19 November 6, 2026 01:02

@edwest19 edwest19 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reviewed no changes

@edwest19
edwest19 marked this pull request as ready for review November 6, 2026 02:10
@edwest19
edwest19 merged commit 7f6530b into main Nov 6, 2026
3 checks passed
@edwest19
edwest19 deleted the copilot/fix-sign-msix-job branch November 6, 2026 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants