Problem
Attempting to use a Datameer integration link with Microsoft Power BI Desktop doesn't allow data to be retrieved. After defining the integration URL, the Web View shows the Datameer login page but it can't interact with it. This makes it impossible to retrieve the data as authentication can't be performed.
Cause
This is a bug/regression in the Microsoft Power BI Desktop. The Web View was previously used to authenticate, and the data would then be ingested. Even after updating the permissions of the query - Power BI Desktop incorrectly attempts to parse the login page as HTML data, rather than re-run the query and retrieve the data.
Workaround
The credentials passed with the query can be updated after building the initial query, the initial query deleted, and a new query built. At this point, the new query will properly pass credentials through the HTTP header with the query, and data will be retrieved.
- In Datameer, right-click on your workbook and select
Show Results. - Click
Copy Integration Linkin the Download dialog. - Open Power BI Desktop and select
Get Data->Other->Web - Paste in your integration link retrieved in Step 1 and click
OK. - Note, in the
Table Viewit shows an HTML document. - Note, in the
Web Viewyou can see this HTML document is the Datameer Login screen correctly challenging for authentication. - Click on the
Menu Buttonabove the Power BI DesktopRibbonand selectOptions and Settings->Data source settings. - Click the URL shown in the
Edit Data Sourcewindow and then selectEdit Permissions... - Under
Type: AnonymousclickEdit...and selectBasic Authenticationfrom the list on the left. - Enter your Datameer credentials, and click
Save. - On the
Ribbon Home TabclickEdit Queries. - In the
Query Editorright click on theDocumentin theQueriespane andDeletethe query, thenClose & Apply. - On the
Ribbon Home TabclickGet Data->Other->Weband re-add your Integration URL. - Since credentials have been pre-set for this source, they will be passed through to Datameer in the request header and the login page will be bypassed.
Comments
0 comments
Please sign in to leave a comment.