backstage: 🐛 Bug Report: Azure integration
📜 Description
When I create a new app with npx @backstage/create-app@latest
and attempt to integrate with azure using PAT token or service principal auth I get the following error message in the browser:
index.esm.js:232 Failed to read configuration array at 'credentials' as it does not have any visible elements.
See https://backstage.io/docs/conf/defining#visibility for instructions on how to make it visible.
app.config.yaml
integrations:
azure:
- host: dev.azure.com
credentials:
- clientId: xxxxxxxxxxxxxx
clientSecret: xxxxxxxxxxxxxxxx
tenantId: xxxxxxxxxxxxxxx
or
integrations:
azure:
- host: dev.azure.com
credentials:
- personalAccessToken: xxxxxxxxxxxxxxxxxx
Issue is probably related to this
👍 Expected behavior
message should not appear, possibly blocking the azureDevOps plugin where I can see builds and pipelines
👎 Actual Behavior with Screenshots
👟 Reproduction steps
npx @backstage/create-app@latest
replace you app-config.yaml with the values above or just try to integrate it with azure devops and a PAT token or SP
📃 Provide the context for the Bug.
I think is blocking my azure devops plugin where Im trying to see builds and pipelines
🖥️ Your Environment
OS: MacOS Ventura node: v18.14.1 yarn: v1.22.19 backstage: 1.18.3
👀 Have you spent some time to check if this bug has been raised before?
- I checked and didn’t find similar issue
🏢 Have you read the Code of Conduct?
- I have read the Code of Conduct
Are you willing to submit PR?
None
About this issue
- Original URL
- State: closed
- Created 9 months ago
- Comments: 15 (1 by maintainers)
Thanks everyone for participating here, it looks like you managed to get it working, so we’ve closed the issue.