JulianHayward / Azure-MG-Sub-Governance-Reporting

Azure Governance Visualizer aka AzGovViz is a PowerShell script that captures Azure Governance related information such as Azure Policy, RBAC (a lot more) by polling Azure ARM, Storage and Microsoft Graph APIs.
MIT License
857 stars 308 forks source link

Login failed with Powershell when using OIDC. error: "Unexpected token R in JSON at position 0" #237

Closed PieterbasNagengast closed 5 months ago

PieterbasNagengast commented 5 months ago

AzGovViz version v6.4.5

CodeRunPlatform GitHub Actions - Azure/Login

Describe the bug When using OIDC with GitHub Action the login fails with: "Unexpected token R in JSON at position 0".

Screenshots image

Additional context Please update the Github actions to use Azure/Loginv2 instead of v1. Ref1: https://github.com/Azure/login/issues/447 Ref2: https://github.com/Azure/login/issues/447#issuecomment-2128494445

JulianHayward commented 5 months ago

@PieterbasNagengast thanks, will be updated with the upcoming release.

JulianHayward commented 5 months ago

dito