Hi Eddie Ace •,
Welcome to Microsoft Q& A forum and thanks for using Azure services.
As I understand, you are getting error when trying to execute az deployment group command in CLI as "Invalid Content Link"
When referencing a file the value of uri can't be a local file or a file that is only available on your local network. Azure Resource Manager must be able to access the template. Provide a URI value that downloadable as http or https.
Reference: Linked Template
- I can see that you have specified template file as the blob path. As per the error message it looks like your ARM template that you are deploying might have reference from the local path.
- Make sure if the URL path is publicly accessible and if you are using the storage URL then have you passed the SAS URL so it authenticates the request.
- Also, please let us know if you are using Storage Account Level SAS token.? If yes, please try using Container Level SAS token if works.
- Additionally, check if there are no firewall/network setting at the storage end that is blocking the request from your CI/CD pipeline.
Hope this helps. If not, please share more inputs so that we can further assist you. Thanks.