microsoft / azure-container-apps

Roadmap and issues for Azure Container Apps
MIT License
372 stars 29 forks source link

Unable to add a DAPR scope for a function app that is hosted on Azure Container Apps #1312

Open VenkataRKC opened 1 month ago

VenkataRKC commented 1 month ago

Issue description

I have deployed a Azure Function in an Azure Container App environment and enabled DAPR on the Azure Function.

However when i try to add the scope for the azure function to the pubsub service bus DAPR component, it does not show the Azure Function in the list and i am unable to add it to the scope. Please refer to the below screen shot for clarity

Steps to reproduce

  1. ..Create Azure Function in Azure Container Apps and Enable DAPR
  2. ..From the Azure Container App environment try to add the scope of the created Azure Function DAPR id to an existing component like Pubsbub service or any other component.

Expected behavior [What you expected to happen.] Able to add the Scope of the Azure Function to the Azure container Environment DAPR component.

Actual behavior [What actually happened.] Azure function DAPR app id does not show up in the list of values for scopes.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context

Ex. Via the Portal

There is a managed resource group which is created for Azure Functions in Azure Container Apps. if i navigate to the Resource and click on the Azure Function Container i can see the daprd and function container are running fine. attached the screen shot.

Image Image Image