The problem was solved by updating the account keys in the workspace.
az ml workspace sync-keys -w mlw-kundenscore -g rg-datascience
dataset.to_pandas_dataframe() throws a ScriptExecution.StreamAccess.Authentication error
Azure fails to connect with the Dataset citing 403 inspite of SAS token
This appears when we try to load the data as a pandas dataframe . dataset = Dataset.get_by_name() works
Error message:
{
"error": {
"code": "UserError",
"message": "Execution failed in operation 'to_pandas_dataframe' for Dataset(id='data id', name='dataset name', error_code=ScriptExecution.StreamAccess.Authentication,error_message=ScriptExecutionException was caused by StreamAccessException.\r\n StreamAccessException was caused by AuthenticationException.\r\n Authentication failed for 'AzureBlob GetReference' operation at '[REDACTED]' with '403: AuthenticationFailed'. Please make sure the SAS token or the account key is correct.\r\n Failed due to inner exception of type: StorageException\r\n| session_id=session_id) ErrorCode: ScriptExecution.StreamAccess.Authentication"
}
}
-
Antara Das 376 Reputation points
2021-11-30T13:29:23.5+00:00
1 additional answer
Sort by: Most helpful
-
GiftA-MSFT 11,151 Reputation points
2021-11-30T01:44:50.843+00:00 Hi, some suggestions include:
- Check your Network and Firewall settings
- Ensure that you are providing the correct SAS token and in the correct format
- When generating a new SAS token, try to adjust your start time to be at least 15mins in the past (review Be careful with SAS start time)
--- *Kindly Accept Answer if the information helps. Thanks.*