Context: I am trying to add my own data to Azure Ai Studio.
I have uploaded the files in a container. I can create new data by connecting to the blob storage. But when indexing the data I get the following error.
Error Code: ScriptExecution.StreamAccess.Authentication
Native Error: error in streaming from input data sources
StreamError(PermissionDenied(Some(This request is not authorized to perform this operation.)))
=> permission denied when access stream. Reason: Some(This request is not authorized to perform this operation.)
PermissionDenied(Some(This request is not authorized to perform this operation.))
Error Message: Authentication failed when trying to access the stream. Make sure you have correct permissions set up. Ok(This request is not authorized to perform this operation.)| session_id=
Otherwise, when I try to upload a file directly into Azure Ai Studio. I get the following:
The file(s) couldn't be uploaded, because the storage is behind a virtual network, the supplied credentials might not have access, or the storage account permissions might not be set up correctly. If access was granted recently, it may take several minutes to update in the system - you can simply try again later.
I suspect the issue has something to do with the virtual network but unsure what is the cause. Appreciate any help or pointers in the right direction.
I have tried to tweak the access controls and network settings.
For the storage account, I am the owner. I have also given the Azure Ai Studio app and my own user the Reader, Storage Blob Data Reader and Storage Blob Data Contributor access.
I have a virtual network and can only use Enabled from selected virtual networks and IP addresses but I have whitelisted my public ip addresses.
enter image description here
Resource instances wise I have given the workspaces access to storage account.
enter image description here
Inside Azure Ai studio, I have tried to enable authentication via Account Key, SAS. I have also toggled on the Use workspace managed identity for data preview.
enter image description here
Guo Kecheng is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.