Deployment of the FoodTruck Web App keeps getting discrepancy error when there is no discrepency.

Seth Shuey 0 Reputation points
2025-05-02T01:39:08.7+00:00

Deployment of the FoodTruck Web App keeps getting discrepancy error on GitHub when there is no discrepancy. I have cross checked, double checked and triple checked. Who can I talk to resolve this?

GitHub response:
Run azure/login@v2

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:APDSwebsites/Food-Truck-Ordering:environment:production

audience - api://AzureADTokenExchange

job_workflow_ref - APDSwebsites/Food-Truck-Ordering/.github/workflows/main_foodtruck.yml@refs/heads/main

Attempting Azure CLI login by using OIDC...

Error: AADSTS7002138: No matching federated identity record found for presented assertion subject 'repo:APDSwebsites/Food-Truck-Ordering:environment:production'. The subject matches with case-insensitive comparison, but not with case-sensitive comparison. Check your federated identity credential Subject, Audience and Issuer against the presented assertion. See documentation at: https://learn.microsoft.com/entra/workload-id/workload-identity-federation. See breaking change notification and remediation at: https://learn.microsoft.com/en-us/entra/identity-platform/reference-breaking-changes#august-2024. Trace ID: 291a65bc-b00b-4372-9210-76562c3c0500 Correlation ID: 0c81d7ec-2037-45e8-83d6-d716079c0b01 Timestamp: 2025-05-01 22:57:43Z

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.

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,155 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.