-
Hello, There doesn't appear to be any documentation on the MS website about the Set Connection Variable task, but I do believe it would be useful for a specific requirement that I am dealing with. Many thanks |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
HI @nsearle97. I contributed this task. You can see an example of us using it in our ALM Accelerator here: I'll follow up with the rest of the team on the documentation plans. |
Beta Was this translation helpful? Give feedback.
-
Until we have better docs, you can review the output variables the task sets here: |
Beta Was this translation helpful? Give feedback.
-
This works great! For those who don't use yaml, know that the way to access is as follows. $(PowerPlatformSetConnectionVariables.BuildTools.TenantId) Reduced the need to create a Library to access Key Vault values. |
Beta Was this translation helpful? Give feedback.
-
Hi team, I am working on a script where i need to read Tenant Id. So i used PowerPlatformSetConnectionVariables task followed by PowerShell script with inline target script, where i am successfully able to read Tenant Id. But, when i try to use same script through file path (same script is copied to file in azure repo). am not able to read Tenant id value. Code Snippet:
Log: ` ` Any help? Thanks |
Beta Was this translation helpful? Give feedback.
HI @nsearle97. I contributed this task. You can see an example of us using it in our ALM Accelerator here:
https://github.com/microsoft/coe-alm-accelerator-templates/blob/433b3f314f83f57ebcf5c610962c4c5babef61eb/Pipelines/Templates/deploy-Solution.yml#L29
I'll follow up with the rest of the team on the documentation plans.