﻿# Azure ML model versions: the same name and version can identify assets in different scopes

Identify Azure Machine Learning model assets through their workspace or registry scope, preserving source-to-shared-model lineage rather than relying on matching names and versions.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/fg2-azure-ml-workspace-registry-model-version-scope/
Language: en

## Include the scope in the model identity

A model evaluation passes in a development workspace but loads a different candidate from a production workflow using the same short name and version. The [model management guide](https://learn.microsoft.com/en-us/azure/machine-learning/how-to-manage-models?view=azureml-api-2) distinguishes workspace model references from registry model references. The complete identity includes the namespace in which the asset is resolved. Matching display labels do not establish that separate clients, workspaces or registries refer to the same artifact.

## Separate the source asset from its shared destination

The [cross-workspace registry guide](https://learn.microsoft.com/en-us/azure/machine-learning/how-to-share-models-pipelines-across-workspaces-with-registries?view=azureml-api-2) describes sharing models and specifying the destination name and version. Preserve the source workspace asset and the resulting registry identity together. A convenient promotion convention may retain similar names, but that convention should not erase the transfer boundary. The receiving workflow needs to resolve the intended shared asset rather than independently searching for a local model whose label happens to match.

## Keep client targeting visible

The same conceptual create or get operation can operate within different targets depending on client configuration or command options. Inspect the effective workspace or registry before investigating a missing model as an artifact upload defect. The [model CLI reference](https://learn.microsoft.com/en-us/cli/azure/ml/model?view=azure-cli-latest) distinguishes workspace and registry selection and the explicit sharing destination. Record those coordinates with the result so another operator can locate the same version without relying on local default configuration from the original developer's terminal.

## Verify content and runtime after resolution

A correctly resolved asset still needs the intended file structure and runtime compatibility. Preserve the model package's configuration and supporting artifacts when handing it to an evaluator. The model management documentation distinguishes supported asset paths and retrieval modes; a direct URI and a downloaded local view are different consumption contracts. Confirm what the receiving application expects. Correct namespace selection explains which asset was requested, while successful loading explains whether that specific consumer can use its contents.

## Reconcile a small cross-workspace example

Use distinguishable test assets with similar labels in separate scopes and verify which complete reference the receiving workflow resolves. Record source and destination identities for the selected shared version. Related guides explain [artifact release manifests](/journal/tokenizer-artifact-release-manifest/) and [artifact verification](/journal/artifact-signature-verification/). The goal is an unambiguous model handoff across namespaces. It does not require assuming that equal names imply equal bytes or that registry discovery alone proves the model evaluated downstream is the intended candidate.
