Running Azure CLI Login.
/usr/bin/az cloud set -n azurecloud
Done setting cloud: "azurecloud"
Federated token details:
issuer - https://token.actions.githubusercontent.com
subject claim - repo:Rajasree2004/private-notes:ref:refs/heads/main
Attempting Azure CLI login by using OIDC...
Error: AADSTS700213: No matching federated identity record found for presented assertion subject 'repo:Rajasree2004/private-notes:ref:refs/heads/main'. Check your federated identity credential Subject, Audience and Issuer against the presented assertion. https://learn.microsoft.com/entra/workload-id/workload-identity-federation Trace ID: 68cf0d85-fcfa-4d88-8d5f-7b4133785600 Correlation ID: 46a4d9e6-aa71-4106-a34a-8e1ea5816e7e Timestamp: 2025-01-24 16:21:58Z
Error: Interactive authentication is needed. Please run:
az login
Error: Login failed with Error: The process '/usr/bin/az' failed with exit code 1. Double check if the 'auth-type' is correct. Refer to https://github.com/Azure/login#readme for more information.
When I try to deploy the application in azure using app service I get this error. I have also logged in using the azure cli and also created federated credential. Has anyone come across this error What am I supposed to do, please do provide the solution.
Actually i got it Inside your Webapp, on the left panel you have authentication. Add an identity provider for the application. It is working😊