Forum Discussion

Mariia_Kloss's avatar
Mariia_Kloss
Copper Contributor
Feb 06, 2024

Azure Function App Authentication

Hello! I am new to Azure and I am building my first Azure Function App. I want to write a function which get's triggered by HTTP, the request would be sent through Power Automate. Admin requires to have certificate authorization enabled for my Function App. 

Is it possible to send HTTP requests through Power Automate if certificate authorization is enabled? 

1 Reply

  • MoritzG's avatar
    MoritzG
    Iron Contributor

    Hi! :)
    To my knowledge, the standard HTTP action in Power Automate does not support sending client certificates in its requests.

    This means Power Automate cannot natively make HTTPS requests that include the client certificate required by your Azure Function App. So, if certificate authentication is enforced, Power Automate will fail to connect directly.


    You could solve this by introducing Azure API Management (APIM) in front of your Function App:

    1. Expose your Function App through APIM.
    2. Configure APIM to send the required client certificate when forwarding requests to the backend (your Function App).
    3. Expose an API in APIM that Power Automate can call using Azure AD or an API key, which are both supported in Power Automate's HTTP action.

    With this approach, Power Automate calls APIM using a supported authentication method (no cert needed) and APIM securely forwards the request to the Function App using the client certificate (which should satisfy your requirement).

    Hope that helps a bit.
    Best regards!

Resources