HDFS Writer Writing to ADLS Gen2
I am trying to upload a file to adls gen2 storage using OAuth method to connect
The Account creation and validation was successfull
But the Writer Fails with following error
The ApplicationID/ClientID used is assigned as contributor to the storage account
The HDFS Writer Config
Where test123 is Storage account
aus is the Directory within
I tried adl://test123.dfs.core.windows.net/aus It did not work
Any ideas
I Used abfs://aus@test123.dfs.core.windows.net/ebaw
I get New error
REST API service endpoint returned error result: status code = 403
Resolution:
Please check the values of Snap properties.
Reason:
REST API service endpoint returned error result: status code = 403, reason phrase = This request is not authorized to perform this operation using this permission., refer to the error_entity field in the error view document for more details
Thanks
-Venkat
This is resolved : The issue was the Role Assignments For Service principal on Storage Account
The Service Principal must be Storage Blob Data Contributor at the Container level