On the payment journal page, there is an action (EXPORT) that, when clicked, generates an XML file and stores it on the local system. I want to transfer this file directly to Azure Blob Storage. When I click on the "Export" action, the file should be transferred to Azure Blob Storage instead of being stored locally. I wanted to store it in the azure blob storage using API and SAS token. cause after i have to apply encryption and decryption logic as well.
Is it possible to achieve this using code? I don't want to use Power Automate or any other flow. How can I do this?