This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
Databricks API Authentication using Azure AD PublicClientApplication | |
This script demonstrates how to authenticate with Databricks APIs using Azure AD | |
with interactive user sign-in flow. | |
Features: | |
- Uses MSAL PublicClientApplication for user authentication | |
- Direct token acquisition from Azure AD (no token exchange) |