Hi Folks,
I'm building a scheduled flow and would like the flow run logs to be passed to Azure Analytics workspace (which is already setup). I'm trying to use the Send Data action in Azure Log Analytics Data Collector - Connectors | Microsoft Learn to accomplish this. I was able to create connection using workspace ID and primary key. Although when I try to send test json as log, I receive the below error:
{
"error": {
"code": 403,
"source": "flow-apim-unitedstates-etc-etc.azure-apim.net",
"clientRequestId": "e6f59b75-1234-4f2c-a476-12345",
"message": "The response is not in a JSON format.",
"innerError": "Cannot read server response."
}
}
I have contributor access to the workspace. Can someone help me what I might be doing wrong. Also I do not have a custom log set up. Could that be the issue?
Thank you.