Hi Ivelin Andreev,
The challenge you’re encountering stems from a fundamental architectural constraint in how Azure Machine Learning (AML) handles identity when used in cross-tenant scenarios via Azure Lighthouse. Specifically, AML requires access tokens that include a valid oid (Object ID) claim, which delegated service principal tokens commonly used via Lighthouse often lack. As a result, internal control plane operations fail authorization, leading to long-running deployments that eventually time out.
At this time, Azure Machine Learning does not fully support creation or management through delegated identities enabled via Azure Lighthouse. This limitation has been confirmed internally through Microsoft support engagements and aligns with how the AML backend validates identity during resource provisioning.
Recommended Workarounds:
To proceed while staying within supported boundaries, here are a few alternatives you can adopt:
Use a service principal or managed identity native to the customer tenant (i.e., where the ML workspace is being deployed) to ensure tokens contain the correct oid claims.
Run deployment tasks using Azure DevOps agents or Azure Automation hosted in the customer tenant, where full Entra ID context is available.
Split deployment into stages deploy delegate-supported resources through Lighthouse, and deploy AML workspaces using an identity that exists within the customer’s tenant.
To ensure this gap is visible to the Product Group (PG) and prioritized accordingly, I’ll take the following steps:
- Since it is not publicly available to report this. I will Internally surface this scenario through Microsoft’s private feedback channels related to Azure ML and Lighthouse product teams.
In parallel, I strongly encourage submitting this as a public request via link under the Azure Machine Learning category. This allows the broader community and PG to gauge interest and urgency.
If you do create a feedback item, feel free to share the link. I’ll make sure it gets amplified on our side as well.
I hope this has been helpful!
If anything remains unclear, or you’d like further clarification, feel free to drop a comment below.
Please click Accept if this response answers your question. It helps the community discover solutions more quickly.