Hi @Mahadev, Rakesh [HAEA] Greetings! Thank you for posting this question here.
I notice that you are using an older version of the API. There is a latest version of the API available - api-version=2023-05-01 Kindly use this version to make updates to the storage account properties. Here is a reference to the latest Update API documentation
When the logic app get triggered the SFTP is not getting enabled/disabled.
If you are monitoring the property update through the Azure portal Storage accounts --> Settings --> SFTP tab, kindly note that there is delay in the page getting updated to reflect the latest value. In my observation, I noticed that I had to do a hard refresh on the browser page to reflect the change.
You can confirm the status change of the property by inspecting body of the storage account from the Run History of the logic app and inspecting the HTTP action result. Please refer the below image for your reference.
If you see any errors upon inspecting the Runtime history of the logic app, please do let us know and we would be happy to assist you further.
If the response helped, please do click Accept Answer and Yes for the answer provided. Doing so would help other community members with similar issue identify the solution. I highly appreciate your contribution to the community.