@AnilYadav-2387 Thanks for reaching out. To authenticate a function using a client certificate in Azure Logic Apps, you can use the "Client Certificate" option in the HTTP action. You need to specify the following property values:
- Authentication: type (Required)
- Value: Client Certificate or ClientCertificate
- Pfx: pfx (Required)
- Value: base64-encoded content from a Personal Information Exchange (PFX) file
- Password: password (Optional)
- Value: password for accessing the PFX file
Here is an example HTTP action definition that specifies the authentication type as ClientCertificate:
"HTTP": { "type": "Http", "inputs": { "method": "GET", "uri": "@parameters('endpointUrlParam')", "authentication": { "type": "ClientCertificate", "pfx": "@parameters('pfxParam')", "password": "@parameters('passwordParam')" } }, "runAfter": {}
}
For more information, you can refer to this document and make sure you go through some of the errors documented here. For base64 encode please refer to base64 function.
Feel free to get back to me if you need any assistance.
Please accept as "Yes" if the answer is helpful so that it can help others in the community.