You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The generated github workflow files still use the azure/login@v1 module. This in combination with the Az.Accounts/3.0.0 module leads to an OIDC authentication error, as discussed here: Azure/login#447
Expected Behavior
Successful deployment of ALZ
Current Behavior
All workflows break in the OIDC auth phase:
Error: Login failed with SyntaxError: Unexpected token R in JSON at position 0. Double check if the 'auth-type' is correct. Refer to https://github.com/Azure/login#readme for more information.
Possible Solution
Change version of azure/login@v1 to azure/login@v2 for generated workflow files.
Steps to Reproduce
Generate bicep landing zone files using the ALZ module
Push to GitHub
Workflows get triggered automatically and fail during OIDC login stage
Context (Environment)
Operating System and version as reported by $PSVersionTable.OS: Windows 11 Enterprise, 10.0.22631 Build 22631
PowerShell versions as reported by $PSVersionTable.PSEdition: 7.4.2
Detailed Description
GitHub action workflows fail when authenticating, related to compatibility issues of "azure/login@v1" and "Az.Accounts/3.0.0".
More details here: Azure/login#447
The text was updated successfully, but these errors were encountered:
The generated github workflow files still use the azure/login@v1 module. This in combination with the Az.Accounts/3.0.0 module leads to an OIDC authentication error, as discussed here: Azure/login#447
Expected Behavior
Successful deployment of ALZ
Current Behavior
All workflows break in the OIDC auth phase:
Error: Login failed with SyntaxError: Unexpected token R in JSON at position 0. Double check if the 'auth-type' is correct. Refer to https://github.com/Azure/login#readme for more information.
Possible Solution
Change version of azure/login@v1 to azure/login@v2 for generated workflow files.
Steps to Reproduce
Context (Environment)
$PSVersionTable.OS
: Windows 11 Enterprise, 10.0.22631 Build 22631$PSVersionTable.PSEdition
: 7.4.2Detailed Description
GitHub action workflows fail when authenticating, related to compatibility issues of "azure/login@v1" and "Az.Accounts/3.0.0".
More details here: Azure/login#447
The text was updated successfully, but these errors were encountered: