Replicate Netscaler rewrite rule on AppGW

Mark Fuller 42 Reputation points
2022-12-21T07:37:56.53+00:00

My customer has a rewrite rule for onprem Sharepoint in Citrix Netscaler per below that I need to translate into AppGW because I am migrating their onprem Sharepoint to Azure and replacing Netscaler with AppGW. I do not know how to translate this into AppGW rewrite rule?

IF HTTP.RES.HEADER(\"X-SharePointHealthScore\").CONTAINS(\"8\")||HTTP.RES.HEADER(\"X-SharePointHealthScore\").CONTAINS(\"9\")||HTTP.RES.HEADER(\"X-SharePointHealthScore\").CONTAINS(\"10\")
THEN insert_http_header Set-Cookie "\"Load=\" + HTTP.RES.HEADER(\"X-SharePointHealthScore\").NORMALIZE_URL + \";expires=\" + SYS.TIME.ADD(14).TYPECAST_TIME_AT"

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
1,217 questions
Microsoft 365 and Office | SharePoint | For business | Windows
0 comments No comments
{count} votes

Accepted answer
  1. KapilAnanth-MSFT 49,611 Reputation points Microsoft Employee Moderator
    2022-12-21T16:41:01.89+00:00

    Hi @Anonymous ,

    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
    I understand that you would like to replicate Rewrite Rule from Netscaler to AppGateway.

    Looking at the complexity of the requirement, I think we will need a specialized 1:1 session, where a support engineer can have a screen share session to pinpoint the issue. If you have a support plan you may file a support ticket, else please do let us know, we will try and help you get a one-time free technical support.

    Cheers,
    Kapil


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.