Hello Kiran,
Thanks for posting your question in the Microsoft Q&A forum.
You can troubleshoot and resolve this problem by following these steps:
- Verify that the certificate's thumbprint uploaded to the Azure portal matches the one specified in your C# code and is correctly associated with the Azure Functions app.
- Confirm that the certificate has the necessary permissions to authenticate with the client service and is trusted and valid for making API calls.
- Examine your C# code thoroughly to ensure the certificate is correctly loaded and utilized in API calls, checking for any errors or issues.
- Review Azure Functions app logs for any error messages or warnings that may provide insight into why authentication is failing.
- Use tools like Postman or cURL to independently test connectivity to the client service outside of Azure Functions, verifying if certificate-based authentication functions correctly.
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful