Azure / Azure/azure-functions-powershell-worker
Store http body request information in App Insights for PowerShell Azure Functions
- Dominant language
- C#
- Stars
- 215
- Forks
- 61
- Avg merge
- 21h 4m
- Merged PRs (30d)
- 6
Description
#### What problem would the feature you're requesting solve?
I would like to store the http body request information for a PowerShell http triggered Azure Function in Application Insights.
Here is a link to an article that shows how that can be done in C# "[How to log request & response body to Application Insights](https://www.azureblue.io/how-to-log-http-request-body-with-asp-net-core-application-insights/)"
#### Describe the solution you'd like
A simple and easy way to store from within the Azure PowerShell function code/script data (in this case the information about the http body) in the configured Application Insights.
#### Describe alternatives you've considered
Currently the only option to do so is to use the Write-Host or Write-Verbose cmdlets.
#### Additional context
See discussion on [Twitter](https://twitter.com/franciscogamino/status/1468302225126551558) about this topic too.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.