Closed GitHubJedi closed 1 year ago
the power bi extension runs using PowerShell 3, per the Azure DevOps Team there is no support for newer PowerShell versions in the azure pipelines agent so the extension can't run on PowerShell 7 today.
as you mentioned you can install the required libraries and use the PowerShell code from this repo.
why PowerShell 3? isn't this an ancient PowerShell at this point? why develop a new extension in such an old PowerShell version especially with Azure...?
I guess when I look at Powershell Tasks in Azure Devops, there is an option to run as "Powershell Core"...wouldn't this mean Powershell 7 is supported in ADO...?
I tracked down the commit in Azure Pipelines that adds support for Powershell Core (7), so not sure your statement about no support is correct:
thanks for the response
Here are a few assumptions I'm making
"execution": { "PowerShell3": { "target": "Run.ps1" } }
Even with setting the proxy ADO env vars, we receive this error when running the Add-Users task group (other Power BI extension tasks do this as well):
We would like to continue to be able to set the environment variable proxy within an ADO release, instead of setting this on the Azure DevOps VM server wide so the proxy can be set only as needed. Is there a way we can force this extension to run as Powershell Core/7, or another setting to allow Powershell 3 to pickup a proxy? Thanks.