Generates a PowerBI client configuration for credentials, URIs, and OAuth client id.
Generates a PowerBI client configuration for credentials, URIs, and OAuth client id.
Settings are:
spark.powerbi.token.uri - The OAuth token URI to authenticate against (default: https://login.windows.net/common/oauth2/token)
spark.powerbi.token.resource - The OAuth resource to authenticate for (default: https://analysis.windows.net/powerbi/api)
spark.powerbi.uri - The PowerBI API URI (default: https://api.powerbi.com/beta/myorg)
spark.powerbi.username - The Azure Active Directory account name to authenticate with
spark.powerbi.password - The Azure Active Directory account password to authenticate with
spark.pwerbi.clientid - The OAuth client id
spark.powerbi.timeout - The response timeout in seconds for API calls (default: 30 seconds)
spark.powerbi.max_partitions - The max number of partitions when saving (default: 5)
a Spark configuration object with the application settings
a PowerBI client configuration