Hello Sujith Siddireddy,
Welcome to the Microsoft Q&A forum.
Per the error message "Failure to initialize configuration for storage account suwethastriim.dfs.core.windows.net: Invalid configuration value detected for fs.azure.account.keyInvalid configuration value detected for fs.azure.account.key"
it seems that there is an issue with the configuration of the storage account suwethastriim.dfs.core.windows.net
and an invalid configuration value was detected for fs.azure.account.key
.
Root cause:
Required configurations are not set correctly in cluster config. meaning the storage account key is incorrectly set in the Databricks configuration.
Solution:
You can check the configuration by going to the Databricks workspace, selecting the cluster you are using, and then selecting the "Advanced Options" tab and update the configurations.
If the storage account key is set correctly, there may be an issue with the account itself.
In this case, you can create a new storage account and try again.
Can you check if the storage account is correctly referenced in the data bricks workspace using this doc:https://docs.databricks.com/en/storage/azure-storage.html
config examples:
Gen2 Service Principal Auth:
fs.azure.account.auth.type.<storage-account-name>.dfs.core.windows.net OAuth
fs.azure.account.oauth.provider.type.<storage-account-name>.dfs.core.windows.net org.apache.hadoop.fs.azurebfs.oauth2.ClientCredsTokenProvider
fs.azure.account.oauth2.client.id.<storage-account-name>.dfs.core.windows.net <application-id>
fs.azure.account.oauth2.client.secret.<storage-account-name>.dfs.core.windows.net <service-credential>
fs.azure.account.oauth2.client.endpoint.<storage-account-name>.dfs.core.windows.net https://login.microsoftonline.com/<directory-id>/oauth2/token
Azure Blob Storage:
# Using an account access key
spark.hadoop.fs.azure.account.key.<storage-account-name>.blob.core.windows.net <storage-account-access-key>
# Using a SAS token
spark.hadoop.fs.azure.sas.<container-name>.<storage-account-name>.blob.core.windows.net <complete-query-string-of-sas-for-the-container>
https://learn.microsoft.com/en-us/azure/storage/common/storage-account-keys-manage?tabs=azure-portal
I hope this helps. Please let me know if you have any further questions.
If this answers your question, please consider accepting the answer by hitting the Accept answer and up-vote as it helps the community look for answers to similar questions.