Study FAQ
Which identities must have access to invoke an Azure ML endpoint and reach its data?
Also asked as 2
- How do Azure ML inference callers and runtime identities differ?
- What permissions and network paths should I test for online or batch inference in Azure Machine Learning?
Answer
Verify the invoking application's authentication and permissions on the selected endpoint, then trace each data operation to the principal or credential that performs it. For an online deployment this can include accessing a model or dependency at runtime. For batch, check the permissions and routes for reading stored inputs and writing or retrieving outputs.
Authentication support differs by endpoint. Batch invocation uses a Microsoft Entra token and creates a job under the associated identity. Datastore configuration can still affect which identity reads the underlying data. For online inference, key and Azure Machine Learning token modes are documented for both managed and Kubernetes endpoints. Scoring with a Microsoft Entra token is specific to managed online endpoints and requires a scoring permission. Verify the configured mode for the endpoint. Test with the intended application or automation identity, exercise runtime dependencies with their expected identity, and include a controlled test for a caller that should be denied.
Microsoft Learn
Full explanation
AI-300: Choosing Online and Batch Inference
Study guide · AI-300
Read the full explanation