Azure-Samples / azure-flask-postgres-addon-aca

Web app using Python Flask backend, set up for deployment to Azure Container Apps with PostgreSQL add-on.
MIT License
1 stars 2 forks source link

Deploy to Azure Action missing authentication #3

Open kjaymiller opened 10 months ago

kjaymiller commented 10 months ago
Run azd auth login `

ERROR: ClientAssertionCredential authentication failed
POST https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/token
--------------------------------------------------------------------------------
RESPONSE 400 Bad Request
--------------------------------------------------------------------------------
{
  "error": "unauthorized_client",
  "error_description": "AADSTS7000[16](https://github.com/Azure-Samples/azure-flask-postgres-addon-aca/actions/runs/6749597016/job/18350512906#step:4:17): Application with identifier 'fdef455b-92ae-4fe4-a535-e25baa70e800' was not found in the directory 'Microsoft'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant. Trace ID: e6b065[19](https://github.com/Azure-Samples/azure-flask-postgres-addon-aca/actions/runs/6749597016/job/18350512906#step:4:20)-9354-49d6-97a9-a50fcbc3c100 Correlation ID: 8acd57e9-5c5c-4ce2-9fa9-2a8da2e3025a Timestamp: [20](https://github.com/Azure-Samples/azure-flask-postgres-addon-aca/actions/runs/6749597016/job/18350512906#step:4:21)23-11-03 20:03:36Z",
  "error_codes": [
    700016
  ],
  "timestamp": "20[23](https://github.com/Azure-Samples/azure-flask-postgres-addon-aca/actions/runs/6749597016/job/18350512906#step:4:24)-11-03 20:03:36Z",
  "trace_id": "e6b06519-9354-49d6-97a9-a50fcbc3c100",
  "correlation_id": "8acd57e9-5c5c-4ce2-9fa9-2a8da2e30[25](https://github.com/Azure-Samples/azure-flask-postgres-addon-aca/actions/runs/6749597016/job/18350512906#step:4:26)a",
  "error_uri": "https://login.microsoftonline.com/error?code=700016"
}
--------------------------------------------------------------------------------
kjaymiller commented 9 months ago

cc: @pamelafox