I was really struggling to figure out a way of creating the path /.well-known/ in a standard Azure storage account. This was to allow a simple set of files for an iOS and Android app to allow them to be verified. I could neither create a container with this name or name the blob with .Well-Known/ at the start of it.
As we use Azure Application Gateway I worked out that the /.well-known/ path can be emulated with path based routing and aliasing it to the root of the storage account.
There may be simpler methods but this worked for me. I created two paths to the same root with some variables similar to these :
# appmanifest is a template for routing to a storage account, storage account name is defined elsewhere.
appmanifest = {
waf_hostname = "app"
waf_probe_path = "/hello.txt"
waf_backend_path = "/"
waf_request_routing_rule_type = "PathBasedRouting"
waf_url_path_map = {
appmanifest-default = "/*"
appmanifest-wellknown = "/.well-known/*"
}
}