question

JamesLee-0129 avatar image
0 Votes"
JamesLee-0129 asked romungi-MSFT commented

Can't connect Azure Machine Learning to hierarchical namespace storage account

When trying to connect Azure ML to a Storage account on ARM, I get this error:

 {
   "code": "DeploymentFailed",
   "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.",
   "details": [
     {
       "code": "BadRequest",
       "message": "Cannot use storage with HNS enabled."
     }
   ]
 }

But when reading the documentation, it seems like ADLS Gen2 (which requires HNS) should be supported. How do I get this fixed?

Thanks

azure-machine-learningazure-storage-accounts
· 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.

@JamesLee-0129 Did you get a chance to check the below response and use a general-purpose v1 account?

0 Votes 0 ·

1 Answer

romungi-MSFT avatar image
0 Votes"
romungi-MSFT answered

@JamesLee-0129 I think a storage account with HNS enabled cannot be used with Azure ML workspace. This is documented here in Azure ML documentation.

By default, the storage account is a general-purpose v1 account. You can upgrade this to general-purpose v2 after the workspace has been created. Do not enable hierarchical namespace on the storage account after upgrading to general-purpose v2.


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.