Failure running Build-ScopeTableForDeploymentRootScope.ps1: #603
KennethBess
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I get the below error when the pipeline is running the Plan Prod:
===================================================================================================
Get scope tree for EPAC environment 'prod' at root scope /managementGroups/EMEA.prod
Write-Error: /home/vsts/.local/share/powershell/Modules/EnterprisePolicyAsCode/10.2.0/internal/functions/Build-ScopeTableForDeploymentRootScope.ps1:39
Line |
39 | $resourceGroups = Search-AzGraphAllItems `
| ~~~~~~~~~~~~~~~~~~~~~~~~
| Search-AzGraph REST error for '' 403 -- { "error": { "code":
| "AccessDenied", "message": "Please provide below info when asking
| for support: timestamp = 2024-05-01T15:41:35.9464438Z, correlationId =
| 25135f3c-eb53-4b7e-8018-0b151ac1c954.", "details": [ {
| "code": "AccessDenied", "message": "Access is denied to the
| requested resource. The user might not have enough permission." }
| ] } }
##[error]PowerShell exited with code '1'.
Any idea what this can be?
Beta Was this translation helpful? Give feedback.
All reactions