Copied links to files in Azure CDN Storage Account file share are invalid

jpride 0 Reputation points
2024-02-14T16:52:49.2+00:00

For our Azure CDN resource, I have added the Storage Account and added a file share to it. I have added files to the share, but when I copy the link to them from the file properties and paste the link into a browser, I get the following error: <Error> <Code>InvalidHeaderValue</Code> <Message>The value for one of the HTTP headers is not in the correct format. RequestId:7707f05f-401a-0064-0c65-5fdc63000000 Time:2024-02-14T16:47:52.7630398Z</Message> <HeaderName>x-ms-version</HeaderName> <HeaderValue/> </Error>

Azure Storage
Azure Storage
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,543 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sumarigo-MSFT 47,471 Reputation points Microsoft Employee Moderator
    2024-02-16T12:39:38.2+00:00

    @jpride Welcome to Microsoft Q&A Forum , Thank you for posting your query here! Firstly, Apologies for the delay response!

    The CDN with Azure storage requires blob storage. From your issue description, I see that you have configured file storage.  Could you please add the contents to the blob container and use that endpoint instead.  To address a container resource in Blob storage, use a URI in the following format: http://<storageaccountname>.blob.core.windows.net/<container-name>.

     More info here: https://learn.microsoft.com/en-us/azure/cdn/cdn-create-a-storage-account-with-cdn

    Please let us know if you have any further queries. I’m happy to assist you further.    

    ---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.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.