Azure Synapse Serverless query error with Access check for 'CREATE/WRITE' operation against blob failed with HRESULT = '0x80070005'.

Sangilimurugan S 31 Reputation points
2021-03-22T17:15:31.067+00:00

hi,
i am trying to execute the below query and i getting error as HRESULT = '0x80070005'.:
I have given "Storage Blob Data Contributor" access to synapse analytics resource. can anyone help me?.

CREATE EXTERNAL TABLE [dbo].[PopulationCETAS] WITH (
LOCATION = 'populationParquet/',
DATA_SOURCE = [MyDataSource23],
FILE_FORMAT = [ParquetFF23]
) AS
SELECT
*
FROM
OPENROWSET(
BULK 'csv/population-unix/population.csv',
DATA_SOURCE = 'sqlondemanddemo',
FORMAT = 'CSV', PARSER_VERSION = '2.0'
) WITH (
CountryCode varchar(4) COLLATE Latin1_General_100_CI_AS_SC_UTF8 ,
CountryName varchar(64) COLLATE Latin1_General_100_CI_AS_SC_UTF8 ,
Year int,
PopulationCount int
) AS r;

Started executing query at Line 1

Access check for 'CREATE/WRITE' operation against 'https://sangilistorage.dfs.core.windows.net/csv/populationParquet/' failed with HRESULT = '0x80070005'.
Total execution time: 00:00:01.488

80309-access.png

Azure Blob Storage
Azure Blob Storage

An Azure service that stores unstructured data in the cloud as blobs.

Azure Synapse Analytics
Azure Synapse Analytics

An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.


1 answer

Sort by: Oldest
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.

    2 deleted comments

    Comments have been turned off. Learn more

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.