You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encountering an issue when trying to use a Managed Identity with a Federated Credential in GitHub Actions to run azure/[email protected]. 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:
DROPUSER IF EXISTS [ManagedIdentity-Dev];
CREATE USER [ManagedIdentity-Dev] FROM EXTERNAL PROVIDER WITH DEFAULT_SCHEMA=[dbo];
ALTER ROLE db_owner ADD MEMBER [ManagedIdentity-Dev];
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.
Hello,
I'm encountering an issue when trying to use a Managed Identity with a Federated Credential in GitHub Actions to run azure/[email protected]. 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?
The text was updated successfully, but these errors were encountered: