Azure / Azure/azure-powershell

Fix Update-AzFunctionApp -InputObject $functionApp to work on Playback mode

Open
#23,266 1 comment 0 reactions 1 assignee Claimed by @Francisco-Gamino View on GitHub
act-observability-squad bug Functions
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
3d 14h
Merged PRs (30d)
54

Description

### Description

Currently, the `Update-AzFunctionApp -InputObject $functionApp` tests are failing on Playback because the parameters (`$HttpPipelineAppend` and `$HttpPipelinePrepend`) used for playback are not properly populated.

Scenario:
Update-AzFunctionApp -InputObject $functionApp

In the cmdlet logic, we make a call to retrieve the app settings (previously the app settings were appended to the $functionApp object).

Need to follow up with the Azure-PowerShell team on how to fix this.

### Issue script & Debug output

```PowerShell
N/A
```

### Environment data

```PowerShell
N/A
```

### Module versions

```PowerShell
N/A
```

### Error output

```PowerShell
N/A
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.