Azure / static-web-apps

Azure Static Web Apps. For bugs and feature requests, please create an issue in this repo. For community discussions, latest updates, kindly refer to the Discussions Tab. To know what's new in Static Web Apps, visit https://aka.ms/swa/ThisMonth
https://aka.ms/swa
MIT License
318 stars 53 forks source link

ERROR: 'NoneType' object is not subscriptable - Azure yaml error #1415

Closed amithgdhaduti closed 4 months ago

amithgdhaduti commented 4 months ago

Describe the bug While trying to approve the Azure managed private endpoint (inside ADF to Azure keyvault) using the azure cli inside the yaml task, I am encountering an error "ERROR: 'NoneType' object is not subscriptable". I tried many options but it spits out same error.

A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Create a new task inside yaml file while would trigger azure cli command to approve the keyvault managed private endpoint.
  2. Run the pipeline
  3. See error

Expected behavior The keyvault managed private end point is approved and the task is successful without silent error.

Screenshots 1) of yaml task image

2) error image

Device info :