The default media files are stored in a storage account from West US. VNet services can't access these files without whitelisting the endpoint and "Microsoft.Storage.Global".
Solution
Upload the media files to the regional storages that are accessible even for services in VNet and use them from there.
During provisioning, we will replace the download URL with the URL of the service and the path to the image.
Changes in the default.json file:
re-named the files to not use GUID but the file name
removed downloadUrl from properties
changed where they are referenced to use the name not the GUID
Accessibility Insights Action: All applicable checks passed
URLs: 13 URL(s) passed, and 0 were not scannable
Rules: 29 check(s) passed, and 23 were not applicable
Download the Accessibility Insights artifact to view the detailed results of these checks
This scan used axe-core 4.3.2 with Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36.
Problem
The default media files are stored in a storage account from West US. VNet services can't access these files without whitelisting the endpoint and "Microsoft.Storage.Global".
Solution
Upload the media files to the regional storages that are accessible even for services in VNet and use them from there. During provisioning, we will replace the download URL with the URL of the service and the path to the image.
Changes in the
default.json
file:downloadUrl
from properties