You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the Microsoft Azure Power BI Dedicated Management Client Library.
4
-
This package has been tested with Python 3.7+.
4
+
This package has been tested with Python 3.9+.
5
5
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).
6
6
7
7
## _Disclaimer_
8
8
9
9
_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_
10
10
11
-
#Usage
11
+
## Getting started
12
12
13
+
### Prerequisites
13
14
14
-
To learn how to use this package, see the [quickstart guide](https://aka.ms/azsdk/python/mgmt)
15
-
16
-
For docs and references, see [Python SDK References](https://docs.microsoft.com/python/api/overview/azure/)
17
-
Code samples for this package can be found at [Power BI Dedicated Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com.
18
-
Additional code samples for different Azure services are available at [Samples Repo](https://aka.ms/azsdk/python/mgmt/samples)
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configuration of the following environment variables.
28
+
29
+
-`AZURE_CLIENT_ID` for Azure client ID.
30
+
-`AZURE_TENANT_ID` for Azure tenant ID.
31
+
-`AZURE_CLIENT_SECRET` for Azure client secret.
32
+
33
+
In addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`.
34
+
35
+
With above configuration, client can be authenticated by following code:
36
+
37
+
```python
38
+
from azure.identity import DefaultAzureCredential
39
+
from azure.mgmt.powerbidedicated import PowerBIDedicated
-[Search Power BI Dedicated Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com
0 commit comments