maikvandergaag / msft-extensions

Repository for extensions mainly used for Azure DevOps Extensions
https://msftplayground.com
MIT License
126 stars 80 forks source link

Steps to perform complete deployment in Azure DEVOPS #541

Closed vinayprakash893 closed 1 month ago

vinayprakash893 commented 3 months ago

HI @maikvandergaag ,

Im perfoming file.rdl deployment to powerBI

Step1: using upload task

Step2: once the rdl file is deployed, im getting the below error in powerBI portal image

Step3: Manual fix the issue when i click on "manage" and manually TAKEOVER the below, it changes to my ownership and it works perfectly.

image

Step4: To achieve this over CICD, i have added

im getting error like the below ISSUE https://github.com/maikvandergaag/msft-extensions/issues/450

I even tried using the below task

image

Could you please let me know the actual steps needed to achieve this..?

vinayprakash893 commented 3 months ago

Hi Team, Any update on this..?

maikvandergaag commented 3 months ago

Hi,

Sorry it has been a busy week. It seems the your second step isn't able to find the report. Could you check this?

Maybe you should also try to not take the ownership through the portal.

vinayprakash893 commented 2 months ago

Hi @maikvandergaag ,

Thank you for providing response,

The second step is the error when we deploy the report "using : Upload Report'" because it does not get the access to SQL server using the service account to deploy, as error stating.

even if i use Step 4 to get Ownership( which is not required because it already deployed with service account only) and using step 5 to update SQL creds, its giving same error as Step2

now to make this work, i should takeover manually as STEP3 which uses my credentials as i will be the owner of that report/data

do i need use any of the options like PatchDatasourceCredentials, or does this extension has the capability ..? https://github.com/microsoft/PowerBI-Developer-Samples/blob/master/PowerShell%20Scripts/PatchDatasourceCredentials.ps1

maikvandergaag commented 2 months ago

There is a new action to set database credentials but not sure if that works with your use case

vinayprakash893 commented 2 months ago

Can you provide the New Action name..?

vinayprakash893 commented 2 months ago

Hi @maikvandergaag , Any update..?

maikvandergaag commented 2 months ago

This one: "SetSQLDatasourceSPCredentials"

github-actions[bot] commented 1 month ago

It looks like there hasn't been a reply in 30 days, so I'm closing this issue.