@Sneha Jagadal When you tested the flow locally, did you use PROJECT_CONNECTION_STRING
for connecting the AI foundry agent service with the function app?
If so, have you created an environment variable with the same name after deploying the Function app to the portal and provided the connection string value? Please refer to this article that guides you how to Add Application settings
Here is a sample tutorial which explains how to establish a connection with a Function App with AI foundry agent - Use Azure Functions with Azure AI Foundry Agent Service. If you have followed the same process to deploy the function app using azd up
command, it will not look for the settings under local.settings.json
file and the application settings will note be transferred over.
Give it a try and let us know if you still experience any issues with receiving data to the Function App.