question

CASTANOSANCHEZMariaJoseA-3582 avatar image
0 Votes"
CASTANOSANCHEZMariaJoseA-3582 asked romungi-MSFT commented

To update keys between workspace and storage

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://docs.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-machine-learningazure-blob-storageazure-key-vault
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@CASTANOSANCHEZMariaJoseA-3582 Are you using the same datastore, fileshare and account names to register with the new keys? I think there might be a mismatch from the names printed from the earlier section what needs to be updated? You could also use the studio to update the keys if this method fails.


1 Vote 1 ·

0 Answers