@JIren Thanks for the question. it's a duplicate of the following github question for creating workspace..
https://github.com/MicrosoftDocs/azure-docs/issues/97360
Azure Machine Learning - Python SDK - Create Workspace with existing resources
This article shows you how to create a workspace with the Python SDK
https://learn.microsoft.com/en-us/azure/machine-learning/how-to-manage-workspace?tabs=python#create-a-workspace
For some reason the existing resources are added to the ServicePrincipalAuthentication, but I think this is a mistake and should be added to the Workspace.Create function.
But when I try to add the existing Azure resource IDs to the Create function I get a non descriptive error. Can someone show a working example of how to create a workspace (including a new resource group) programmatically with existing resources (in another resource group), like a Key Vault, Azure Container Registry and Storage Account?
1 answer
Sort by: Most helpful
-
Ramr-msft 17,731 Reputation points
2022-08-22T17:50:51.913+00:00