Json object contains an invalid field: provider

When running an AI Task Agent with AI Agent element, the following error is returned:

Json object contains an invalid field: provider

The selected LLM is Azure OpenAI and “Client credential” has been selected as authentication. And then, the client id, client secret and tenant Id properties have been provided.

It appears that AI Task Agent sends following input values:

provider.type
azureOpenAi
provider.azureOpenAi.endpoint
https://cog-sandbox-dev-eastus2-001.openai.azure.com/
provider.azureOpenAi.authentication.type
clientCredentials
provider.azureOpenAi.authentication.clientId xxx
provider.azureOpenAi.authentication.clientSecret xxx
provider.azureOpenAi.authentication.tenantId xxx

The attached screenshot shows the variables on the AI Agent task when the reported error occurs:

It shows the AI Agent task explicitly sends the “provider” but there is no “provider” property available for the AI Agent task.