Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use WIF identity to authenticate to Azure environment #906

Closed
ztrhgf opened this issue Dec 5, 2024 · 1 comment
Closed

Unable to use WIF identity to authenticate to Azure environment #906

ztrhgf opened this issue Dec 5, 2024 · 1 comment

Comments

@ztrhgf
Copy link

ztrhgf commented Dec 5, 2024

Describe the bug
Unable to use WIF identity to authenticate inside the pipeline

Steps to reproduce

  1. I am using the newest tool version and I have configured it manually (not using provided script)
  2. In credentials variable group I have ARM_SUBSCRIPTION_ID and ARM_TENANT_ID set, but ARM_SERVICE_CONNECTION is empty (not sure if that is correct from the documentation)
  3. When I run the pipeline (doesn't matter which one), I got error mentioned in the attached screenshot

Screenshots
Image
Image

@daltondhcp
Copy link
Contributor

ARM_SERVICE_CONNECTION indeed needs to have a value, otherwise we won't use the federated credentials. So please add that to your variables and hopefully that will do the trick.
https://github.com/Azure/AzOps-Accelerator/blob/main/.pipelines/.templates/sharedSteps.yml#L72

@ztrhgf ztrhgf closed this as completed Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants