Hi Davendra Kumar,
Thank you for the detailed follow-up and for sharing your analysis - that’s incredibly helpful!
You're absolutely right that mixing account key and service principal (OAuth) authentication methods in the same Databricks notebook session can cause conflicts. Running them in separate notebooks or clusters is indeed the correct approach and aligns with Databricks best practices.
Also, your observation is valid - dbutils.fs.mount() does not support ABFS/ABFSS URIs for ADLS Gen2 when used with OAuth-based (service principal) authentication. In such cases, it's recommended to access the data directly using Spark configs or consider Unity Catalog-based access where available.
We really appreciate you taking the time to share your resolution. This kind of input is valuable for others facing similar issues.
Request for Resurvey
We acknowledge your previous feedback regarding your dissatisfaction with the response rating. If the recent guidance has provided clarity on the scenario, we would greatly appreciate it if you could kindly reconsider your rating and Accept answer on the thread to help others with similar questions.
Revisiting the survey and updating your feedback - it helps us continue improving the support experience for the community.
Please feel free to reach out if you have further questions or need help adapting your setup. Always happy to assist!