An Azure machine learning service for building and deploying models.
The error message you've provided is clear: if a data version with the same name and version already exists, you can't create a new one with identical details. Furthermore, the asset's data URI cannot be altered once it's been set; only other properties like tags, description, and isArchived can be updated.
Your issue may be related to the following :
- Name Collision: Even if you think you haven't made modifications to the version in question, there might be another data asset version in the workspace with the same name or version.
- Updating Existing Resources: If you're using Bicep for infrastructure-as-code deployments, the behavior might be different when creating new resources vs updating existing ones. With Azure Resource Manager templates, for instance, you'd set the deployment mode to "incremental" to update existing resources, or "complete" to delete and recreate resources.
I am assuming the following :
- Unique Name/Version: Always ensure that each deployment has a unique name or version for the data asset. If you're automating this, consider appending a timestamp or a unique identifier.
- Check Existing Resources: Before deploying, inspect your Azure Machine Learning workspace to ensure that there's no existing data asset version with the same name/version. This will prevent conflicts.
- Adjust Deployment Strategy: If you're sure that you have a unique name/version and still encounter the issue, try changing your deployment strategy. If you're using Azure Resource Manager templates, look into the deployment mode (i.e., "incremental" vs "complete").
- Data URI: Given the error message, if you need to modify the
dataUri, it might be simpler to create a completely new data asset version rather than updating the existing one.
If you've tried the above steps and still encounter issues, consider reaching out to Microsoft support or the Azure Machine Learning community for more specific assistance.