maikvandergaag / msft-extensions

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

Update Gateway is not working if we have two datasources with different databasename #517

Closed GopiWilco closed 6 months ago

GopiWilco commented 6 months ago

Describe the issue A clear and concise description of what the issue is. Thank you so much for Great tool. we are using this tool to perform the CI/CD. we have single database server hosted in AWS. we have created two database on the same database server. and two databases has been mapped with 2 different environment.

We have configured the datasource and database name in the parameters.

Now, when we try to update the gateway, it's not working. seems it's always picking the first datasource created using the database.

Extension

To Reproduce Steps to reproduce the behavior: 1 Create two datasources in the power bi services with same datasource endpoint and different database name.

  1. Update the parameter with proper datasource and database name.
  2. Perform the Update Gateway Action.

Expected behavior A clear and concise description of what you expected to happen.

It has to update and add the gateway to the power bi dataset.

Situation (please complete the following information): The gateway is not updated.

Log info Please add the log file of the agent in debug mode [Add the variable system.debug with the value 'true ' to your pipeline]

Additional information Add any other context about the problem here.