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
This happens when running terraform commands accessing the state file like [import](#import-into-terraform-state-file), `state list` or `force-unlock`.
30
30
31
-
```
31
+
```shell
32
32
Failed to load state: blobs.Client#Get: Failure responding to request: StatusCode=403 -- Original Error: autorest/azure: Service returned an error. Status=403 Code="KeyBasedAuthenticationNotPermitted" Message="Key based authentication is not permitted on this storage account.
@@ -60,7 +60,7 @@ The managed identity does not exist or Github secrets are not set correctly
60
60
61
61
Example:
62
62
63
-
```
63
+
```shell
64
64
Running Azure CLI Login.
65
65
...
66
66
Attempting Azure CLI login by using OIDC...
@@ -76,7 +76,7 @@ Federated credentials are not configured.
76
76
77
77
Example:
78
78
79
-
```
79
+
```shell
80
80
Running Azure CLI Login.
81
81
...
82
82
Attempting Azure CLI login by using OIDC...
@@ -89,21 +89,21 @@ Give the managed identity Reader role on a subscription (normally Devops)
89
89
90
90
Examples:
91
91
92
-
```
92
+
```shell
93
93
ERROR: TF401444: Please sign-in at least once as ***\***\xxx in a web browser to enable access to the service.
94
94
Error: Process completed with exit code 1.
95
95
```
96
96
97
97
Or
98
98
99
-
```
99
+
```shell
100
100
ERROR: TF400813: The user 'xxx' is not authorized to access this resource.
101
101
Error: Process completed with exit code 1.
102
102
```
103
103
104
104
Or
105
105
106
-
```
106
+
```shell
107
107
ERROR: VS800075: The project with id 'vstfs:///Classification/TeamProject/' does not exist, or you do not have permission to access it.
108
108
Error: Process completed with exit code 1.
109
109
```
@@ -120,7 +120,7 @@ The ADO group must have the "View project-level information" permission.
120
120
121
121
Example:
122
122
123
-
```
123
+
```shell
124
124
The pipeline is not valid. Job DeployApp: Step input azureSubscription references service connection lungrc-review which could not be found. The service connection does not exist, has been disabled or has not been authorized for use. For authorization details, refer to https://aka.ms/yamlauthz. Job DeployApp: Step input azureSubscription references service connection lungrc-review which could not be found. The service connection does not exist, has been disabled or has not been authorized for use. For authorization details, refer to https://aka.ms/yamlauthz.
125
125
```
126
126
@@ -132,7 +132,7 @@ The Azure service connection lungrc-[environment] is missing
132
132
133
133
Example:
134
134
135
-
```
135
+
```shell
136
136
ERROR: {"status":"Failed","error":{"code":"DeploymentFailed","target":"/subscriptions/xxx/providers/Microsoft.Resources/deployments/main","message":"At least one reson failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"RoleAssignmentUpdateNotPermitted","message":"Tenprincipal ID, and scope are not allowed to be updated."},{"code":"RoleAssignmentUpdateNotPermitted","message":"Tenant ID, application ID, principal ID, and scope are not allowed to be updated."},{"cteNotPermitted","message":"Tenant ID, application ID, principal ID, and scope are not allowed to be updated."}]}}
137
137
```
138
138
@@ -146,7 +146,7 @@ If you can't find the right scope, follow this process:
@@ -160,15 +160,15 @@ If you can't find the right scope, follow this process:
160
160
161
161
Example:
162
162
163
-
```
163
+
```shell
164
164
ERROR: {"status":"Failed","error":{"code":"DeploymentFailed","target":"/subscriptions/exxx/providers/Microsoft.Resources/deployments/main","message":"At least one reson failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"PrincipalNotFound","message":"Principal xxx does not exist in the directory xxx. Check that you have the correct principal ID. If you are creating this principal and then immediately assigning a role, this era replication delay. In this case, set the role assignment principalType property to a value, such as ServicePrincipal, User, or Group. See https://aka.ms/docs-principaltype"}...
165
165
```
166
166
167
167
Race condition: the managed identity is not created in time for the resources that depend on it. Solution: rerun the command.
168
168
169
169
### The client does not have permission
170
170
171
-
```
171
+
```shell
172
172
{"code": "InvalidTemplateDeployment", "message": "Deployment failed with multiple errors: 'Authorization failed for template resource 'xxx' of type'Microsoft.Authorization/roleAssignments'. The client 'xxx' with object id 'xxx' does not have permission to perform action 'Microsoft.Authorization/roleAssignments/write' at scope '/subscriptions/xxx/providers/Microsoft.Authorization/roleAssignments/xxx'...
173
173
```
174
174
@@ -205,13 +205,13 @@ When initially creating the terraform; the pipeline will try to create a state f
205
205
206
206
Example:
207
207
208
-
```
208
+
```shell
209
209
Failed to get existing workspaces: containers.Client#ListBlobs: Failure sending request: StatusCode=0 -- Original Error: Get "https://salungrcpreprodtfstate.blob.core.windows.net/terraform-state?comp=list&prefix=preprod.tfstateenv%3A&restype=container": dial tcp: lookup salungrcpreprodtfstate.blob.core.windows.net on *.*.*.*:53: no such host
210
210
```
211
211
212
212
You can check to see if the blobstorage is accessible via logging into the VDI machine and trying to do an nslookup on the blob storage account: -
0 commit comments