@Varun Reddy Gurram We will need to work with you offline on this case. I have responded to you via a private message as we need more information from you. Please reply and we can go ahead with the investigation on this.
Generated Storage level SAS token using Logic Apps not working as expected
Hello Team,
I did Automate generation of SAS token using http action in Azure Logic Apps. Here is the token generated -
sv=2015-04-05&ss=bfqt&srt=sco&sp=rwdlacup&st=2025-04-29T16%3A28%3A31.0000000Z&se=2025-05-30T16%3A28%3A31.0000000Z&spr=https&sig=zsuiiqfLgFrpVkZMEgTzNWP9Vm7VViRVu7tBA%2Fchikc%3D
Works fine when tested with blob.core.windows.net - https://arthachicago.blob.core.windows.net/?resource=account&sv=2015-04-05&ss=bfqt&srt=sco&sp=rwdlacup&st=2025-04-29T16%3A28%3A31.0000000Z&se=2025-05-30T16%3A28%3A31.0000000Z&spr=https&sig=zsuiiqfLgFrpVkZMEgTzNWP9Vm7VViRVu7tBA%2Fchikc%3D
The same SAS token does not work with dis.core.windows.net - https://arthachicago.dfs.core.windows.net/?resource=account&sv=2015-04-05&ss=bfqt&srt=sco&sp=rwdlacup&st=2025-04-29T16%3A28%3A31.0000000Z&se=2025-05-30T16%3A28%3A31.0000000Z&spr=https&sig=zsuiiqfLgFrpVkZMEgTzNWP9Vm7VViRVu7tBA%2Fchikc%3D
Error -
Unable to use generated account SAS for dfs endpoint. Getting below error. - {"error":{"code":"UnsupportedRestVersion","message":"The specified Rest Version is Unsupported.\nRequestId:8df56602-501f-0056-405b-b9e403000000\nTime:2025-04-29T23:08:43.8130033Z"}}
Used below doc to generate account SAS - https://learn.microsoft.com/en-us/rest/api/storagerp/storage-accounts/list-account-sas?view=rest-storagerp-2024-01-01&tabs=HTTP
URI parameter value in http action (LogicApps) - https://management.azure.com/subscriptions/67132c39-d694-440b-bf45-a8d380f9198e/resourceGroups/artha_chicago/providers/Microsoft.Storage/storageAccounts/arthachicago/listAccountSas?api-version=2024-01-01
body parameter value in http action (LogicApps) -
{ "signedServices": "bfqt", "signedPermission": "rwdlacup", "signedResourceTypes": "sco", "signedProtocol": "https", "signedStart": "2025-04-29T16:28:31Z", "signedExpiry": "2025-05-30T16:28:31Z" }
Additionally we gave signed version as a parameter in body of http action and tried generated token but its still the same error -
Added Signed Version also in body parameter value in http action (LogicApps) -
{ ""signedVersion": "2023-11-03", signedServices": "bfqt", "signedPermission": "rwdlacup", "signedResourceTypes": "sco", "signedProtocol": "https", "signedStart": "2025-04-29T16:28:31Z", "signedExpiry": "2025-05-30T16:28:31Z" }
output SAS - https://arthachicago.dfs.core.windows.net/?resource=account&sv=2023-11-03&ss=bfqt&srt=sco&sp=rwdlacup&st=2025-04-29T16%3A28%3A31.0000000Z&se=2025-05-30T16%3A28%3A31.0000000Z&spr=https&sig=ohvYcf5Rb0HYKB%2BJCGdQ8KgAllnGlbgQ8RN1i9ClCqc%3D
Even the above SAS with sv = 2023-11-03 did not work and is throwing the same error.
Azure Data Lake Storage
1 answer
Sort by: Most helpful
-
KarishmaTiwari-MSFT 20,762 Reputation points Microsoft Employee Moderator
2025-05-09T18:13:37.97+00:00