Thank you for using the Microsoft Q&A forum.
For debugging purpose, I would suggest you try using the Workspace.from_config()
method to retrieve the workspace details from the config file.
Following are the steps to download the config.json file.
- Log in to the Azure portal.
- Navigate to the Azure Machine Learning workspace that you were trying to use.
- Click on the "Download config.json" button.
- Save the config.json file to your current directory.
- use the
Workspace.from_config()
method to retrieve the workspace details from the config file. Here's an example of how to do this
from azure.ml.core import Workspace
from azure.ml import MLClient
# Get current workspace from config file
workspace = Workspace.from_config()
# Create ML client with current workspace
client = MLClient(workspace=workspace)
For more details, please refer- different authentication-methods-in-azureml
I hope this helps. Thanks!