I used to create an extension as below
--version 2.0 --publisher Microsoft.Azure.Extensions \
--settings '{\
"fileUris": ["https://$saName.blob.core.windows.net/$scName/agent.sh"],\
"commandToExecute": "sh agent.sh"\
}'
However, recently we have limited the public access of the blob storage so that I can't access in the above way but need to generate a SAS URI and access through that way. So the question is how to put the SAS URI into the fileUris value? It does not work to download the agent.sh like this
https://$saName.blob.core.windows.net/$scName?sp=r&st=2021-12-20T08:50:14Z&se=2099-12-20T16:50:14Z&spr=https&sv=2020-08-04&sr=c&sig=xxxxxxxxxxxxxxxxx/agent.sh
So what should I do?