Unable to Enable Session Affinity for Azure front door premium resource using Azure Reset API

%3CLINGO-SUB%20id%3D%22lingo-sub-2422459%22%20slang%3D%22en-US%22%3EUnable%20to%20Enable%20Session%20Affinity%20for%20Azure%20front%20door%20premium%20resource%20using%20Azure%20Reset%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2422459%22%20slang%3D%22en-US%22%3E%3CP%3EWhile%20I'm%20trying%20to%20update%20the%20Azure%20front%20door%20premium%20resource%20%22Session%20Affinity%20state%22%20from%20%22Disabled%22%20to%20%22Enabled%22%20using%20Azure%20Rest%20API%2C%20I'm%20getting%20Response%20Code%3A%20%3CSTRONG%3E400%3C%2FSTRONG%3E%20and%20It%20says%20%E2%80%9C%3CFONT%20color%3D%22%23FF0000%22%3ESession%20Affinity%20State%20cannot%20be%20enabled%2C%20Please%20mark%20it%20Disabled%3C%2FFONT%3E%E2%80%9D.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20below%20json%20values%20passed%20on%20the%20body.%3C%2FP%3E%3CP%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3EBody%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%7B%3C%2FP%3E%3CP%3E%22properties%22%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7B%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%22sessionAffinityState%22%3A%20%22Enabled%22%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7D%3C%2FP%3E%3CP%3E%7D%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22RajaInteQ_0-1623081286267.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F286914i8EEA682D981D7862%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22RajaInteQ_0-1623081286267.png%22%20alt%3D%22RajaInteQ_0-1623081286267.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ECan%20you%20please%20help%20me%20on%20this%20issue%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3ERaja%20R%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

While I'm trying to update the Azure front door premium resource "Session Affinity state" from "Disabled" to "Enabled" using Azure Rest API, I'm getting Response Code: 400 and It says “Session Affinity State cannot be enabled, Please mark it Disabled”.

 

The below json values passed on the body.

 

Body:

{

"properties":

    {

      "sessionAffinityState": "Enabled"

    }

}

RajaInteQ_0-1623081286267.png

Can you please help me on this issue ?

 

Thanks

Raja R

0 Replies