Github recently introduced Immutable subject claims for GitHub Actions OIDC tokens. The feature is enabled for all new repos by default, but there has also been some changes in Entra ID. After this rolled out, and Entra ID was updated, creating rules with the old patterns will yield the following message:
Failed to update federated credential. Error detail: The FederatedIdentityCredential.ClaimsMatchingExpression.Value is invalid. Rule exception: Expression configured for issuer ‘https://token.actions.githubusercontent.com‘ either lacks all required claims or contains unallowed claims. paramName: FederatedIdentityCredential.ClaimsMatchingExpression.Value, paramValue: claims[‘sub’] matches ‘repo:xxx@*:pull_request’, objectType: Microsoft.Online.DirectoryServices.Application
Continue reading “Help my Github claims matching expressions are no longer working!”

