KEERTHANA JAYADEVAN - Thanks for the question and using MS Q&A platform.
Could you please share the stack trace of the error message and the Azure Databricks runtime which you are using?
As per the repro, I'm able to successfully able to run the above command and able to access the files:
For more details, refer to Access Azure Data Lake Storage Gen2 or Blob Storage using OAuth 2.0 with an Azure service principal.
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.