bguidinger / powerbi-build-tools

Power BI Build Tools for Azure DevOps
MIT License
8 stars 3 forks source link

import an rdl-file #24

Open aleibner opened 4 years ago

aleibner commented 4 years ago

Hello Bob Guidinger,

first of all I think you did a great work with powerbi-build-tools.

Unfortunatelly I have the following issue.

I'm trying to import an rdl-file into a power bi workspace. If I import it as it is, everything works like a charm.

As soon as I enter a connecting string, I get an error message in the log:

2020-07-23T17:57:18.4909614Z ##[section]Starting: Power BI Import: Paginated Reports 2020-07-23T17:57:18.5019882Z ============================================================================== 2020-07-23T17:57:18.5020239Z Task : Power BI Import 2020-07-23T17:57:18.5020513Z Description : Import a file or folder. 2020-07-23T17:57:18.5020743Z Version : 1.3.7 2020-07-23T17:57:18.5020976Z Author : bguidinger 2020-07-23T17:57:18.5021209Z Help : 2020-07-23T17:57:18.5021474Z ============================================================================== 2020-07-23T17:57:49.3455131Z Connected to https://api.powerbi.com/v1.0/myorg 2020-07-23T17:57:49.5447043Z GET https://api.powerbi.com/v1.0/myorg/groups?$filter=name eq 'xxx-DEV' 2020-07-23T17:57:49.6956538Z Importing 'Payment plan_sub.rdl' 2020-07-23T17:57:49.8630522Z GET https://api.powerbi.com/v1.0/myorg/groups/309eeec1-axxe-40e3-9192-0c50a495e624/reports 2020-07-23T17:57:50.0745102Z POST https://api.powerbi.com/v1.0/myorg/groups/309eeec1-axxe-40e3-9192-0c50a495e624/imports?datasetDisplayName=Payment plan_sub.rdl&nameConflict=Overwrite 2020-07-23T17:57:51.2150055Z GET https://api.powerbi.com/v1.0/myorg/groups/309eeec1-axxe-40e3-9192-0c50a495e624/imports/06048467-4d2a-41bf-a8c3-336276a040d6 2020-07-23T17:57:51.4822343Z GET https://api.powerbi.com/v1.0/myorg/groups/309eeec1-axxe-40e3-9192-0c50a495e624/imports/06048467-4d2a-41bf-a8c3-336276a040d6 2020-07-23T17:57:51.6696696Z GET https://api.powerbi.com/v1.0/myorg/groups/309eeec1-axxe-40e3-9192-0c50a495e624/reports/2d716d6a-0b6e-460f-8b35-f849cbf94e31/datasources 2020-07-23T17:57:52.3082906Z Setting credentials: xxxxx.database.windows.net:xxxxxcommondb 2020-07-23T17:57:52.4282665Z PATCH https://api.powerbi.com/v1.0/myorg/gateways/6a4c93f7-db5b-45f8-aaa7-b30f190c8409/datasources/e1088054-3d4c-45f7-913a-c6c9664bb67d 2020-07-23T17:57:52.9577260Z ##[error]The remote server returned an error: (400) Bad Request. 2020-07-23T17:57:53.0062112Z ##[section]Finishing: Power BI Import: Paginated Reports

The deployment anyway is succesfull and even the connection string has changed.

I don't know what command is causing the error and what can I do to prevent it.

Can you help me with that?

Thanks in advanced