nathangiusti / Power-BI-Pipeline-Deploy

GitHub action to deploy PBIX files to workspace via pipeline
GNU General Public License v3.0
7 stars 5 forks source link

Question regarding deploying a new .pbix #5

Closed dw1186 closed 2 years ago

dw1186 commented 2 years ago

I can only get this to work if the .pbix already exists in the target workspace. When I deploy a brand new .pbix from DEV to TEST it throws an error unless the .pbix already exists in the target workspace.

nathangiusti commented 2 years ago

Set source_stage_order to 0

name: Migrate via Pipeline
on:
  push:
    branches:
      - main
jobs:
  Deploy-Asset:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0
      - name: Get changed files
        id: changed-files
        uses: tj-actions/changed-files@v12
        with:
          separator: ","
          quotepath: false
      - name: Power BI Pipeline Deploy
        uses: nathangiusti/Power-BI-Pipeline-Deploy@v2.4
        with:
          files: ${{ steps.changed-files.outputs.all_modified_files }}
          separator: ","
          tenant_id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
          config_file: ".github/config/pipeline-deploy-config.yaml"
          source_stage_order: 0
        env:
          CLIENT_ID: ${{ secrets.CLIENT_ID }}
          CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}
dw1186 commented 2 years ago

Thanks for responding.

Below is my code which already has the source_stage_order set to 0. I must have something else wrong. I’ve included the log with the error highlighted in yellow at the end of this email. Any help would be greatly appreciated. Thanks!

name: CI

only run when files in the root of the main branch are committed and ignore changes in the sub-directories.

on: push: branches:

Run @.**@.> 2https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:2 with: 3https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:3 files: Workspace_Reports/Eide Bailly Widgets SemiAnnual Sales.pbix 4https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:4 separator: , 5https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:5 tenant_id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx (I removed this) 6https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:6 config_file: .github/workflows/config.yaml 7https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:7 source_stage_order: 0 8https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:8 update_app_in_target_workspace: false 9https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:9 allow_purge_data: false 10https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:10 env: 11https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:11 CLIENT_ID: 12https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:12 CLIENT_SECRET: 13https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:14/usr/bin/docker run --name d5581fe99acba552c4fb9b7134354806c1c65_5cf345 --label 8d5581 --workdir /github/workspace --rm -e "CLIENT_ID" -e "CLIENT_SECRET" -e "INPUT_FILES" -e "INPUT_SEPARATOR" -e "INPUT_TENANT_ID" -e "INPUT_CONFIG_FILE" -e "INPUT_SOURCE_STAGE_ORDER" -e "INPUT_UPDATE_APP_IN_TARGET_WORKSPACE" -e "INPUT_ALLOW_PURGE_DATA" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/PowerBI-EideBaillyWidgets/PowerBI-EideBaillyWidgets":"/github/workspace" 8d5581:fe99acba552c4fb9b7134354806c1c65 "Workspace_Reports/Eide Bailly Widgets SemiAnnual Sales.pbix" "," "220568a8-fd7d-48a1-978a-0fff06c0bc35" "0" "false" "false" ".github/workflows/config.yaml" 14https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:15WARNING: The directory '/github/home/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag. 15https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:16Requirement already satisfied: pip in /usr/local/lib/python3.9/site-packages (22.0.4) 16https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:17Collecting pip 17https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:18 Downloading pip-22.2.2-py3-none-any.whl (2.0 MB) 18https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:19 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 37.9 MB/s eta 0:00:00 19https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:20Installing collected packages: pip 20https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:21 Attempting uninstall: pip 21https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:22 Found existing installation: pip 22.0.4 22https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:23 Uninstalling pip-22.0.4: 23https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:24 Successfully uninstalled pip-22.0.4 24https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:25Successfully installed pip-22.2.2 25https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:26WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv 26https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:27WARNING: The directory '/github/home/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag. 27https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:28Collecting requests 28https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:29 Downloading requests-2.28.1-py3-none-any.whl (62 kB) 29https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:30 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 7.2 MB/s eta 0:00:00 30https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:31Collecting charset-normalizer<3,>=2 31https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:32 Downloading charset_normalizer-2.1.1-py3-none-any.whl (39 kB) 32https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:33Collecting certifi>=2017.4.17 33https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:34 Downloading certifi-2022.9.24-py3-none-any.whl (161 kB) 34https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:35 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 161.1/161.1 kB 24.6 MB/s eta 0:00:00 35https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:36Collecting urllib3<1.27,>=1.21.1 36https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:37 Downloading urllib3-1.26.12-py2.py3-none-any.whl (140 kB) 37https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:38 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.4/140.4 kB 109.5 MB/s eta 0:00:00 38https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:39Collecting idna<4,>=2.5 39https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:40 Downloading idna-3.4-py3-none-any.whl (61 kB) 40https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:41 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 134.5 MB/s eta 0:00:00 41https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:42Installing collected packages: urllib3, idna, charset-normalizer, certifi, requests 42https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:43WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv 43https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:44Successfully installed certifi-2022.9.24 charset-normalizer-2.1.1 idna-3.4 requests-2.28.1 urllib3-1.26.12 44https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:45WARNING: The directory '/github/home/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag. 45https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:46Collecting pyyaml 46https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:47 Downloading PyYAML-6.0.tar.gz (124 kB) 47https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:48 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 125.0/125.0 kB 10.5 MB/s eta 0:00:00 48https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:49 Installing build dependencies: started 49https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:50 Installing build dependencies: finished with status 'done' 50https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:51 Getting requirements to build wheel: started 51https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:52 Getting requirements to build wheel: finished with status 'done' 52https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:53 Preparing metadata (pyproject.toml): started 53https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:54 Preparing metadata (pyproject.toml): finished with status 'done' 54https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:55Building wheels for collected packages: pyyaml 55https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:56 Building wheel for pyyaml (pyproject.toml): started 56https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:57 Building wheel for pyyaml (pyproject.toml): finished with status 'done' 57https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:58 Created wheel for pyyaml: filename=PyYAML-6.0-cp39-cp39-linux_x86_64.whl size=45331 sha256=82d79e84293edc15bb1fbc2991a401d622321d9b509d78af978371ee2920b374 58https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:59 Stored in directory: /tmp/pip-ephem-wheel-cache-vet8zl_g/wheels/b4/0f/9a/d6af48581dda678920fccfb734f5d9f827c6ed5b4074c7eda8 59https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:60Successfully built pyyaml 60https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:61Installing collected packages: pyyaml 61https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:62WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv 62https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:63Successfully installed pyyaml-6.0 63https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:64Traceback (most recent call last): 64https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:65 File "/scripts/pipeline_deploy.py", line 109, in 65https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:66 main() 66https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:67 File "/scripts/pipeline_deploy.py", line 104, in main 67https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:68 parse_response(response) 68https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:69 File "/scripts/pipeline_deploy.py", line 11, in parse_response 69https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:70 raise Exception( 70https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:71Exception: ERROR: 400: b'{"error":{"code":"Alm_InvalidRequest_ArtifactsValidationFailure","pbi.error":{"code":"Alm_InvalidRequest_ArtifactsValidationFailure","details":[{"code":"Alm_InvalidRequest_MissingTargetReferencedDataset","detail":{"type":1,"value":"{\"artifactTypeName\":\"Reports\",\"artifactId\":\"638909ae-4716-4a9d-b86b-863d15189e65\"}"}}],"exceptionCulprit":1}}}' 71https://github.com/EideBailly/PowerBI-EideBaillyWidgets/actions/runs/3206355660/jobs/5240007763#step:5:72URL: https://api.powerbi.com/v1.0/myorg/pipelines/10acc45e-cfe5-45bf-807d-6afba1023541/deploy Post Run @.*** 0s Complete job 0s

Dave Winkels Director of Business Intelligence and Analytics Fargo, ND

T 701.476.8426

Access your documents with Eide Bailly Connecthttps://www.eidebailly.com/client-access

@.http://www.linkedin.com/companies/eide-bailly-llp @.https://twitter.com/EideBaillyLLP @.https://www.youtube.com/user/eidebailly @.https://www.facebook.com/EideBailly @.***https://instagram.com/eidebailly/

From: Nathan Giusti @.> Sent: Thursday, October 6, 2022 5:15 PM To: nathangiusti/Power-BI-Pipeline-Deploy @.> Cc: Dave Winkels @.>; Author @.> Subject: Re: [nathangiusti/Power-BI-Pipeline-Deploy] Question regarding deploying a new .pbix (Issue #5)

External Sender: Please take care when clicking links, opening attachments or responding to unsolicited messages.

Set source_stage_order to 0

name: Migrate via Pipeline

on:

push:

branches:

  - main

jobs:

Deploy-Asset:

runs-on: ubuntu-latest

steps:

  - uses: ***@***.***

    with:

      fetch-depth: 0

  - name: Get changed files

    id: changed-files

    uses: ***@***.***

    with:

      separator: ","

      quotepath: false

  - name: Power BI Pipeline Deploy

    uses: ***@***.******@***.***>

    with:

      files: ${{ steps.changed-files.outputs.all_modified_files }}

      separator: ","

      tenant_id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

      config_file: ".github/config/pipeline-deploy-config.yaml"

      source_stage_order: 0

    env:

      CLIENT_ID: ${{ secrets.CLIENT_ID }}

      CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}

- Reply to this email directly, view it on GitHubhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnathangiusti%2FPower-BI-Pipeline-Deploy%2Fissues%2F5%23issuecomment-1270754713&data=05%7C01%7Cdwinkels%40eidebailly.com%7C52dd6651ff2249dc37f608daa7e83c85%7C220568a8fd7d48a1978a0fff06c0bc35%7C0%7C0%7C638006913163395818%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=jlTmYnxMbjz7y4LdedbDYc%2Bq7c0n9N5iuU%2BjQAiSq9A%3D&reserved=0, or unsubscribehttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAZUST2WTAMKMQXV2HR6E263WB5FO7ANCNFSM6AAAAAAQ67SGAU&data=05%7C01%7Cdwinkels%40eidebailly.com%7C52dd6651ff2249dc37f608daa7e83c85%7C220568a8fd7d48a1978a0fff06c0bc35%7C0%7C0%7C638006913163395818%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=HrOz0LKhtWC3c4tzfonzD1B8HhQmgCfB57QIvZ3dUco%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.**@.>>


Confidentiality Note: This email message, including any attachment(s), is for the sole use of the intended recipient(s) and may contain information that is confidential, privileged, or otherwise protected by law. Any unauthorized use, disclosure, or distribution of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately by reply email and destroy the original and all copies of the email, including any attachment(s).

nathangiusti commented 2 years ago

@dw1186 Are you attempting to move PBIX reports with embedded datasets? As in the dataset is held within the PBIX file?

dw1186 commented 2 years ago

Yes

Dave Winkels

Director of Business Intelligence & Analytics

Eide Bailly LLP

3203 32nd Ave S.

Fargo, ND 58103-6242

T 701.476.8426<tel:+17014768426>

C 701.361.0733<tel:+17013610733>

F 701.476.8998<tel:+17014768998>

Access your documents with Eide Bailly Connecthttps://www.eidebailly.com/client-access

What inspires you, inspires us.

eidebailly.comhttps://www.eidebailly.com/


From: Nathan Giusti @.> Sent: Sunday, October 9, 2022 3:36:24 PM To: nathangiusti/Power-BI-Pipeline-Deploy @.> Cc: Dave Winkels @.>; Mention @.> Subject: Re: [nathangiusti/Power-BI-Pipeline-Deploy] Question regarding deploying a new .pbix (Issue #5)

External Sender: Please take care when clicking links, opening attachments or responding to unsolicited messages.

@dw1186https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdw1186&data=05%7C01%7Cdwinkels%40eidebailly.com%7C8546bf9db17c4b56ada708daaa35ef22%7C220568a8fd7d48a1978a0fff06c0bc35%7C0%7C0%7C638009445917317370%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=7PWHRETrryDxW8FxrI3jhhn2Oc5vBtZ%2FBUZcYRnwnZg%3D&reserved=0 Are you attempting to move PBIX reports with embedded datasets? As in the dataset is held within the PBIX file?

— Reply to this email directly, view it on GitHubhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnathangiusti%2FPower-BI-Pipeline-Deploy%2Fissues%2F5%23issuecomment-1272623151&data=05%7C01%7Cdwinkels%40eidebailly.com%7C8546bf9db17c4b56ada708daaa35ef22%7C220568a8fd7d48a1978a0fff06c0bc35%7C0%7C0%7C638009445917317370%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=GHaILtRheUAXMi2PNDhUaUdEOdkOBp0uRwBCv75eG1g%3D&reserved=0, or unsubscribehttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAZUST2SSOO757DCZAWOFIULWCMUERANCNFSM6AAAAAAQ67SGAU&data=05%7C01%7Cdwinkels%40eidebailly.com%7C8546bf9db17c4b56ada708daaa35ef22%7C220568a8fd7d48a1978a0fff06c0bc35%7C0%7C0%7C638009445917317370%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=WBUUOEQ%2Fvv%2BKjQlmdQR%2FsgcVDdRhSRX%2Fq1Lv0g260lE%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>


Confidentiality Note: This email message, including any attachment(s), is for the sole use of the intended recipient(s) and may contain information that is confidential, privileged, or otherwise protected by law. Any unauthorized use, disclosure, or distribution of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately by reply email and destroy the original and all copies of the email, including any attachment(s).

dw1186 commented 2 years ago

Everything works fine when the .pbix already exists in the target workspace. It only errors out when a new report is being deployed to a workspace where it does not already exist.

Dave Winkels Director of Business Intelligence and Analytics Fargo, ND

T 701.476.8426

Access your documents with Eide Bailly Connecthttps://www.eidebailly.com/client-access

@.http://www.linkedin.com/companies/eide-bailly-llp @.https://twitter.com/EideBaillyLLP @.https://www.youtube.com/user/eidebailly @.https://www.facebook.com/EideBailly @.***https://instagram.com/eidebailly/


Confidentiality Note: This email message, including any attachment(s), is for the sole use of the intended recipient(s) and may contain information that is confidential, privileged, or otherwise protected by law. Any unauthorized use, disclosure, or distribution of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately by reply email and destroy the original and all copies of the email, including any attachment(s).

nathangiusti commented 2 years ago

@dw1186

I believe the issue is due to the PBIX files containing the dataset. Our current use case separates datasets from reports. I will need to make some updates to handle this.

dw1186 commented 2 years ago

Thank you for looking into this. For a new Power BI dashboard, what would the appropriate steps be to deploy using your action? Would I have to manually deploy the dataset prior to running your action? Thanks again.

Dave Winkels Director of Business Intelligence and Analytics Fargo, ND

T 701.476.8426

Access your documents with Eide Bailly Connecthttps://www.eidebailly.com/client-access

@.http://www.linkedin.com/companies/eide-bailly-llp @.https://twitter.com/EideBaillyLLP @.https://www.youtube.com/user/eidebailly @.https://www.facebook.com/EideBailly @.***https://instagram.com/eidebailly/

From: Nathan Giusti @.> Sent: Thursday, October 13, 2022 9:40 AM To: nathangiusti/Power-BI-Pipeline-Deploy @.> Cc: Dave Winkels @.>; Mention @.> Subject: Re: [nathangiusti/Power-BI-Pipeline-Deploy] Question regarding deploying a new .pbix (Issue #5)

External Sender: Please take care when clicking links, opening attachments or responding to unsolicited messages.

@dw1186https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdw1186&data=05%7C01%7Cdwinkels%40eidebailly.com%7C08b65d594b324f7e1a9408daad28c4ed%7C220568a8fd7d48a1978a0fff06c0bc35%7C0%7C0%7C638012687891467524%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=5T%2FZNNcP5V2bKtYWximKuwV80hHIfDKtrB3%2BpaBkfVU%3D&reserved=0

I believe the issue is due to the PBIX files containing the dataset. Our current use case separates datasets from reports. I will need to make some updates to handle this.

- Reply to this email directly, view it on GitHubhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnathangiusti%2FPower-BI-Pipeline-Deploy%2Fissues%2F5%23issuecomment-1277722084&data=05%7C01%7Cdwinkels%40eidebailly.com%7C08b65d594b324f7e1a9408daad28c4ed%7C220568a8fd7d48a1978a0fff06c0bc35%7C0%7C0%7C638012687891467524%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=vl2Fl9elF%2FtKEV1gX3RTZCYG4NYEnzsZxfihp81QYi0%3D&reserved=0, or unsubscribehttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAZUST2XFSDLE6MBZZZFXK6DWDANK7ANCNFSM6AAAAAAQ67SGAU&data=05%7C01%7Cdwinkels%40eidebailly.com%7C08b65d594b324f7e1a9408daad28c4ed%7C220568a8fd7d48a1978a0fff06c0bc35%7C0%7C0%7C638012687891467524%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=2UGJv90MnZ5SNOycAn0tCiv7ivOum8ffPf1Men68uhk%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.**@.>>


Confidentiality Note: This email message, including any attachment(s), is for the sole use of the intended recipient(s) and may contain information that is confidential, privileged, or otherwise protected by law. Any unauthorized use, disclosure, or distribution of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately by reply email and destroy the original and all copies of the email, including any attachment(s).

nathangiusti commented 2 years ago

Yes unfortunately. I will look into supporting this.

nathangiusti commented 2 years ago

See new release v2.5