Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create set-connection-variables task to return data from service connection #148

Closed
devkeydet opened this issue Jul 6, 2022 · 2 comments · Fixed by #151
Closed

create set-connection-variables task to return data from service connection #148

devkeydet opened this issue Jul 6, 2022 · 2 comments · Fixed by #151
Labels
enhancement New feature or request

Comments

@devkeydet
Copy link
Contributor

devkeydet commented Jul 6, 2022

The repo below has a task that creates a Dataverse connection string to the Environment based on the provided Service Connection and stores it in a pipeline secret variable. Having such a inbuilt capability inside the Power Platform Built Tools would prevent the need to maintain the same credentials twice to support script tasks that need to connect to the same Dataverse environment using tools such as Xrm.Data.PowerShell and others that support the connection string format.

https://github.com/remyblok/PowerPlatformBuildToolsEx

WhoAmI already validates the connection and sets additional variables such as BuildTools.EnvironmentID. I am proposing extending WhoAmI task to support returning additional values.

@devkeydet devkeydet added the enhancement New feature or request label Jul 6, 2022
@devkeydet devkeydet changed the title Get Connection String task Enhance WhoAmI task to return data from service connection Jul 7, 2022
@devkeydet devkeydet changed the title Enhance WhoAmI task to return data from service connection create set-connection-variables task to return data from service connection Jul 7, 2022
@devkeydet
Copy link
Contributor Author

Changed the issue name. Upon further thought, it feels like adding this to WhoAmI is overloading the purpose of the WhoAmI task. Proposing a new task instead.

@paulbreuler
Copy link
Contributor

Great suggestion @devkeydet! let's explore this idea further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants