Open dlaatheijmans opened 1 day ago
The error message was on my screen all the time: GET http://localhost:42356/msi/token
. Apparantly, when deploying from Github Actions in a Azure Container Instance, the token endpoint is set wrong.
I added this to my yaml, and it started working:
env:
IDENTITY_ENDPOINT: http://169.254.169.254:42356/
Hello,
I'm encountering an issue when trying to use a Managed Identity with a Federated Credential in GitHub Actions to run azure/sql-action@v2.3. The Managed Identity has been configured with a Federated Credential for GitHub (environment).
I added my Managed Identity to the database as
db_owner
, with the following query:Here is my GitHub Actions workflow (.yml file):
Issue:
When the workflow runs, I receive the following error message:
Am I missing something?