Logic Apps

Abhay Chandramouli 991 Reputation points
2022-11-01T08:09:29.277+00:00

Unable to send a Set-Cookie Response Header via Response action in logic apps.
Is there a workaround or is it not possible ?

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,996 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 19,646 Reputation points Microsoft Employee
    2022-11-01T12:07:28.25+00:00

    @Abhay Chandramouli Thank you for reaching out to Microsoft Q&A.

    If your Response action includes the following headers, Azure Logic Apps automatically removes these headers from the generated response message without showing any warning or error as documented here.

    • Allow
    • Content-* headers except for Content-Disposition, Content-Encoding, and Content-Type when you use POST and PUT operations, but are not included for GET operations
    • Cookie
    • Expires
    • Last-Modified
    • Set-Cookie
    • Transfer-Encoding

    Alternatively, you can pull the cookie data using the function in logic app refer to this similar Stack Overflow discussion here.

    Feel free to reach back to me if you have any further questions on this.