Venkata Sudheer Nimmakayala - Thanks for the question and using MS Q&A platform.
It seems like you are trying to deploy an ARM template stored in a Storage blob container using Azure DevOps release pipelines, but you are receiving an error message that says "InvalidContentLink: The provided content link 'Azure.Deployments.Core.Entities.DeploymentTemplateContentLink' is invalid or not supported. Content link must be an absolute URI not referencing local host or UNC path."
This error message usually occurs when the content link provided in the ARM template is not a valid absolute URI. To resolve this issue, you can try the following steps:
- Make sure that the URI provided in the
templateLink
property of the ARM template is a valid absolute URI that can be accessed from outside your pipeline. You can test this by trying to access the URI from a web browser or a tool like Postman. - If the URI is valid, make sure that you have provided the correct SAS token for the container in your release pipeline task. You can check this by comparing the SAS token in your task with the one generated for the container in the Azure portal.
- If the SAS token is correct, make sure that the storage account and container names in your task are correct and match the ones in the URI.
- If none of the above steps work, you can try using a different method to deploy your ARM template, such as using the Azure CLI or PowerShell.
I hope this helps you resolve the issue. If you have any further questions or concerns, please let me know.