Azure / azure-sdk-for-sap-odata

This repository serves as foundation to power SAP OData SDK development for .NET
MIT License
7 stars 3 forks source link

[BUG]: func publish via CLI behaves different than VS extension "deploy to function app" #8

Open MartinPankraz opened 1 year ago

MartinPankraz commented 1 year ago

Is there an existing issue for this?

What type of issue are you facing

Describe the bug

Command "func azure functionapp publish " leads to broken function deployment while using the VSC extension for azure functions (Deploy to Function App) works fine.

Error Message: Microsoft.Extensions.Http: Value cannot be null. (Parameter 'name').

Expected Behavior

Functional deployment as with the VSC extension.

Steps To Reproduce

  1. Generate SDK
  2. Open Function sample in VS Code as new project and configure OData API
  3. Verify successful local execution
  4. Run "func azure functionapp publish "
  5. Open Function on Azure portal or try to access https://function-url/api/Products/1

Add screenshots to help explain your problem

No response

Additional context

No response