2024/08/23 13:13:50 main.go:56: azd version: 1.9.6 (commit 0b1a8ad350177078312141f4465ad72205d7c077) 2024/08/23 13:13:50 main.go:214: using cached latest version: 1.9.5 (expires on: 2024-08-23T08:25:48Z) 2024/08/23 13:13:50 project.go:120: Reading project from file '/Users/test/Documents/Projects/Test/repos/Test-API/azure.yaml' 2024/08/23 13:13:50 middleware.go:108: running middleware 'debug' 2024/08/23 13:13:50 middleware.go:108: running middleware 'ux' 2024/08/23 13:13:50 middleware.go:108: running middleware 'experimentation' 2024/08/23 13:13:50 experimentation.go:42: assignment context: 0g5ad841:76970; 2024/08/23 13:13:50 middleware.go:108: running middleware 'telemetry' 2024/08/23 13:13:50 telemetry.go:43: TraceID: 0086db05aaa4bff7741b8ad5cb0d1371 2024/08/23 13:13:50 project.go:120: Reading project from file '/Users/test/Documents/Projects/Test/repos/Test-API/azure.yaml' 2024/08/23 13:13:52 command_runner.go:307: Run exec: 'git -C /Users/test/Documents/Projects/Test/repos/Test-API rev-parse --show-toplevel' , exit code: 0 -------------------------------------stdout------------------------------------------- /Users/test/Documents/Projects/Test/repos/Test-API 2024/08/23 13:13:52 pipeline_manager.go:662: Loading project configuration from: /Users/test/Documents/Projects/Test/repos/Test-API/azure.yaml 2024/08/23 13:13:52 project.go:120: Reading project from file '/Users/test/Documents/Projects/Test/repos/Test-API/azure.yaml' 2024/08/23 13:13:52 pipeline_manager.go:667: Loaded project configuration: &{RequiredVersions: Name:Test-backend-v2 ResourceGroupName:{template:} Path:/Users/test/Documents/Projects/Test/repos/Test-API Metadata: Services:map[api:0x14000384900] Infra:{Provider:terraform Path:infra Module: IgnoreDeploymentState:false} Pipeline:{Provider:azdo Variables:[] Secrets:[]} Hooks:map[] State: Platform: Workflows:map[] Cloud: EventDispatcher:0x140004d7880} 2024/08/23 13:13:52 pipeline_manager.go:671: Provider set in project configuration: azdo 2024/08/23 13:13:52 project.go:120: Reading project from file '/Users/test/Documents/Projects/Test/repos/Test-API/azure.yaml' 2024/08/23 13:13:52 importer.go:141: using infrastructure from /Users/test/Documents/Projects/Test/repos/Test-API/infra directory 2024/08/23 13:13:52 command_runner.go:307: Run exec: 'git -C /Users/test/Documents/Projects/Test/repos/Test-API branch --show-current' , exit code: 0 -------------------------------------stdout------------------------------------------- main-dev-thanh 2024/08/23 13:13:52 pipeline_manager.go:828: Checking for provider files for: azdo 2024/08/23 13:13:52 pipeline_manager.go:840: Checking if directory .azdo/pipelines is empty 2024/08/23 13:13:52 pipeline_manager.go:863: Provider files are present for: azdo 2024/08/23 13:13:52 pipeline_manager.go:788: Using pipeline provider: Azure DevOps 2024/08/23 13:13:52 importer.go:141: using infrastructure from /Users/test/Documents/Projects/Test/repos/Test-API/infra directory 2024/08/23 13:13:52 command_runner.go:307: Run exec: 'terraform version -json' , exit code: 0 -------------------------------------stdout------------------------------------------- { "terraform_version": "1.6.6", "platform": "darwin_arm64", "provider_selections": {}, "terraform_outdated": true } 2024/08/23 13:13:52 terraform.go:59: terraform version: 1.6.6 Configure your Azure DevOps pipeline | | Checking current directory for Git repository2024/08/23 13:13:52 command_runner.go:307: Run exec: 'git -C /Users/test/Documents/Projects/Test/repos/Test-API remote get-url origin' , exit code: 0 -------------------------------------stdout------------------------------------------- https://Test@dev.azure.com/Test/Test/_git/Test-API 2024/08/23 13:13:52 command_runner.go:307: Run exec: 'git -C /Users/test/Documents/Projects/Test/repos/Test-API branch --show-current' , exit code: 0 -------------------------------------stdout------------------------------------------- main-dev-thanh (✓) Done: Checking current directory for Git repository 2024/08/23 13:13:53 main.go:50: Retry: =====> Try=1 2024/08/23 13:13:53 main.go:50: Request: ==> OUTGOING REQUEST (Try=1) GET https://graph.microsoft.com/v1.0/applications(appId='Test') Authorization: REDACTED User-Agent: azsdk-go-graph/1.0.0 (go1.21.0 X:loopvar; darwin),azdev/1.9.6 (Go go1.21.0 X:loopvar; darwin/arm64) X-Ms-Correlation-Request-Id: REDACTED 2024/08/23 13:13:54 main.go:50: Response: ==> REQUEST/RESPONSE (Try=1/717.039042ms, OpTime=717.068167ms) -- RESPONSE RECEIVED GET https://graph.microsoft.com/v1.0/applications(appId='Test') Authorization: REDACTED User-Agent: azsdk-go-graph/1.0.0 (go1.21.0 X:loopvar; darwin),azdev/1.9.6 (Go go1.21.0 X:loopvar; darwin/arm64) X-Ms-Correlation-Request-Id: REDACTED -------------------------------------------------------------------------------- RESPONSE Status: 400 Bad Request Cache-Control: no-cache Client-Request-Id: REDACTED Content-Type: application/json Date: Fri, 23 Aug 2024 06:13:54 GMT Request-Id: d7860689-7e2d-4e48-95da-3b6f0d397e02 Strict-Transport-Security: REDACTED Vary: REDACTED X-Ms-Ags-Diagnostic: REDACTED X-Ms-Resource-Unit: REDACTED 2024/08/23 13:13:54 main.go:50: Retry: response 400 2024/08/23 13:13:54 main.go:50: Retry: exit due to non-retriable status code 2024/08/23 13:13:54 main.go:50: ResponseError: GET https://graph.microsoft.com/v1.0/applications(appId='Test') -------------------------------------------------------------------------------- RESPONSE 400: 400 Bad Request ERROR CODE: Request_UnsupportedQuery -------------------------------------------------------------------------------- { "error": { "code": "Request_UnsupportedQuery", "message": "Unsupported or invalid query filter clause specified for property 'appId' of resource 'Application'.", "innerError": { "date": "2024-08-23T06:13:54", "request-id": "d7860689-7e2d-4e48-95da-3b6f0d397e02", "client-request-id": "d7860689-7e2d-4e48-95da-3b6f0d397e02" } } } -------------------------------------------------------------------------------- 2024/08/23 13:13:54 main.go:50: Retry: =====> Try=1 2024/08/23 13:13:54 main.go:50: Request: ==> OUTGOING REQUEST (Try=1) GET https://graph.microsoft.com/v1.0/applications?%24filter=REDACTED Authorization: REDACTED User-Agent: azsdk-go-graph/1.0.0 (go1.21.0 X:loopvar; darwin),azdev/1.9.6 (Go go1.21.0 X:loopvar; darwin/arm64) X-Ms-Correlation-Request-Id: REDACTED 2024/08/23 13:13:54 main.go:50: Response: ==> REQUEST/RESPONSE (Try=1/416.631167ms, OpTime=416.658375ms) -- RESPONSE RECEIVED GET https://graph.microsoft.com/v1.0/applications?%24filter=REDACTED Authorization: REDACTED User-Agent: azsdk-go-graph/1.0.0 (go1.21.0 X:loopvar; darwin),azdev/1.9.6 (Go go1.21.0 X:loopvar; darwin/arm64) X-Ms-Correlation-Request-Id: REDACTED -------------------------------------------------------------------------------- RESPONSE Status: 200 OK Cache-Control: no-cache Client-Request-Id: REDACTED Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 Date: Fri, 23 Aug 2024 06:13:54 GMT Odata-Version: REDACTED Request-Id: 16e4a41c-fbdd-46cc-9a49-49e1a3cd8a7b Strict-Transport-Security: REDACTED Vary: REDACTED X-Ms-Ags-Diagnostic: REDACTED X-Ms-Resource-Unit: REDACTED 2024/08/23 13:13:54 main.go:50: Retry: response 200 2024/08/23 13:13:54 main.go:50: Retry: exit due to non-retriable status code 2024/08/23 13:13:54 main.go:50: Retry: =====> Try=1 2024/08/23 13:13:54 main.go:50: Request: ==> OUTGOING REQUEST (Try=1) GET https://graph.microsoft.com/v1.0/servicePrincipals?%24filter=REDACTED Authorization: REDACTED User-Agent: azsdk-go-graph/1.0.0 (go1.21.0 X:loopvar; darwin),azdev/1.9.6 (Go go1.21.0 X:loopvar; darwin/arm64) X-Ms-Correlation-Request-Id: REDACTED 2024/08/23 13:13:55 main.go:50: Response: ==> REQUEST/RESPONSE (Try=1/480.824042ms, OpTime=480.856042ms) -- RESPONSE RECEIVED GET https://graph.microsoft.com/v1.0/servicePrincipals?%24filter=REDACTED Authorization: REDACTED User-Agent: azsdk-go-graph/1.0.0 (go1.21.0 X:loopvar; darwin),azdev/1.9.6 (Go go1.21.0 X:loopvar; darwin/arm64) X-Ms-Correlation-Request-Id: REDACTED -------------------------------------------------------------------------------- RESPONSE Status: 200 OK Cache-Control: no-cache Client-Request-Id: REDACTED Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 Date: Fri, 23 Aug 2024 06:13:54 GMT Odata-Version: REDACTED Request-Id: f2a11aac-02b9-414d-ba9f-055da02d378a Strict-Transport-Security: REDACTED Vary: REDACTED X-Ms-Ags-Diagnostic: REDACTED X-Ms-Resource-Unit: REDACTED 2024/08/23 13:13:55 main.go:50: Retry: response 200 2024/08/23 13:13:55 main.go:50: Retry: exit due to non-retriable status code 2024/08/23 13:13:55 main.go:50: Retry: =====> Try=1 2024/08/23 13:13:55 main.go:50: Request: ==> OUTGOING REQUEST (Try=1) GET https://graph.microsoft.com/v1.0/applications(appId='3472af72-bb36-483d-81a1-b16ccbefbce7') Authorization: REDACTED User-Agent: azsdk-go-graph/1.0.0 (go1.21.0 X:loopvar; darwin),azdev/1.9.6 (Go go1.21.0 X:loopvar; darwin/arm64) X-Ms-Correlation-Request-Id: REDACTED |= | Updating service principal Test (3472af72-bb36-483d-81a1-b16ccbefbce7)2024/08/23 13:13:55 main.go:50: Response: ==> REQUEST/RESPONSE (Try=1/375.40875ms, OpTime=375.426875ms) -- RESPONSE RECEIVED GET https://graph.microsoft.com/v1.0/applications(appId='3472af72-bb36-483d-81a1-b16ccbefbce7') Authorization: REDACTED User-Agent: azsdk-go-graph/1.0.0 (go1.21.0 X:loopvar; darwin),azdev/1.9.6 (Go go1.21.0 X:loopvar; darwin/arm64) X-Ms-Correlation-Request-Id: REDACTED -------------------------------------------------------------------------------- RESPONSE Status: 200 OK Cache-Control: no-cache Client-Request-Id: REDACTED Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 Date: Fri, 23 Aug 2024 06:13:55 GMT Odata-Version: REDACTED Request-Id: df3ece0d-719b-40f2-b7f1-a45cf80fdc12 Strict-Transport-Security: REDACTED Vary: REDACTED X-Ms-Ags-Diagnostic: REDACTED X-Ms-Resource-Unit: REDACTED 2024/08/23 13:13:55 main.go:50: Retry: response 200 2024/08/23 13:13:55 main.go:50: Retry: exit due to non-retriable status code 2024/08/23 13:13:55 main.go:50: Retry: =====> Try=1 2024/08/23 13:13:55 main.go:50: Request: ==> OUTGOING REQUEST (Try=1) GET https://graph.microsoft.com/v1.0/servicePrincipals?%24filter=REDACTED Authorization: REDACTED User-Agent: azsdk-go-graph/1.0.0 (go1.21.0 X:loopvar; darwin),azdev/1.9.6 (Go go1.21.0 X:loopvar; darwin/arm64) X-Ms-Correlation-Request-Id: REDACTED |=== | Updating service principal Test (3472af72-bb36-483d-81a1-b16ccbefbce7)2024/08/23 13:13:56 main.go:50: Response: ==> REQUEST/RESPONSE (Try=1/380.196458ms, OpTime=380.240625ms) -- RESPONSE RECEIVED GET https://graph.microsoft.com/v1.0/servicePrincipals?%24filter=REDACTED Authorization: REDACTED User-Agent: azsdk-go-graph/1.0.0 (go1.21.0 X:loopvar; darwin),azdev/1.9.6 (Go go1.21.0 X:loopvar; darwin/arm64) X-Ms-Correlation-Request-Id: REDACTED -------------------------------------------------------------------------------- RESPONSE Status: 200 OK Cache-Control: no-cache Client-Request-Id: REDACTED Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 Date: Fri, 23 Aug 2024 06:13:55 GMT Odata-Version: REDACTED Request-Id: c37b3b1a-0a96-4ebf-a5c8-6a3c9428bf44 Strict-Transport-Security: REDACTED Vary: REDACTED X-Ms-Ags-Diagnostic: REDACTED X-Ms-Resource-Unit: REDACTED 2024/08/23 13:13:56 main.go:50: Retry: response 200 2024/08/23 13:13:56 main.go:50: Retry: exit due to non-retriable status code 2024/08/23 13:13:56 main.go:50: Retry: =====> Try=1 |===== | Updating service principal Test (3472af72-bb36-483d-81a1-b16ccbefbce7)2024/08/23 13:13:56 main.go:50: Request: ==> OUTGOING REQUEST (Try=1) GET https://management.azure.com/subscriptions/3472af72-bb36-4dfc-89c4-6b9141de7e65/providers/Microsoft.Authorization/roleDefinitions?%24filter=REDACTED&api-version=2015-07-01 Accept: application/json Authorization: REDACTED User-Agent: azsdk-go-armauthorization/v1.0.0 (go1.21.0 X:loopvar; darwin),azdev/1.9.6 (Go go1.21.0 X:loopvar; darwin/arm64) X-Ms-Correlation-Request-Id: 0086db05aaa4bff7741b8ad5cb0d1371 | =====| Updating service principal Test (3472af72-bb36-483d-81a1-b16ccbefbce7)2024/08/23 13:13:57 main.go:50: Response: ==> REQUEST/RESPONSE (Try=1/827.058ms, OpTime=827.157375ms) -- RESPONSE RECEIVED GET https://management.azure.com/subscriptions/3472af72-bb36-4dfc-89c4-6b9141de7e65/providers/Microsoft.Authorization/roleDefinitions?%24filter=REDACTED&api-version=2015-07-01 Accept: application/json Authorization: REDACTED User-Agent: azsdk-go-armauthorization/v1.0.0 (go1.21.0 X:loopvar; darwin),azdev/1.9.6 (Go go1.21.0 X:loopvar; darwin/arm64) X-Ms-Correlation-Request-Id: 0086db05aaa4bff7741b8ad5cb0d1371 -------------------------------------------------------------------------------- RESPONSE Status: 200 OK Cache-Control: no-cache Content-Length: 1082 Content-Type: application/json; charset=utf-8 Date: Fri, 23 Aug 2024 06:13:56 GMT Expires: -1 Pragma: no-cache Set-Cookie: REDACTED Strict-Transport-Security: REDACTED X-Cache: REDACTED X-Content-Type-Options: REDACTED X-Ms-Correlation-Request-Id: 0086db05aaa4bff7741b8ad5cb0d1371 X-Ms-Ratelimit-Remaining-Subscription-Global-Reads: REDACTED X-Ms-Ratelimit-Remaining-Subscription-Reads: REDACTED X-Ms-Request-Id: 463e321b-1354-4c4f-9ece-45ab11ec0e3d X-Ms-Routing-Request-Id: REDACTED X-Msedge-Ref: REDACTED 2024/08/23 13:13:57 main.go:50: Retry: response 200 2024/08/23 13:13:57 main.go:50: Retry: exit due to non-retriable status code 2024/08/23 13:13:57 main.go:50: Retry: =====> Try=1 2024/08/23 13:13:57 main.go:50: Request: ==> OUTGOING REQUEST (Try=1) PUT https://management.azure.com/subscriptions/3472af72-bb36-4dfc-89c4-6b9141de7e65/providers/Microsoft.Authorization/roleAssignments/fc1dee2f-7461-42cb-bca7-157f064c7ed8?api-version=2015-07-01 Accept: application/json Authorization: REDACTED Content-Length: 229 Content-Type: application/json User-Agent: azsdk-go-armauthorization/v1.0.0 (go1.21.0 X:loopvar; darwin),azdev/1.9.6 (Go go1.21.0 X:loopvar; darwin/arm64) X-Ms-Correlation-Request-Id: 0086db05aaa4bff7741b8ad5cb0d1371 |=== | Updating service principal Test (3472af72-bb36-483d-81a1-b16ccbefbce7)2024/08/23 13:13:58 main.go:50: Response: ==> REQUEST/RESPONSE (Try=1/1.534123958s, OpTime=1.5341685s) -- RESPONSE RECEIVED PUT https://management.azure.com/subscriptions/3472af72-bb36-4dfc-89c4-6b9141de7e65/providers/Microsoft.Authorization/roleAssignments/fc1dee2f-7461-42cb-bca7-157f064c7ed8?api-version=2015-07-01 Accept: application/json Authorization: REDACTED Content-Length: 229 Content-Type: application/json User-Agent: azsdk-go-armauthorization/v1.0.0 (go1.21.0 X:loopvar; darwin),azdev/1.9.6 (Go go1.21.0 X:loopvar; darwin/arm64) X-Ms-Correlation-Request-Id: 0086db05aaa4bff7741b8ad5cb0d1371 -------------------------------------------------------------------------------- RESPONSE Status: 409 Conflict Cache-Control: no-cache Content-Length: 89 Content-Type: application/json; charset=utf-8 Date: Fri, 23 Aug 2024 06:13:58 GMT Expires: -1 Pragma: no-cache Set-Cookie: REDACTED Strict-Transport-Security: REDACTED X-Cache: REDACTED X-Content-Type-Options: REDACTED X-Ms-Correlation-Request-Id: 0086db05aaa4bff7741b8ad5cb0d1371 X-Ms-Ratelimit-Remaining-Subscription-Global-Writes: REDACTED X-Ms-Ratelimit-Remaining-Subscription-Writes: REDACTED X-Ms-Request-Id: 31bedbee-4aa2-48c8-be16-216c0c4f796b X-Ms-Routing-Request-Id: REDACTED X-Msedge-Ref: REDACTED 2024/08/23 13:13:58 main.go:50: Retry: response 409 2024/08/23 13:13:58 main.go:50: Retry: exit due to non-retriable status code 2024/08/23 13:13:58 main.go:50: ResponseError: PUT https://management.azure.com/subscriptions/3472af72-bb36-4dfc-89c4-6b9141de7e65/providers/Microsoft.Authorization/roleAssignments/fc1dee2f-7461-42cb-bca7-157f064c7ed8 -------------------------------------------------------------------------------- RESPONSE 409: 409 Conflict ERROR CODE: RoleAssignmentExists -------------------------------------------------------------------------------- { "error": { "code": "RoleAssignmentExists", "message": "The role assignment already exists." } } -------------------------------------------------------------------------------- 2024/08/23 13:13:58 main.go:50: Retry: =====> Try=1 2024/08/23 13:13:58 main.go:50: Request: ==> OUTGOING REQUEST (Try=1) GET https://management.azure.com/subscriptions/3472af72-bb36-4dfc-89c4-6b9141de7e65/providers/Microsoft.Authorization/roleDefinitions?%24filter=REDACTED&api-version=2015-07-01 Accept: application/json Authorization: REDACTED User-Agent: azsdk-go-armauthorization/v1.0.0 (go1.21.0 X:loopvar; darwin),azdev/1.9.6 (Go go1.21.0 X:loopvar; darwin/arm64) X-Ms-Correlation-Request-Id: 0086db05aaa4bff7741b8ad5cb0d1371 |==== | Updating service principal Test (3472af72-bb36-483d-81a1-b16ccbefbce7)2024/08/23 13:13:59 main.go:50: Response: ==> REQUEST/RESPONSE (Try=1/222.780792ms, OpTime=222.800792ms) -- RESPONSE RECEIVED GET https://management.azure.com/subscriptions/3472af72-bb36-4dfc-89c4-6b9141de7e65/providers/Microsoft.Authorization/roleDefinitions?%24filter=REDACTED&api-version=2015-07-01 Accept: application/json Authorization: REDACTED User-Agent: azsdk-go-armauthorization/v1.0.0 (go1.21.0 X:loopvar; darwin),azdev/1.9.6 (Go go1.21.0 X:loopvar; darwin/arm64) X-Ms-Correlation-Request-Id: 0086db05aaa4bff7741b8ad5cb0d1371 -------------------------------------------------------------------------------- RESPONSE Status: 200 OK Cache-Control: no-cache Content-Length: 643 Content-Type: application/json; charset=utf-8 Date: Fri, 23 Aug 2024 06:13:58 GMT Expires: -1 Pragma: no-cache Set-Cookie: REDACTED Strict-Transport-Security: REDACTED X-Cache: REDACTED X-Content-Type-Options: REDACTED X-Ms-Correlation-Request-Id: 0086db05aaa4bff7741b8ad5cb0d1371 X-Ms-Ratelimit-Remaining-Subscription-Global-Reads: REDACTED X-Ms-Ratelimit-Remaining-Subscription-Reads: REDACTED X-Ms-Request-Id: d7211a33-340e-4181-b9a2-f435a4295dbc X-Ms-Routing-Request-Id: REDACTED X-Msedge-Ref: REDACTED 2024/08/23 13:13:59 main.go:50: Retry: response 200 2024/08/23 13:13:59 main.go:50: Retry: exit due to non-retriable status code 2024/08/23 13:13:59 main.go:50: Retry: =====> Try=1 2024/08/23 13:13:59 main.go:50: Request: ==> OUTGOING REQUEST (Try=1) PUT https://management.azure.com/subscriptions/3472af72-bb36-4dfc-89c4-6b9141de7e65/providers/Microsoft.Authorization/roleAssignments/c5aa4ccf-edb0-4c30-b667-c71075457f84?api-version=2015-07-01 Accept: application/json Authorization: REDACTED Content-Length: 229 Content-Type: application/json User-Agent: azsdk-go-armauthorization/v1.0.0 (go1.21.0 X:loopvar; darwin),azdev/1.9.6 (Go go1.21.0 X:loopvar; darwin/arm64) X-Ms-Correlation-Request-Id: 0086db05aaa4bff7741b8ad5cb0d1371 | =| Updating service principal Test (3472af72-bb36-483d-81a1-b16ccbefbce7)2024/08/23 13:14:00 main.go:50: Response: ==> REQUEST/RESPONSE (Try=1/1.852612958s, OpTime=1.852632708s) -- RESPONSE RECEIVED PUT https://management.azure.com/subscriptions/3472af72-bb36-4dfc-89c4-6b9141de7e65/providers/Microsoft.Authorization/roleAssignments/c5aa4ccf-edb0-4c30-b667-c71075457f84?api-version=2015-07-01 Accept: application/json Authorization: REDACTED Content-Length: 229 Content-Type: application/json User-Agent: azsdk-go-armauthorization/v1.0.0 (go1.21.0 X:loopvar; darwin),azdev/1.9.6 (Go go1.21.0 X:loopvar; darwin/arm64) X-Ms-Correlation-Request-Id: 0086db05aaa4bff7741b8ad5cb0d1371 -------------------------------------------------------------------------------- RESPONSE Status: 409 Conflict Cache-Control: no-cache Content-Length: 89 Content-Type: application/json; charset=utf-8 Date: Fri, 23 Aug 2024 06:14:00 GMT Expires: -1 Pragma: no-cache Set-Cookie: REDACTED Strict-Transport-Security: REDACTED X-Cache: REDACTED X-Content-Type-Options: REDACTED X-Ms-Correlation-Request-Id: 0086db05aaa4bff7741b8ad5cb0d1371 X-Ms-Ratelimit-Remaining-Subscription-Global-Writes: REDACTED X-Ms-Ratelimit-Remaining-Subscription-Writes: REDACTED X-Ms-Request-Id: 93233ec0-37cc-4b1b-aa9f-01821c4c08b8 X-Ms-Routing-Request-Id: REDACTED X-Msedge-Ref: REDACTED 2024/08/23 13:14:00 main.go:50: Retry: response 409 2024/08/23 13:14:00 main.go:50: Retry: exit due to non-retriable status code 2024/08/23 13:14:00 main.go:50: ResponseError: PUT https://management.azure.com/subscriptions/3472af72-bb36-4dfc-89c4-6b9141de7e65/providers/Microsoft.Authorization/roleAssignments/c5aa4ccf-edb0-4c30-b667-c71075457f84 -------------------------------------------------------------------------------- RESPONSE 409: 409 Conflict ERROR CODE: RoleAssignmentExists -------------------------------------------------------------------------------- { "error": { "code": "RoleAssignmentExists", "message": "The role assignment already exists." } } -------------------------------------------------------------------------------- (✓) Done: Updating service principal Test (3472af72-bb36-483d-81a1-b16ccbefbce7) | | Configuring client credentials for service principal2024/08/23 13:14:00 main.go:50: Retry: =====> Try=1 2024/08/23 13:14:00 main.go:50: Request: ==> OUTGOING REQUEST (Try=1) GET https://graph.microsoft.com/v1.0/applications(appId='3472af72-bb36-483d-81a1-b16ccbefbce7') Authorization: REDACTED User-Agent: azsdk-go-graph/1.0.0 (go1.21.0 X:loopvar; darwin),azdev/1.9.6 (Go go1.21.0 X:loopvar; darwin/arm64) X-Ms-Correlation-Request-Id: REDACTED |= | Configuring client credentials for service principal2024/08/23 13:14:01 main.go:50: Response: ==> REQUEST/RESPONSE (Try=1/375.799458ms, OpTime=375.825333ms) -- RESPONSE RECEIVED GET https://graph.microsoft.com/v1.0/applications(appId='3472af72-bb36-483d-81a1-b16ccbefbce7') Authorization: REDACTED User-Agent: azsdk-go-graph/1.0.0 (go1.21.0 X:loopvar; darwin),azdev/1.9.6 (Go go1.21.0 X:loopvar; darwin/arm64) X-Ms-Correlation-Request-Id: REDACTED -------------------------------------------------------------------------------- RESPONSE Status: 200 OK Cache-Control: no-cache Client-Request-Id: REDACTED Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 Date: Fri, 23 Aug 2024 06:14:00 GMT Odata-Version: REDACTED Request-Id: a949a4f3-212b-4121-9dfd-bf4af91cba67 Strict-Transport-Security: REDACTED Vary: REDACTED X-Ms-Ags-Diagnostic: REDACTED X-Ms-Resource-Unit: REDACTED 2024/08/23 13:14:01 main.go:50: Retry: response 200 2024/08/23 13:14:01 main.go:50: Retry: exit due to non-retriable status code 2024/08/23 13:14:01 main.go:50: Retry: =====> Try=1 2024/08/23 13:14:01 main.go:50: Request: ==> OUTGOING REQUEST (Try=1) GET https://graph.microsoft.com/v1.0/servicePrincipals?%24filter=REDACTED Authorization: REDACTED User-Agent: azsdk-go-graph/1.0.0 (go1.21.0 X:loopvar; darwin),azdev/1.9.6 (Go go1.21.0 X:loopvar; darwin/arm64) X-Ms-Correlation-Request-Id: REDACTED |=== | Configuring client credentials for service principal2024/08/23 13:14:01 main.go:50: Response: ==> REQUEST/RESPONSE (Try=1/375.864459ms, OpTime=375.878042ms) -- RESPONSE RECEIVED GET https://graph.microsoft.com/v1.0/servicePrincipals?%24filter=REDACTED Authorization: REDACTED User-Agent: azsdk-go-graph/1.0.0 (go1.21.0 X:loopvar; darwin),azdev/1.9.6 (Go go1.21.0 X:loopvar; darwin/arm64) X-Ms-Correlation-Request-Id: REDACTED -------------------------------------------------------------------------------- RESPONSE Status: 200 OK Cache-Control: no-cache Client-Request-Id: REDACTED Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 Date: Fri, 23 Aug 2024 06:14:01 GMT Odata-Version: REDACTED Request-Id: 23d963a4-646f-4d1f-8cc9-aa69b557b1d7 Strict-Transport-Security: REDACTED Vary: REDACTED X-Ms-Ags-Diagnostic: REDACTED X-Ms-Resource-Unit: REDACTED 2024/08/23 13:14:01 main.go:50: Retry: response 200 2024/08/23 13:14:01 main.go:50: Retry: exit due to non-retriable status code 2024/08/23 13:14:01 main.go:50: Retry: =====> Try=1 2024/08/23 13:14:01 main.go:50: Request: ==> OUTGOING REQUEST (Try=1) POST https://graph.microsoft.com/v1.0/applications/f5fd0fc3-799c-4a36-bcc6-3d92cfd59dd9/removePassword Authorization: REDACTED Content-Type: application/json User-Agent: azsdk-go-graph/1.0.0 (go1.21.0 X:loopvar; darwin),azdev/1.9.6 (Go go1.21.0 X:loopvar; darwin/arm64) X-Ms-Correlation-Request-Id: REDACTED | ===| Configuring client credentials for service principal2024/08/23 13:14:08 main.go:50: Response: ==> REQUEST/RESPONSE (Try=1/7.262918792s, OpTime=7.262961125s) -- RESPONSE RECEIVED POST https://graph.microsoft.com/v1.0/applications/f5fd0fc3-799c-4a36-bcc6-3d92cfd59dd9/removePassword Authorization: REDACTED Content-Type: application/json User-Agent: azsdk-go-graph/1.0.0 (go1.21.0 X:loopvar; darwin),azdev/1.9.6 (Go go1.21.0 X:loopvar; darwin/arm64) X-Ms-Correlation-Request-Id: REDACTED -------------------------------------------------------------------------------- RESPONSE Status: 204 No Content Cache-Control: no-cache Client-Request-Id: REDACTED Date: Fri, 23 Aug 2024 06:14:08 GMT Request-Id: 43e75e55-6a95-4ad5-a09d-715d0a31c6b2 Strict-Transport-Security: REDACTED X-Ms-Ags-Diagnostic: REDACTED X-Ms-Resource-Unit: REDACTED 2024/08/23 13:14:08 main.go:50: Retry: response 204 2024/08/23 13:14:08 main.go:50: Retry: exit due to non-retriable status code 2024/08/23 13:14:08 main.go:50: Retry: =====> Try=1 2024/08/23 13:14:08 main.go:50: Request: ==> OUTGOING REQUEST (Try=1) POST https://graph.microsoft.com/v1.0/applications/f5fd0fc3-799c-4a36-bcc6-3d92cfd59dd9/addPassword Authorization: REDACTED Content-Type: application/json User-Agent: azsdk-go-graph/1.0.0 (go1.21.0 X:loopvar; darwin),azdev/1.9.6 (Go go1.21.0 X:loopvar; darwin/arm64) X-Ms-Correlation-Request-Id: REDACTED | ======| Configuring client credentials for service principal2024/08/23 13:14:13 main.go:50: Response: ==> REQUEST/RESPONSE (Try=1/5.007014583s, OpTime=5.007320292s) -- RESPONSE RECEIVED POST https://graph.microsoft.com/v1.0/applications/f5fd0fc3-799c-4a36-bcc6-3d92cfd59dd9/addPassword Authorization: REDACTED Content-Type: application/json User-Agent: azsdk-go-graph/1.0.0 (go1.21.0 X:loopvar; darwin),azdev/1.9.6 (Go go1.21.0 X:loopvar; darwin/arm64) X-Ms-Correlation-Request-Id: REDACTED -------------------------------------------------------------------------------- RESPONSE Status: 200 OK Cache-Control: no-cache Client-Request-Id: REDACTED Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 Date: Fri, 23 Aug 2024 06:14:13 GMT Location: REDACTED Odata-Version: REDACTED Request-Id: b7e2b97e-e44c-406e-8bd6-3d6ed54c664f Strict-Transport-Security: REDACTED Vary: REDACTED X-Ms-Ags-Diagnostic: REDACTED X-Ms-Resource-Unit: REDACTED 2024/08/23 13:14:13 main.go:50: Retry: response 200 2024/08/23 13:14:13 main.go:50: Retry: exit due to non-retriable status code (✓) Done: Configuring client credentials for service principal ERROR: Request returned status: 401 Unauthorized