Azure portal requires creating federated credentials so that they include owner id and repository id and that results to subject identifiers of following format: repo:<org>@<org-id>/<repo>@<repo-id>:<entity>:<entity-identifier>, for example repo:acme-org@123456789/acme-application@987654321:environment:production. These new type of federated identities are not working currently.
The error that results from trying to run the login is as follows:
Error: AADSTS700213: No matching federated identity record found for presented assertion subject 'repo:acme-org/acme-application:environment:production'. Check your federated identity credential Subject, Audience and Issuer against the presented assertion.
There is a workaround by modifying the federated credential manually so that you remove the org-id and repo-id from the subject but I'd assume the federated credential created through the portal should work as is without this manual hack.
Azure portal requires creating federated credentials so that they include owner id and repository id and that results to subject identifiers of following format:
repo:<org>@<org-id>/<repo>@<repo-id>:<entity>:<entity-identifier>, for examplerepo:acme-org@123456789/acme-application@987654321:environment:production. These new type of federated identities are not working currently.The error that results from trying to run the login is as follows:
There is a workaround by modifying the federated credential manually so that you remove the org-id and repo-id from the subject but I'd assume the federated credential created through the portal should work as is without this manual hack.