Creating the Data Source Name
This section describes how to edit the DSN configuration and then authenticate and connect to Azure Data Management APIs.
Editing the DSN Configuration
You can use the Microsoft ODBC Data Source Administrator to edit the DSN configuration. Note that the DSN is created during the installation process, as described in Installing the Connector.
Complete the following steps to edit the DSN configuration:
- Select Start > Search, and enter ODBC Data Sources in the Search box.
- Choose the version of the ODBC Administrator that corresponds to the bitness of your Power BI Desktop installation (32-bit or 64-bit).
- Click the System DSN tab.
- Select the system data source and click Configure.
- Edit the information on the Connection tab and click OK.
Authenticating to Azure Data Management
You can connect without setting any connection properties for your user credentials. Set the following properties:
- SubscriptionId (optional): A subscription Id is required for Azure API Management endpoints, so if you do not specify one, the connector gets the first subscription Id available in your account.
- Tenant (optional): Your tenant can be specified if you wish to authenticate to a different tenant than your default. This is required to work with a Subscription not on your default Tenant.
When you connect, the connector opens the Azure Data Management OAuth endpoint in your default browser. Log in and grant permissions to the connector. The connector then completes the OAuth process.
See Using OAuth Authentication for other OAuth authentication flows.
Connect using MSI Authentication
If you are running Azure Data Management on an Azure VM, you can leverage Managed Service Identity (MSI) credentials to connect:
- AuthScheme: Set this to AzureMSI.
The MSI credentials will then be automatically obtained for authentication.
See Getting Data for the next step, which is connecting to the data that you want to work with.