Forum Discussion
Connecting to AML Workspace from Fabric Notebook
- 8 months ago
Yes, there is a limitation. Fabric notebooks run inside a sandboxed env that does not support managed identity based auth to external azure services such as azure ML. DefaultAzureCredential will not work because the fabric runtime does not expose a MI, even if you grant permissions on the ML workspace. That is why the token retrieval fails.
Right now, the only reliable approach is to authenticate using a service principal (client id and secret or certificate). MSI from Fabric to AML is not supported at this time.
Yes, there is a limitation. Fabric notebooks run inside a sandboxed env that does not support managed identity based auth to external azure services such as azure ML. DefaultAzureCredential will not work because the fabric runtime does not expose a MI, even if you grant permissions on the ML workspace. That is why the token retrieval fails.
Right now, the only reliable approach is to authenticate using a service principal (client id and secret or certificate). MSI from Fabric to AML is not supported at this time.