Hi @Amriteshwar Singh ,
Welcome to Microsoft Q&A forum and thanks for reaching out here.
As per the error message, it seems like directory specified in the external table definition does not exist or the user does not have sufficient permissions to access the directory. You can try the following steps to resolve the issue:
- Check if the directory specified in the external table definition exists in the data lake storage account. Check if you have specified the correct path to the directory in the external table definition.
- Ensure that you have sufficient permissions to access the directory. You can grant the necessary permissions by using the Access Control (IAM) feature in the Azure portal (ADLSGen2 account).
Please make sure that you have followed all the steps mentioned in these 3 steps:
Also please ensure that the product file is uploaded to your Primary ADLS Gen2 container which has been used to create a table in your lake database. Once the file is uploaded, please make sure to Publish
the changes you have made. Then you can right click on the table and select New SQL script and select the online SQL pool and run the query which will display the results.
Hope this helps.
Please don’t forget to Accept Answer
and Yes
for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.