To update keys between workspace and storage

Anonymous
2022-05-19T09:51:38.103+00:00

Hello

My storage keys have been updated and so I am trying to update to connect with the ML Studio.

I am following this link:

https://learn.microsoft.com/en-us/azure/machine-learning/how-to-change-storage-access-key

However in this step:

Re-register the blob container

ds_blob = Datastore.register_azure_blob_container(workspace=ws,
datastore_name='your datastore name',
container_name='your container name',
account_name='your storage account name',
account_key='new storage account key',
overwrite=True)

Re-register file shares

ds_file = Datastore.register_azure_file_share(workspace=ws,
datastore_name='your datastore name',
file_share_name='your container name',
account_name='your storage account name',
account_key='new storage account key',
overwrite=True)

I get the following error message: ErrorResponseException: (Immutable) Update to datastore is not allowed. Only credentials of a datastore can be updated.

Please your help to solve this.

Thank you!

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,124 questions
Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,571 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,436 questions
{count} votes