Hello DavidK
I understand that your unable to access data from your Azure Blob Storage, as you're encountering authentication errors. You have a rootDirectory
and a sasToken
. You need to combine these with the blob name to form the correct URL for downloading.
Example:
sasToken
:
skoid=5xxxxx&sktid=9xxxxx&skt=2025-04-01T20%3xx%3A3xx&ske=2025-04-02T20%3xx%3Axx&sks=b&skv=2021-08-06&sv=2021-08-06&se=2025-04-02T00%3A17%3Axxx&sr=d&sp=rl&sdd=7&sig=wHW0CnY2tH0egLpPRhVq9wcj2164MKHSUvzCW5DDyJQ%3D
blob name
part-xxxx.json.gz To create the full URL, you'll append the blob name to the rootDirectory, and then append the sasToken
It should look like this:
Now that you have the complete URL, you can use any HTTP client to download the file. Post which create a GET request in Postman. Enter the full URL (including the SAS token) in the URL field and send the request. If the request is successful (status code 200), you'll be able to save the file from the response.
Curl:
curl -o downloaded_file.json.gz "https://adlsreconbuprodeastus201.blob.core.windows.net/billedusagefastpath/v1/PartnerTenantId=axxxxxxxxxxx1/BillingMonth=2025xx/InvoiceId=Gxxxxxxxxx/InvoiceVersion=202503071210/Fragment=full/PartitionType=default/part-xxxx.json.gz?skoid=5xxxxx&sktid=9xxxxx&skt=2025-04-01T20%3xx%3A3xx&ske=2025-04-02T20%3xx%3Axx&sks=b&skv=2021-08-06&sv=2021-08-06&se=2025-04-02T00%3A17%3Axxx&sr=d&sp=rl&sdd=7&sig=wHW0CnY2tH0egLpPRhVq9wcj2164MKHSUvzCW5DDyJQ%3D" -v
Hope the above answer helps! Please let us know do you have any further queries.
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.