Azure CDN Custom Domain Issue - "This XML file does not appear to have any style information associated with it."

Thiago Polati 5 Reputation points
2023-07-21T14:31:33.88+00:00

I have two Azure storages that serve users content using Azure CDN and custom domains. One works perfectly fine, while the other throws the error "This XML file does not appear to have any style information associated with it. The document tree is shown below." when accessed through a browser.

Both storages are configured identically, with CNAME records added to the DNS. Can someone please help me resolve this issue? I have been stuck with it for over three days now. Thank you for your assistance.

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

2 answers

Sort by: Most helpful
  1. Thiago Polati 5 Reputation points
    2023-07-26T22:29:22.9133333+00:00

    Ihaaa, I was able to fix the issue.

    It was a configuration erron in the CDN's origin.

    It was selecting the storage itself as the origin. I had to change to the storage static website.

    1 person found this answer helpful.
    0 comments No comments

  2. Sumarigo-MSFT 47,021 Reputation points Microsoft Employee
    2023-08-02T14:54:53.48+00:00

    @Thiago Polati I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to "Accept " the answer.

    Issue: Azure CDN Custom Domain Issue - "This XML file does not appear to have any style information associated with it."

    Solution: "There was a configuration error in the CDN's origin. It had selected the storage itself as the origin, but I had to change it to the storage static website."


    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.


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.