The error message you're encountering, "Failed to extract subscription information, Exception=AttributeError; 'Logger' object has no attribute 'activity_info'," suggests an issue with extracting subscription information in Azure Machine Learning. Here are a few troubleshooting steps you can try:
- Update Azure ML SDK: Ensure that you have the latest version of the Azure ML SDK installed. You can use the following command to update the Azure ML SDK:
css
pip install --upgrade azureml-sdk
Verify authentication: Double-check that your authentication credentials are properly set up. Make sure you have logged in and authenticated correctly using the Azure CLI or another appropriate method.
Check workspace configuration: Verify that your Azure Machine Learning workspace is correctly configured. Ensure that you have the correct subscription associated with your workspace and that you have the necessary permissions to access the resources.
Check network connectivity: Ensure that you have a stable network connection and can access the necessary endpoints. Network connectivity issues could result in errors during authentication or when extracting subscription information.
Review workspace configuration files: Check the configuration files associated with your workspace, such as the config.json
file. Verify that the file contains the correct subscription and workspace details.
Review dependencies: Confirm that you have installed all the necessary dependencies for your script, including the required Azure ML SDK packages. Ensure that you have the azureml-core
package installed.
If the issue persists after trying these steps, it would be helpful to provide more details about your environment, such as the versions of the Azure ML SDK and other relevant packages you are using. Additionally, reviewing the complete error message and any available logs or stack traces might provide further insights into the root cause of the issue.