Azure / azure-cli-extensions

Public Repository for Extensions of Azure CLI.
https://docs.microsoft.com/en-us/cli/azure
MIT License
376 stars 1.17k forks source link

service-endpoint create returns successful but built an invalid service endpoint #7269

Open GMCfourX4 opened 5 months ago

GMCfourX4 commented 5 months ago

Describe the bug

When creating a service endpoint to connect Azure DevOps to an Azure Container Registry, and choosing the Service Principal method of authentication, the service endpoint is created, but the Service Principal no longer is. This results in an un-usable service endpoint with a misleading error about an invalid refresh token, when in fact the service principal ID is listed as "" when the show command is run.

Related command

az devops service-endpoint create --service-endpoint-configuration ACR_ServiceConnection.json --organization https://dev.azure.com/myorg/ --project 00000000-0000-0000-0000-000000000000

Errors

When az devops service-endpoint show is run, this is the output (note the value of "servicePrincipalId" and the "statusMessage").

{ "administratorsGroup": null, "authorization": { "parameters": { "loginServer": "mytestcontainerregistry.azurecr.io", "role": "8311e382-0749-4cb8-b61a-304f252e45ec", "scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mytest_resource_group/providers/Microsoft.ContainerRegistry/registries/mytestcontainerregistry", "servicePrincipalId": "", "tenantId": "00000000-0000-0000-0000-000000000000" }, "scheme": "ServicePrincipal" }, "createdBy": { "descriptor": "aadsp.xxxx", "directoryAlias": null, "displayName": "myorg-myProject-00000000-0000-0000-0000-000000000000", "id": "3f4e0384-f1f6-6e49-af14-8bf052ae0ec4", "imageUrl": "https://dev.azure.com/myorg/_apis/GraphProfile/MemberAvatars/aadsp.xxxx", "inactive": null, "isAadIdentity": null, "isContainer": null, "isDeletedInOrigin": null, "profileUrl": null, "uniqueName": "b9994448-ecb9-46df-8c80-3a06a170c59e\a714afe3-2e47-4069-9b2d-db5b12daeeff", "url": "https://spsprodcus5.vssps.visualstudio.com/Ad59d1ca2-d9e8-4d4f-9f1f-49aeb8907c56/_apis/Identities/3f4e0384-f1f6-6e49-af14-8bf052ae0ec4" }, "data": { "appObjectId": "", "azureSpnPermissions": "", "azureSpnRoleAssignmentId": "", "registryId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mytest_resource_group/providers/Microsoft.ContainerRegistry/registries/mytestcloudcontainerregistry", "registrytype": "ACR", "spnObjectId": "", "subscriptionId": "00000000-0000-0000-0000-000000000000", "subscriptionName": "My_Subscription" }, "description": "", "groupScopeId": null, "id": "7de3f1c5-1897-4366-b0c4-ad862ec90820", "isOutdated": false, "isReady": false, "isShared": false, "name": "mytestcontainerregistryserviceconnection", "operationStatus": { "severity": null, "state": "Failed", "statusMessage": "A valid refresh token for identity 3f4e0384-f1f6-7e49-af14-8bf052ae0ec4 was not found." }, "owner": "Library", "readersGroup": null, "serviceEndpointProjectReferences": [ { "description": "", "name": "mytestcloudcontainerregistryserviceconnection", "projectReference": { "id": "00000000-0000-0000-0000-000000000000", "name": "MyProject" } } ], "type": "dockerregistry", "url": "https://hub.docker.com/" }

Issue script & Debug output

2024-02-07T16:08:27.8358799Z ##[section]Starting: Add Container Registry Service Connection 2024-02-07T16:08:27.8362665Z ============================================================================== 2024-02-07T16:08:27.8362764Z Task : Azure CLI 2024-02-07T16:08:27.8362823Z Description : Run Azure CLI commands against an Azure subscription in a PowerShell Core/Shell script when running on Linux agent or PowerShell/PowerShell Core/Batch script when running on Windows agent. 2024-02-07T16:08:27.8362979Z Version : 2.230.0 2024-02-07T16:08:27.8363026Z Author : Microsoft Corporation 2024-02-07T16:08:27.8363086Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-cli 2024-02-07T16:08:27.8363167Z ============================================================================== 2024-02-07T16:08:28.0965682Z [command]/usr/bin/az --version 2024-02-07T16:08:28.5938708Z WARNING: You have 2 update(s) available. Consider updating your CLI installation with 'az upgrade' 2024-02-07T16:08:28.5939196Z azure-cli 2.56.0 2024-02-07T16:08:28.5939455Z 2024-02-07T16:08:28.5939680Z core 2.56.0 2024-02-07T16:08:28.5939839Z telemetry 1.1.0 2024-02-07T16:08:28.5940157Z 2024-02-07T16:08:28.5940269Z Extensions: 2024-02-07T16:08:28.5940464Z azure-devops 0.26.0 2024-02-07T16:08:28.5940525Z 2024-02-07T16:08:28.5940644Z Dependencies: 2024-02-07T16:08:28.5940771Z msal 1.24.0b2 2024-02-07T16:08:28.5940976Z azure-mgmt-resource 23.1.0b2 2024-02-07T16:08:28.5941042Z 2024-02-07T16:08:28.5941214Z Python location '/opt/az/bin/python3' 2024-02-07T16:08:28.5941425Z Extensions directory '/opt/az/azcliextensions' 2024-02-07T16:08:28.5941500Z 2024-02-07T16:08:28.5941682Z Python (Linux) 3.11.5 (main, Jan 8 2024, 09:08:13) [GCC 11.4.0] 2024-02-07T16:08:28.5941786Z 2024-02-07T16:08:28.5941940Z Legal docs and information: aka.ms/AzureCliLegal 2024-02-07T16:08:28.5942019Z 2024-02-07T16:08:28.5942066Z 2024-02-07T16:08:28.5955590Z Setting AZURE_CONFIG_DIR env variable to: /agent/_work/_temp/.azclitask 2024-02-07T16:08:28.5958756Z Setting active cloud to: AzureCloud 2024-02-07T16:08:28.5964182Z [command]/usr/bin/az cloud set -n AzureCloud 2024-02-07T16:08:29.3785175Z [command]/usr/bin/az login --service-principal -u --tenant 00000000-0000-0000-0000-000000000000 --allow-no-subscriptions --federated-token 2024-02-07T16:08:30.2493230Z [ 2024-02-07T16:08:30.2493517Z { 2024-02-07T16:08:30.2493657Z "cloudName": "AzureCloud", 2024-02-07T16:08:30.2494237Z "homeTenantId": "00000000-0000-0000-0000-000000000000", 2024-02-07T16:08:30.2494676Z "id": "00000000-0000-0000-0000-000000000000", 2024-02-07T16:08:30.2494979Z "isDefault": true, 2024-02-07T16:08:30.2495200Z "managedByTenants": [], 2024-02-07T16:08:30.2495460Z "name": "myProject_DEMO", 2024-02-07T16:08:30.2495623Z "state": "Enabled", 2024-02-07T16:08:30.2495893Z "tenantId": "00000000-0000-0000-0000-000000000000", 2024-02-07T16:08:30.2496088Z "user": { 2024-02-07T16:08:30.2496394Z "name": "", 2024-02-07T16:08:30.2496541Z "type": "servicePrincipal" 2024-02-07T16:08:30.2496676Z } 2024-02-07T16:08:30.2496799Z }, 2024-02-07T16:08:30.2496910Z { 2024-02-07T16:08:30.2497033Z "cloudName": "AzureCloud", 2024-02-07T16:08:30.2497400Z "homeTenantId": "00000000-0000-0000-0000-000000000000", 2024-02-07T16:08:30.2497858Z "id": "00000000-0000-0000-0000-000000000000", 2024-02-07T16:08:30.2498127Z "isDefault": false, 2024-02-07T16:08:30.2498353Z "managedByTenants": [], 2024-02-07T16:08:30.2498580Z "name": "Azure subscription 1", 2024-02-07T16:08:30.2498814Z "state": "Enabled", 2024-02-07T16:08:30.2499136Z "tenantId": "00000000-0000-0000-0000-000000000000", 2024-02-07T16:08:30.2499300Z "user": { 2024-02-07T16:08:30.2499574Z "name": "", 2024-02-07T16:08:30.2499716Z "type": "servicePrincipal" 2024-02-07T16:08:30.2499853Z } 2024-02-07T16:08:30.2499977Z } 2024-02-07T16:08:30.2500407Z ] 2024-02-07T16:08:30.2504102Z [command]/usr/bin/az account set --subscription 00000000-0000-0000-0000-000000000000 2024-02-07T16:08:30.6111102Z [command]/usr/bin/pwsh -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command . '/agent/_work/_temp/azureclitaskscript1707322108092.ps1' 2024-02-07T16:08:31.4126673Z
2024-02-07T16:08:31.4131668Z Add Container Registry Service Connection 2024-02-07T16:08:31.4132032Z
2024-02-07T16:08:31.4132677Z az config set extension.use_dynamic_install=yes_without_prompt 2024-02-07T16:08:31.5948526Z WARNING: Command group 'config' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus 2024-02-07T16:08:31.6833543Z
2024-02-07T16:08:32.0133104Z { 2024-02-07T16:08:32.0133558Z "environmentName": "AzureCloud", 2024-02-07T16:08:32.0134244Z "homeTenantId": "00000000-0000-0000-0000-000000000000", 2024-02-07T16:08:32.0134638Z "id": "00000000-0000-0000-0000-000000000000", 2024-02-07T16:08:32.0134842Z "isDefault": true, 2024-02-07T16:08:32.0135014Z "managedByTenants": [], 2024-02-07T16:08:32.0135184Z "name": "myProject_DEMO", 2024-02-07T16:08:32.0135356Z "state": "Enabled", 2024-02-07T16:08:32.0135867Z "tenantId": "00000000-0000-0000-0000-000000000000", 2024-02-07T16:08:32.0136053Z "user": { 2024-02-07T16:08:32.0136542Z "name": "", 2024-02-07T16:08:32.0136707Z "type": "servicePrincipal" 2024-02-07T16:08:32.0136866Z } 2024-02-07T16:08:32.0136996Z } 2024-02-07T16:08:32.0544722Z
2024-02-07T16:08:32.0545892Z $outputJson=az devops service-endpoint create --service-endpoint-configuration ./Environment/ACR_ServiceConnection.json --organization https://dev.azure.com/myorg/ --project 00000000-0000-0000-0000-000000000000 --debug 2024-02-07T16:08:32.2284588Z DEBUG: cli.knack.cli: Command arguments: ['devops', 'service-endpoint', 'create', '--service-endpoint-configuration', './Environment/ACR_ServiceConnection.json', '--organization', 'https://dev.azure.com/myorg/', '--project', '00000000-0000-0000-0000-000000000000', '--debug'] 2024-02-07T16:08:32.2285231Z DEBUG: cli.knack.cli: init debug log: 2024-02-07T16:08:32.2285427Z Cannot enable color. 2024-02-07T16:08:32.2285622Z DEBUG: cli.knack.cli: Event: Cli.PreExecute [] 2024-02-07T16:08:32.2287365Z DEBUG: cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x7f20129cd4e0>, <function OutputProducer.on_global_arguments at 0x7f2012979ee0>, <function CLIQuery.on_global_arguments at 0x7f20127a79c0>] 2024-02-07T16:08:32.2297925Z DEBUG: cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate [] 2024-02-07T16:08:32.2304157Z DEBUG: cli.azure.cli.core: Modules found from index for 'devops': ['azext_devops'] 2024-02-07T16:08:32.2304396Z DEBUG: cli.azure.cli.core: Loading command modules: 2024-02-07T16:08:32.2307213Z DEBUG: cli.azure.cli.core: Name Load Time Groups Commands 2024-02-07T16:08:32.2307712Z DEBUG: cli.azure.cli.core: Total (0) 0.000 0 0 2024-02-07T16:08:32.2309578Z DEBUG: cli.azure.cli.core: These extensions are not installed and will be skipped: ['azext_ai_examples', 'azext_next'] 2024-02-07T16:08:32.2311011Z DEBUG: cli.azure.cli.core: Loading extensions: 2024-02-07T16:08:32.2311341Z DEBUG: cli.azure.cli.core: Name Load Time Groups Commands Directory 2024-02-07T16:08:32.2811283Z DEBUG: cli.azure.cli.core: azure-devops 0.048 60 192 /opt/az/azcliextensions/azure-devops 2024-02-07T16:08:32.2811754Z DEBUG: cli.azure.cli.core: Total (1) 0.048 60 192
2024-02-07T16:08:32.2812086Z DEBUG: cli.azure.cli.core: Loaded 60 groups, 192 commands. 2024-02-07T16:08:32.2812429Z DEBUG: cli.azure.cli.core: Found a match in the command table. 2024-02-07T16:08:32.2813073Z DEBUG: cli.azure.cli.core: Raw command : devops service-endpoint create 2024-02-07T16:08:32.2813423Z DEBUG: cli.azure.cli.core: Command table: devops service-endpoint create 2024-02-07T16:08:32.2814054Z DEBUG: cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x7f20118ad080>] 2024-02-07T16:08:32.2815017Z DEBUG: cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to '/agent/_work/_temp/.azclitask/commands/2024-02-07.16-08-32.devops_service-endpoint_create.4079.log'. 2024-02-07T16:08:32.2815878Z INFO: az_command_data_logger: command args: devops service-endpoint create --service-endpoint-configuration {} --organization {} --project {} --debug 2024-02-07T16:08:32.2816372Z DEBUG: cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument..add_subscription_parameter at 0x7f20118c3560>] 2024-02-07T16:08:32.7104816Z DEBUG: cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad [] 2024-02-07T16:08:32.7105515Z DEBUG: cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument..add_ids_arguments at 0x7f2011919260>, <function register_cache_arguments..add_cache_arguments at 0x7f20119193a0>] 2024-02-07T16:08:32.7116781Z DEBUG: cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded [] 2024-02-07T16:08:32.7117118Z DEBUG: cli.knack.cli: Event: CommandInvoker.OnPreParseArgs [] 2024-02-07T16:08:32.7122866Z DEBUG: cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x7f2012979f80>, <function CLIQuery.handle_query_parameter at 0x7f20127a7a60>, <function register_ids_argument..parse_ids_arguments at 0x7f2011919300>, <function DevCommandsLoader.post_parse_args at 0x7f201194bc40>] 2024-02-07T16:08:32.7130260Z INFO: az_command_data_logger: extension name: azure-devops 2024-02-07T16:08:32.7130650Z INFO: az_command_data_logger: extension version: 0.26.0 2024-02-07T16:08:32.7133035Z DEBUG: cli.azext_devops.dev.common.services: PAT is present which can be used against this instance 2024-02-07T16:08:32.7147806Z DEBUG: cli.azure.cli.core: Current cloud config: 2024-02-07T16:08:32.7148081Z AzureCloud 2024-02-07T16:08:32.7148759Z DEBUG: cli.azext_devops.dev.common.services: trying to get token (temp) for tenant 00000000-0000-0000-0000-000000000000 and user
2024-02-07T16:08:32.7218290Z DEBUG: cli.azure.cli.core.auth.persistence: build_persistence: location='/agent/_work/_temp/.azclitask/service_principal_entries.json', encrypt=False 2024-02-07T16:08:32.7218961Z DEBUG: cli.azure.cli.core.auth.persistence: build_persistence: location='/agent/_work/_temp/.azclitask/msal_token_cache.json', encrypt=False 2024-02-07T16:08:32.7221714Z DEBUG: cli.azure.cli.core.auth.binary_cache: load: /agent/_work/_temp/.azclitask/msal_http_cache.bin 2024-02-07T16:08:32.7225743Z DEBUG: urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None) 2024-02-07T16:08:32.7231004Z DEBUG: msal.authority: openid_config = {'token_endpoint': 'https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/discovery/v2.0/keys', 'response_modes_supported': ['query', 'fragment', 'form_post'], 'subject_types_supported': ['pairwise'], 'id_token_signing_alg_values_supported': ['RS256'], 'response_types_supported': ['code', 'id_token', 'code id_token', 'id_token token'], 'scopes_supported': ['openid', 'profile', 'email', 'offline_access'], 'issuer': 'https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/oauth2/v2.0/logout', 'claims_supported': ['sub', 'iss', 'cloud_instance_name', 'cloud_instance_host_name', 'cloud_graph_host_name', 'msgraph_host', 'aud', 'exp', 'iat', 'auth_time', 'acr', 'nonce', 'preferred_username', 'name', 'tid', 'ver', 'at_hash', 'c_hash', 'email'], 'kerberos_endpoint': 'https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/kerberos', 'tenant_region_scope': 'NA', 'cloud_instance_name': 'microsoftonline.com', 'cloud_graph_host_name': 'graph.windows.net', 'msgraph_host': 'graph.microsoft.com', 'rbac_url': 'https://pas.windows.net'} 2024-02-07T16:08:32.7232687Z DEBUG: msal.application: Broker enabled? False 2024-02-07T16:08:32.7232850Z DEBUG: msal.application: Region to be used: None 2024-02-07T16:08:32.7233234Z DEBUG: cli.azure.cli.core.auth.msal_authentication: ServicePrincipalCredential.get_token: scopes=('499b84ac-1321-427f-aa17-267ca6975798/.default',), kwargs={} 2024-02-07T16:08:32.7233600Z DEBUG: msal.telemetry: Generate or reuse correlation_id: 4986e20b-1765-4344-8c7e-76e96a5b9652 2024-02-07T16:08:32.7249680Z DEBUG: urllib3.connectionpool: Starting new HTTPS connection (1): login.microsoftonline.com:443 2024-02-07T16:08:33.0384852Z DEBUG: urllib3.connectionpool: https://login.microsoftonline.com:443 "POST /00000000-0000-0000-0000-000000000000/oauth2/v2.0/token HTTP/1.1" 200 1331 2024-02-07T16:08:33.0391507Z DEBUG: msal.token_cache: event={ 2024-02-07T16:08:33.0392092Z "client_id": "*", 2024-02-07T16:08:33.0392302Z "data": { 2024-02-07T16:08:33.0392544Z "claims": "{\"access_token\": {\"xms_cc\": {\"values\": [\"CP1\"]}}}", 2024-02-07T16:08:33.0392774Z "scope": [ 2024-02-07T16:08:33.0393134Z "499b84ac-1321-427f-aa17-267ca6975798/.default" 2024-02-07T16:08:33.0393283Z ] 2024-02-07T16:08:33.0393391Z }, 2024-02-07T16:08:33.0393531Z "environment": "login.microsoftonline.com", 2024-02-07T16:08:33.0393685Z "grant_type": "client_credentials", 2024-02-07T16:08:33.0393851Z "params": null, 2024-02-07T16:08:33.0393973Z "response": { 2024-02-07T16:08:33.0394102Z "access_token": "****", 2024-02-07T16:08:33.0394240Z "expires_in": 3599, 2024-02-07T16:08:33.0394372Z "ext_expires_in": 3599, 2024-02-07T16:08:33.0394509Z "token_type": "Bearer" 2024-02-07T16:08:33.0394630Z }, 2024-02-07T16:08:33.0394740Z "scope": [ 2024-02-07T16:08:33.0394950Z "499b84ac-1321-427f-aa17-267ca6975798/.default" 2024-02-07T16:08:33.0395087Z ], 2024-02-07T16:08:33.0395380Z "token_endpoint": "https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/oauth2/v2.0/token" 2024-02-07T16:08:33.0395569Z } 2024-02-07T16:08:33.0402823Z DEBUG: cli.azext_devops.dev.common.services: instance recieved in validate_token_for_instance https://dev.azure.com/myorg/ 2024-02-07T16:08:33.0403126Z DEBUG: cli.azext_devops.dev.common.services: instance processed in validate_token_for_instance https://dev.azure.com/myorg/ 2024-02-07T16:08:33.0461030Z DEBUG: msrest.universal_http.requests: Configuring retry: max_retries=3, backoff_factor=0.8, max_backoff=90 2024-02-07T16:08:33.0586879Z DEBUG: msrest.universal_http.requests: Configuring retry: max_retries=3, backoff_factor=0.8, max_backoff=90 2024-02-07T16:08:33.0587677Z DEBUG: azext_devops.devops_sdk._file_cache: Cache file does not exist: /home/AzDevOps/.azure-devops/python-sdk/cache/resources.json 2024-02-07T16:08:33.0588027Z DEBUG: azext_devops.devops_sdk.connection: File cache miss for resources on: https://dev.azure.com/myorg 2024-02-07T16:08:33.0588501Z DEBUG: azext_devops.devops_sdk._file_cache: Cache file does not exist: /home/AzDevOps/.azure-devops/python-sdk/cache/options.json 2024-02-07T16:08:33.0588830Z DEBUG: azext_devops.devops_sdk.client: File cache miss for options on: https://dev.azure.com/myorg 2024-02-07T16:08:33.0589105Z DEBUG: azext_devops.devops_sdk.client: OPTIONS https://dev.azure.com/myorg/_apis 2024-02-07T16:08:33.0589360Z DEBUG: msrest.universal_http: Configuring redirects: allow=True, max=30 2024-02-07T16:08:33.0590612Z DEBUG: msrest.universal_http: Configuring request: timeout=100, verify=True, cert=None 2024-02-07T16:08:33.0590960Z DEBUG: msrest.universal_http: Configuring proxies: '' 2024-02-07T16:08:33.0591212Z DEBUG: msrest.universal_http: Evaluate proxies against ENV settings: True 2024-02-07T16:08:33.0602604Z DEBUG: urllib3.connectionpool: Starting new HTTPS connection (1): dev.azure.com:443 2024-02-07T16:08:33.2204121Z DEBUG: urllib3.connectionpool: https://dev.azure.com:443 "OPTIONS /myorg/_apis HTTP/1.1" 200 42698 2024-02-07T16:08:33.2449625Z DEBUG: azext_devops.devops_sdk.client: Response content: * omitted for brevity - comment exceeded 65k characters due to this line *** 2024-02-07T16:08:33.2711289Z DEBUG: azext_devops.devops_sdk.client: Route template: _apis/{resource}/{areaId} 2024-02-07T16:08:33.2714248Z DEBUG: azext_devops.devops_sdk.client: Api version '5.0-preview.1' 2024-02-07T16:08:33.2714492Z DEBUG: azext_devops.devops_sdk.client: GET https://dev.azure.com/myorg/_apis/ResourceAreas 2024-02-07T16:08:33.2714856Z DEBUG: azext_devops.devops_sdk.client: Request content: None 2024-02-07T16:08:33.2715142Z DEBUG: msrest.universal_http: Configuring redirects: allow=True, max=30 2024-02-07T16:08:33.2715375Z DEBUG: msrest.universal_http: Configuring request: timeout=100, verify=True, cert=None 2024-02-07T16:08:33.2715588Z DEBUG: msrest.universal_http: Configuring proxies: '' 2024-02-07T16:08:33.2715789Z DEBUG: msrest.universal_http: Evaluate proxies against ENV settings: True 2024-02-07T16:08:33.3921015Z DEBUG: urllib3.connectionpool: https://dev.azure.com:443 "GET /myorg/_apis/ResourceAreas HTTP/1.1" 200 9431 2024-02-07T16:08:33.3961998Z DEBUG: azext_devops.devops_sdk.client: Response content: b'{"count":227,"value":[{"id":"fb13a388-40dd-4a04-b530-013a739c72ef","name":"policy","locationUrl":"https://dev.azure.com/myorg/"},{"id":"c73a23a1-59bb-458c-8ce3-02c83215e015","name":"Licensing","locationUrl":"https://vssps.dev.azure.com/myorg/"},{"id":"6b10046c-829d-44d2-8a1d-02f88f4ff032","name":"TokenIssue","locationUrl":"https://vstoken.dev.azure.com/myorg/"},{"id":"01e4817c-857e-485c-9401-0334a33200da","name":"dedup","locationUrl":"https://vsblob.dev.azure.com/myorg/"},{"id":"79134c72-4a58-4b42-976c-04e7115f32bf","name":"core","locationUrl":"https://dev.azure.com/myorg/"},{"id":"95935461-9e54-44bd-b9fb-04f4dd05d640","name":"TokenAdministration","locationUrl":"https://vstoken.dev.azure.com/myorg/"},{"id":"aca667be-99e8-4f1a-a42b-065087b87049","name":"importregion","locationUrl":"https://dataimport.dev.azure.com/myorg/"},{"id":"f86b1517-b514-464e-967e-07567f868756","name":"coverage","locationUrl":"https://vstmr.dev.azure.com/myorg/"},{"id":"67349c8b-6425-42f2-97b6-0843cb037473","name":"Favorite","locationUrl":"https://dev.azure.com/myorg/"},{"id":"5264459e-e5e0-4bd8-b118-0985e68a4ec5","name":"wit","locationUrl":"https://dev.azure.com/myorg/"},{"id":"ad112863-ba10-4c1e-9e3c-0b6a7cb33fa1","name":"AdvancedSecurity","locationUrl":"https://advsec.dev.azure.com/myorg/"},{"id":"b903d8ce-3624-4fa5-b37e-0b6b6bb2938b","name":"compliance","locationUrl":"https://entreq.dev.azure.com/myorg/"},{"id":"059a1dcd-6243-4c85-b29c-0b833053c224","name":"pipelineAnalytics","locationUrl":"https://dev.azure.com/myorg/"},{"id":"efc2f575-36ef-48e9-b672-0c6fb4a48ac5","name":"Release","locationUrl":"https://vsrm.dev.azure.com/myorg/"},{"id":"e02c4297-9916-457f-a15a-0f835551dc3f","name":"Powerbi","locationUrl":"https://dev.azure.com/myorg/"},{"id":"db4b1d4b-13b4-4ceb-8f84-1001b5500ebc","name":"codelens","locationUrl":"https://codelens.dev.azure.com/myorg/"},{"id":"31c84e0a-3ece-48fd-a29d-100849af99ba","name":"Dashboard","locationUrl":"https://dev.azure.com/myorg/"},{"id":"3b95fb80-fdda-4218-b60e-1052d070ae6b","name":"Test","locationUrl":"https://dev.azure.com/myorg/"},{"id":"86bf2186-3092-4f5e-86a6-13997ce0924a","name":"CentralizedFeature","locationUrl":"https://vssps.dev.azure.com/myorg/"},{"id":"ba8495f8-e9ee-4a9e-9cbe-142897543fe9","name":"PersistedNotification","locationUrl":"https://dev.azure.com/myorg/"},{"id":"8adac183-0b40-4151-b069-144ac860d516","name":"buildcache","locationUrl":"https://artifacts.dev.azure.com/myorg/"},{"id":"92f0314b-06c5-46e0-abe7-15fd9d13276a","name":"pypi","locationUrl":"https://pkgs.dev.azure.com/myorg/"},{"id":"6b71b6ea-1ce1-4b61-a8d6-160f1fd998fb","name":"Notes","locationUrl":"https://gdprdel.dev.azure.com/myorg/"},{"id":"2522d64e-35a6-402d-a714-16b9d16f5bb9","name":"HostManagement","locationUrl":"https://vssps.dev.azure.com/myorg/"},{"id":"c83eaf52-edf3-4034-ae11-17d38f25404c","name":"testresults","locationUrl":"https://vstmr.dev.azure.com/myorg/"},{"id":"4abcfc63-2cbd-4c86-853d-185c0398ad91","name":"pipelinePolicy","locationUrl":"https://dev.azure.com/myorg/"},{"id":"b002715c-f261-41eb-aca3-19292f32b62b","name":"AccountLicensing","locationUrl":"https://vslicense.dev.azure.com/myorg/"},{"id":"f47c4501-5e41-4a7c-b17b-19b7cef00b91","name":"Analytics","locationUrl":"https://analytics.dev.azure.com/myorg/"},{"id":"0905ef5a-ef15-46a1-8add-19e722c614f5","name":"TCMServiceMigration","locationUrl":"https://dev.azure.com/myorg/"},{"id":"d65b01c1-a9d1-40dc-b28a-1b04d47629bb","name":"OrganizationTokenOidc","locationUrl":"https://vstoken.dev.azure.com/myorg/"},{"id":"e54d3adc-d485-4536-b63d-1bd2bfc179bf","name":"AnyProtocolPackagingInternal","locationUrl":"https://pkgs.dev.azure.com/myorg/"},{"id":"a85b8835-c1a1-4aac-ae97-1c3d0ba72dbd","name":"distributedtask","locationUrl":"https://dev.azure.com/myorg/"},{"id":"1c8271d7-2729-4778-a2d1-1ed21e9743aa","name":"SecretsValidation","locationUrl":"https://vsdscops.dev.azure.com/myorg/"},{"id":"7670aa71-46bd-4133-bd39-213ff359d30e","name":"pipelineartifactstelemetry","locationUrl":"https://vsblob.dev.azure.com/myorg/"},{"id":"bcf4c91f-9f3e-4108-847c-220c95f90382","name":"Interaction","locationUrl":"https://vsaex.dev.azure.com/myorg/"},{"id":"7bf94c77-0ce1-44e5-a0f3-263e4ebbf327","name":"drop","locationUrl":"https://artifacts.dev.azure.com/myorg/"},{"id":"4c83cfc1-f33a-477e-a789-29d38ffca52e","name":"npm","locationUrl":"https://pkgs.dev.azure.com/myorg/"},{"id":"4e080c62-fa21-4fbc-8fef-2a10a2b38049","name":"git","locationUrl":"https://dev.azure.com/myorg/"},{"id":"1d4f49f9-02b9-4e26-b826-2cdb6195f2a9","name":"work","locationUrl":"https://dev.azure.com/myorg/"},{"id":"9a7e7451-3763-432f-a213-2e40f4012709","name":"AllProtocolsInternal","locationUrl":"https://pkgs.dev.azure.com/myorg/"},{"id":"78e5e91b-1598-4080-8edc-308799894013","name":"collectionimport","locationUrl":"https://dataimport.dev.azure.com/myorg/"},{"id":"2e504d18-2c0c-46f8-af8f-322d2af0068a","name":"SBOM","locationUrl":"https://pkgs.dev.azure.com/myorg/"},{"id":"c890b7c4-5cf6-4280-91ac-331e439b8119","name":"ReportingEvents","locationUrl":"https://vscommerce.dev.azure.com/myorg/"},{"id":"89b27bcd-f2ba-4306-845c-345136711714","name":"AzCommMigration","locationUrl":"https://commvtwo.dev.azure.com/myorg/"},{"id":"eb000212-1fcd-4015-8989-3485cc41bf3e","name":"Utilization","locationUrl":"https://dev.azure.com/myorg/"},{"id":"8da7474c-43c6-41cd-91dc-3628bd23420f","name":"LicensingMigrator","locationUrl":"https://vslicense.dev.azure.com/myorg/"},{"id":"5b55a9b6-2e0f-40d7-829d-3741d2b8c4e4","name":"approval","locationUrl":"https://dev.azure.com/myorg/"},{"id":"997a4743-5b0e-424b-aafa-37b62a3e1dbf","name":"CodeReview","locationUrl":"https://dev.azure.com/myorg/"},{"id":"c5a2d98b-985c-432e-825e-3c6971edae87","name":"TokenAuth","locationUrl":"https://vstoken.dev.azure.com/myorg/"},{"id":"94ff054d-5ee1-413d-9341-3f4a7827de2e","name":"audit","locationUrl":"https://auditservice.dev.azure.com/myorg/"},{"id":"d0945e63-7a23-4262-990e-408bb13ea0f4","name":"Recommendation","locationUrl":"https://dev.azure.com/myorg/"},{"id":"032e6845-d1ee-4197-a1b7-42d1822bca46","name":"Alerts","locationUrl":"https://advsec.dev.azure.com/myorg/"},{"id":"358aec7a-9414-4096-8b6a-4505d8c6a68b","name":"OrganizationSettings","locationUrl":"https://dev.azure.com/myorg/"},{"id":"c2112469-adf5-45f2-8ab5-4764540113b6","name":"C2112469-ADF5-45F2-8AB5-4764540113B6","locationUrl":"https://vstmr.dev.azure.com/myorg/"},{"id":"6f0d0cb2-7079-41fa-aeef-4772f7a835f7","name":"hookssvc","locationUrl":"https://vssh.dev.azure.com/myorg/"},{"id":"bed1e9dd-ae97-4d73-9e01-4797f66ed0d3","name":"OAuthWhitelist","locationUrl":"https://vssps.dev.azure.com/myorg/"},{"id":"ed1325fd-71e8-4623-89f3-485951654312","name":"AzComm","locationUrl":"https://commvtwo.dev.azure.com/myorg/"},{"id":"f101720c-9790-45a6-9fb3-494a09fddeeb","name":"Management","locationUrl":"https://advsec.dev.azure.com/myorg/"},{"id":"b5da59b3-d611-433b-a121-4cdc4fda898a","name":"TokenOidc","locationUrl":"https://vstoken.dev.azure.com/myorg/"},{"id":"bcaa3234-d3c0-45d6-9f51-4e0f13d17999","name":"acs","locationUrl":"https://dev.azure.com/myorg/"},{"id":"b55d9fe7-462e-4751-b534-4ecaf7e3298d","name":"QuickStart","locationUrl":"https://dev.azure.com/myorg/"},{"id":"c38bf508-a15f-4e87-b69e-4fb71654207f","name":"drop","locationUrl":"https://artifacts.dev.azure.com/myorg/"},{"id":"d825dc80-1b53-491e-9406-523da630d57f","name":"import","locationUrl":"https://dataimport.dev.azure.com/myorg/"},{"id":"5d6898bb-45ec-463f-95f9-54d49c71752e","name":"build","locationUrl":"https://dev.azure.com/myorg/"},{"id":"4c19f9c8-67bd-4c18-800b-55dc62c3017f","name":"Meters","locationUrl":"https://vscommerce.dev.azure.com/myorg/"},{"id":"0f2ca920-f269-4545-b1f4-5b4173aa784e","name":"Alert","locationUrl":"https://advsec.dev.azure.com/myorg/"},{"id":"b40c1171-807a-493a-8f3f-5c26d5e2f5aa","name":"Provenance","locationUrl":"https://pkgs.dev.azure.com/myorg/"},{"id":"0d55247a-1c47-4462-9b1f-5e2125590ee6","name":"Account","locationUrl":"https://vssps.dev.azure.com/myorg/"},{"id":"7ab4e64e-c4d8-4f50-ae73-5ef2e21642a5","name":"Packaging","locationUrl":"https://feeds.dev.azure.com/myorg/"},{"id":"0b808ceb-ef49-4c5e-9483-600a4ecf1224","name":"Cache","locationUrl":"https://vssps.dev.azure.com/myorg/"},{"id":"bd3c2e79-f43c-4af6-b3bb-6088df7ea66e","name":"PackagingApi","locationUrl":"https://pkgs.dev.azure.com/myorg/"},{"id":"e5cf8e0c-5cf9-411f-8b23-60fb67dd57dd","name":"Slack","locationUrl":"https://azchatops.dev.azure.com/myorg/"},{"id":"bf7d82a0-8aa5-4613-94ef-6172a5ea01f3","name":"wiki","locationUrl":"https://dev.azure.com/myorg/"},{"id":"fc13fc54-03c1-484e-98f2-6413386b3dfe","name":"SampleExtension","locationUrl":"https://governance.dev.azure.com/myorg/"},{"id":"f184dc2d-e63e-42ff-9fbc-64abe433bfd2","name":"AnalyticsViews","locationUrl":"https://analytics.dev.azure.com/myorg/"},{"id":"bf8d748a-ccc1-447f-8561-64ac0a2288b5","name":"conda","locationUrl":"https://pkgs.dev.azure.com/myorg/"},{"id":"309db705-4ce4-49e7-a110-67e4a823766a","name":"CsmTfs","locationUrl":"https://dev.azure.com/myorg/"},{"id":"590fc723-9928-4797-af1d-6840d1208ad9","name":"update_jobs","locationUrl":"https://dpdbot.dev.azure.com/myorg/"},{"id":"287a6d53-7dc8-4618-8d57-6945b848a4ad","name":"Invitation","locationUrl":"https://vssps.dev.azure.com/myorg/"},{"id":"a0848fa1-3593-4aec-949c-694c73f4c4ce","name":"DelegatedAuth","locationUrl":"https://vssps.dev.azure.com/myorg/"},{"id":"4a933897-0488-45af-bd82-6fd3ad33f46a","name":"PipelinesChecks","locationUrl":"https://dev.azure.com/myorg/"},{"id":"6823169a-2419-4015-b2fd-6fd6f026ca00","name":"discussion","locationUrl":"https://dev.azure.com/myorg/"},{"id":"2b98abe4-fae0-4b7f-8562-7141c309b9ee","name":"Directory","locationUrl":"https://vssps.dev.azure.com/myorg/"},{"id":"3b16a4db-b853-4c64-aa16-72138f5bb750","name":"UsageEvents","locationUrl":"https://vscommerce.dev.azure.com/myorg/"},{"id":"3c25a612-6355-4a43-80fe-75aebe07e981","name":"TokenRevocation","locationUrl":"https://vssps.dev.azure.com/myorg/"},{"id":"469b435e-3cdd-454e-957e-75afde947380","name":"organizationjoin","locationUrl":"https://dataimport.dev.azure.com/myorg/"},{"id":"5d4a2f52-5a08-41fb-8cca-768add070e18","name":"OfferSubscription","locationUrl":"https://vscommerce.dev.azure.com/myorg/"},{"id":"96780e95-5371-4379-bfaf-7743270ffd0c","name":"Slack","locationUrl":"https://azchatops.dev.azure.com/myorg/"},{"id":"96780e95-5371-4379-bfaf-7743270ffd0d","name":"Teams","locationUrl":"https://azchatops.dev.azure.com/myorg/"},{"id":"d397749b-f115-4027-b6dd-77a65dd10d21","name":"upack","locationUrl":"https://pkgs.dev.azure.com/myorg/"},{"id":"2a313f99-f039-49a7-b2dd-792d5ddab990","name":"artifact","locationUrl":"https://artifacts.dev.azure.com/myorg/"},{"id":"68ddce18-2501-45f1-a17b-7931a9922690","name":"MemberEntitlementManagement","locationUrl":"https://vsaex.dev.azure.com/myorg/"},{"id":"b3705fd5-dc18-47fc-bb2f-7b0f19a70822","name":"Csm","locationUrl":"https://vssps.dev.azure.com/myorg/"},{"id":"5ff95ba9-5d38-4d5d-89a8-7cebe9e93997","name":"LeakedSecrets","locationUrl":"https://vstoken.dev.azure.com/myorg/"},{"id":"2b66037e-8671-4829-bac9-7d5efc583bc3","name":"ivy","locationUrl":"https://pkgs.dev.azure.com/myorg/"},{"id":"679691a5-f685-4ad5-a905-7eb3bde01b43","name":"mps","locationUrl":"https://dev.azure.com/myorg/"},{"id":"3cd93164-2313-45ec-88d6-7f0a74dfe1f0","name":"SampleExtension","locationUrl":"https://governance.dev.azure.com/myorg/"},{"id":"207403f3-b4ce-459a-b6cd-8042d9d309f0","name":"TenantPolicy","locationUrl":"https://vssps.dev.azure.com/myorg/"},{"id":"a9ca02ce-c5d9-4ec5-801d-80a170b6eff8","name":"pipelinecache","locationUrl":"https://artifacts.dev.azure.com/myorg/"},{"id":"85738938-9fae-4eb4-b4f0-871502e6b549","name":"GitHubConnector","locationUrl":"https://vssps.dev.azure.com/myorg/"},{"id":"79bea8f8-c898-4965-8c51-8bbc3966faa8","name":"Collection","locationUrl":"https://vssps.dev.azure.com/myorg/"},{"id":"c08c062a-b973-4754-b339-8de3b6fe53ec","name":"tcm","locationUrl":"https://vstmr.dev.azure.com/myorg/"},{"id":"c001321e-8a1c-44ad-93a4-8f0bc137ef77","name":"EnterpriseCatalog","locationUrl":"https://vsaex.dev.azure.com/myorg/"},{"id":"81aec033-eae2-42b8-82f6-90b93a662ef5","name":"NameResolution","locationUrl":"https://vssps.dev.azure.com/myorg/"},{"id":"ffcfc36a-0be8-412a-a2bb-93c2abd4048b","name":"ResourceMigration","locationUrl":"https://vscommerce.dev.azure.com/myorg/"},{"id":"6c2b0933-3600-42ae-bf8b-93d4f7e83594","name":"ExtensionManagement","locationUrl":"https://extmgmt.dev.azure.com/myorg/"},{"id":"bf49e7f3-5005-4f2a-902e-9426a229d1f3","name":"Symbol","locationUrl":"https://artifacts.dev.azure.com/myorg/"},{"id":"b3be7473-68ea-4a81-bfc7-9530baaa19ad","name":"nuget","locationUrl":"https://pkgs.dev.azure.com/myorg/"},{"id":"9d439667-f8cf-4991-89a9-95ca6a763327","name":"PurchaseRequest","locationUrl":"https://vscommerce.dev.azure.com/myorg/"},{"id":"f9a59873-859a-43f6-8329-967916b14736","name":"InstanceManagement","locationUrl":"https://vssps.dev.azure.com/myorg/"},{"id":"79fda011-e37f-4281-ba52-967e06c78301","name":"anonymousimportregion","locationUrl":"https://dataimport.dev.azure.com/myorg/"},{"id":"bf5ba852-2326-4f8a-80ee-968f445d2284","name":"Ssc","locationUrl":"https://pkgs.dev.azure.com/myorg/"},{"id":"2e426be0-da4d-48c4-9178-978da8562255","name":"authorization","locationUrl":"https://dev.azure.com/myorg/"},{"id":"10a9fe81-f117-4bef-8e42-99c7c46061c0","name":"importcode","locationUrl":"https://dataimport.dev.azure.com/myorg/"},{"id":"45d1d290-b9a3-43f1-805e-9a6f61bc07b6","name":"NewDomainUrlOrchestration","locationUrl":"https://vssps.dev.azure.com/myorg/"},{"id":"965220d5-5bb9-42cf-8d67-9b146df2a5a4","name":"Build","locationUrl":"https://dev.azure.com/myorg/"},{"id":"2e0bf237-8973-4ec9-a581-9c3d679d1776","name":"pipelines","locationUrl":"https://dev.azure.com/myorg/"},{"id":"8aa40520-446d-40e6-89f6-9c9f9ce44c48","name":"tfvc","locationUrl":"https://dev.azure.com/myorg/"},{"id":"a3df5886-6f52-4d65-8ed4-9cf791edf91f","name":"HostResolution","locationUrl":"https://vssps.dev.azure.com/myorg/"},{"id":"5294ef93-12a1-4d13-8671-9d9d014072c8","name":"blob","locationUrl":"https://vsblob.dev.azure.com/myorg/"},{"id":"7f7e9705-96b8-4da4-af41-9e272c98db69","name":"CodeScanner","locationUrl":"https://vsdscops.dev.azure.com/myorg/"},{"id":"b4bcf7e2-8869-45ce-9348-a087cba9d144","name":"DeploymentTracking","locationUrl":"https://vsrm.dev.azure.com/myorg/"},{"id":"7ff23b0f-68f0-4707-8a4b-a1e76dc397ea","name":"Recommendation","locationUrl":"https://vsaex.dev.azure.com/myorg/"},{"id":"c8c8ffd0-2ecf-484a-b7e8-a226955ee7c8","name":"UserMapping","locationUrl":"https://vssps.dev.azure.com/myorg/"},{"id":"8e128563-b59c-4a70-964c-a3bd7412183d","name":"HostAcquisition","locationUrl":"https://vsaex.dev.azure.com/myorg/"},{"id":"66939471-964e-4475-9ec2-a616d9bd7522","name":"usage","locationUrl":"https://vsblob.dev.azure.com/myorg/"},{"id":"7e7baadd-b7d6-46a0-9ce5-a6f95dda0e62","name":"Compliance","locationUrl":"https://vssps.dev.azure.com/myorg/"},{"id":"1b865e97-5ee6-4d12-abf4-a944a1bf8b01","name":"AzCommCsm","locationUrl":"https://commvtwo.dev.azure.com/myorg/"},{"id":"a5099f91-129c-4d51-a066-a96f6b31cf00","name":"Health","locationUrl":"https://vstskalypso.dev.azure.com/myorg/"},{"id":"085912cc-a0db-4c69-b306-a9ec63eddbb2","name":"rpm","locationUrl":"https://pkgs.dev.azure.com/myorg/"},{"id":"d7c52d59-024a-4376-a82d-ab6f81122d14","name":"domains","locationUrl":"https://vsblob.dev.azure.com/myorg/"},{"id":"f189ca86-04a2-413c-81a0-abdbd7c472da","name":"TokenSigning","locationUrl":"https://vssps.dev.azure.com/myorg/"},{"id":"365d9dcd-4492-4ae3-b5ba-ad0ff4ab74b3","name":"Commerce","locationUrl":"https://vssps.dev.azure.com/myorg/"},{"id":"177d7ebb-f343-4e49-ac19-b2526bd8af71","name":"AadConditionalAccessPolicy","locationUrl":"https://vssps.dev.azure.com/myorg/"},{"id":"3fdc5d9e-f2ef-4852-aa15-b2b092d1dddf","name":"Cmdb","locationUrl":"https://vstskalypso.dev.azure.com/myorg/"},{"id":"9d3a4e8e-2f8f-4ae1-abc2-b461a51cb3b3","name":"nuget","locationUrl":"https://artifacts.dev.azure.com/myorg/"},{"id":"d69bcc31-8eb7-42a6-b1b8-b52e91062597","name":"visits","locationUrl":"https://dev.azure.com/myorg/"},{"id":"cd315457-817a-4908-a9a5-b5959e043a4f","name":"importproperty","locationUrl":"https://dataimport.dev.azure.com/myorg/"},{"id":"55967393-20ef-45c6-a96c-b5d5d5986a9a","name":"Tokens","locationUrl":"https://vssps.dev.azure.com/myorg/"},{"id":"bf89950b-58e4-4c83-8e40-ba3163d111bd","name":"Governance","locationUrl":"https://governance.dev.azure.com/myorg/"},{"id":"bf99950b-58e4-4c83-8e40-ba3163d111bd","name":"GovernanceNew","locationUrl":"https://governance.dev.azure.com/myorg/"},{"id":"7765c886-d562-4d12-a581-bb47c80434e1","name":"TfsAnalytics","locationUrl":"https://dev.azure.com/myorg/"},{"id":"6f7f8c07-ff36-473c-bcf3-bd6cc9b6c066","name":"maven","locationUrl":"https://pkgs.dev.azure.com/myorg/"},{"id":"e97d4d3c-c339-4745-a987-bd6f6c496788","name":"PermissionLevel","locationUrl":"https://vssps.dev.azure.com/myorg/"},{"id":"2900e97e-7bbd-4d87-95ee-be54611b6184","name":"CsmResourceProvider","locationUrl":"https://vscommerce.dev.azure.com/myorg/"},{"id":"cdeb6c7d-6b25-4d6f-b664-c2e3ede202e8","name":"FeedToken","locationUrl":"https://feeds.dev.azure.com/myorg/"},{"id":"71f96160-8701-4914-aed9-c44b89f20ccd","name":"cargo","locationUrl":"https://pkgs.dev.azure.com/myorg/"},{"id":"3fda18ba-dff2-42e6-8d10-c521b23b85fc","name":"clienttools","locationUrl":"https://vsblob.dev.azure.com/myorg/"},{"id":"000080c1-aa68-4fce-bbc5-c68d94bff8be","name":"OfferMeter","locationUrl":"https://vscommerce.dev.azure.com/myorg/"},{"id":"4e40f190-2e3f-4d9f-8331-c7788e833080","name":"GraphProfile","locationUrl":"https://dev.azure.com/myorg/"},{"id":"8580c551-69db-4092-9050-c9ccd4521d2e","name":"Deployment","locationUrl":"https://dev.azure.com/myorg/"},{"id":"8803eb84-4c4e-458e-9de3-ca3bdabcb948","name":"ArmProjectProvider","locationUrl":"https://dev.azure.com/myorg/"},{"id":"ac02550f-721a-4913-8ea5-cadae535b03f","name":"Subscription","locationUrl":"https://vscommerce.dev.azure.com/myorg/"},{"id":"2e9f9f41-088b-4b4e-8438-cb3faa3bf7e4","name":"TestImpact","locationUrl":"https://vstmr.dev.azure.com/myorg/"},{"id":"611c52d2-d6ad-4a87-a755-cbfa71192401","name":"AbuseDetection","locationUrl":"https://vsaex.dev.azure.com/myorg/"},{"id":"c2aa639c-3ccc-4740-b3b6-ce2a1e1d984e","name":"Test","locationUrl":"https://dev.azure.com/myorg/"},{"id":"9d9ce0d0-caa9-4fbe-a307-d0a3eda0745a","name":"Interaction","locationUrl":"https://dev.azure.com/myorg/"},{"id":"2d6ccda0-c2e3-49e8-9982-d19729ec4068","name":"onymousimportproperty","locationUrl":"https://dataimport.dev.azure.com/myorg/"},{"id":"09db0526-2f7f-456d-bd14-d2530286d2da","name":"pipelineArtifact","locationUrl":"https://artifacts.dev.azure.com/myorg/"},{"id":"b4a54c31-29a1-41e6-b301-d35b1ed663a0","name":"Test","locationUrl":"https://dev.azure.com/myorg/"},{"id":"11635d5f-a4f9-43ea-a48b-d56be43fee0f","name":"boards","locationUrl":"https://dev.azure.com/myorg/"},{"id":"e4c27205-9d23-4c98-b958-d798bc3f9cd4","name":"testplan","locationUrl":"https://dev.azure.com/myorg/"},{"id":"416e89c8-2312-463e-a5e3-d817559ec6a8","name":"Slack","locationUrl":"https://azchatops.dev.azure.com/myorg/"},{"id":"7ba69ffe-5f6f-4a87-b1a4-da1c0921c187","name":"AdminEngagement","locationUrl":"https://dev.azure.com/myorg/"},{"id":"75cad6d7-ee47-4e86-9a06-db41ae372b00","name":"TestExecution","locationUrl":"https://vstmr.dev.azure.com/myorg/"},{"id":"8a3d49b8-91f0-46ef-b33d-dda338c25db3","name":"IMS","locationUrl":"https://vssps.dev.azure.com/myorg/"},{"id":"ea48a0a1-269c-42d8-b8ad-ddc8fcdcf578","name":"search","locationUrl":"https://almsearch.dev.azure.com/myorg/"},{"id":"bb1e7ec9-e901-4b68-999a-de7012b920f8","name":"Graph","locationUrl":"https://vssps.dev.azure.com/myorg/"},{"id":"7136235f-d277-4c27-9194-e3ada05fea2c","name":"ComponentGovernance","locationUrl":"https://governance.dev.azure.com/myorg/"},{"id":"10e22a82-4bbc-41f2-a814-e471337d2e03","name":"Dependabot","locationUrl":"https://dpdbot.dev.azure.com/myorg/"},{"id":"4f9a6c65-a750-4de3-96d3-e4bccf3a39b0","name":"LicensingRule","locationUrl":"https://vslicense.dev.azure.com/myorg/"},{"id":"fc3682be-3d6c-427a-87c8-e527b16a1d05","name":"Identity","locationUrl":"https://vssps.dev.azure.com/myorg/"},{"id":"eda6260f-89a1-46f2-8699-e7bcf4c5a119","name":"PackagingDiagnostics","locationUrl":"https://pkgs.dev.azure.com/myorg/"},{"id":"18203a9a-4b1f-43f7-b485-e82101bf784b","name":"Notes","locationUrl":"https://vstskalypso.dev.azure.com/myorg/"},{"id":"f3e9b8f5-7c1f-46e4-819b-e8a44ab105b8","name":"PermissionsReport","locationUrl":"https://dev.azure.com/myorg/"},{"id":"a0dee11c-29cd-4ca2-8343-e9062368d8b4","name":"DRITools","locationUrl":"https://dev.azure.com/myorg/"},{"id":"39502c97-0ea9-48cc-90ae-ea1083a1c8fa","name":"SampleExtension","locationUrl":"https://governance.dev.azure.com/myorg/"},{"id":"0ad75e84-88ae-4325-84b5-ebb30910283c","name":"Token","locationUrl":"https://vssps.dev.azure.com/myorg/"},{"id":"01c5c153-8bc0-4f07-912a-ec4dc386076d","name":"tokenoauth2","locationUrl":"https://vstoken.dev.azure.com/myorg/"},{"id":"b5614b15-0aa6-4d0d-a007-ed83b5a5a85e","name":"Teams","locationUrl":"https://vsaex.dev.azure.com/myorg/"},{"id":"d56223df-8ccd-45c9-89b4-eddf69240690","name":"blob","locationUrl":"https://vsblob.dev.azure.com/myorg/"},{"id":"bc93db6f-a647-4d80-a3af-efa394e4baa7","name":"ProjectSettings","locationUrl":"https://dev.azure.com/myorg/"},{"id":"585028fe-17d8-49e2-9a1b-efb4d8502156","name":"oauth2","locationUrl":"https://vssps.dev.azure.com/myorg/"},{"id":"31d56a90-a194-4567-aacf-efe0007e3309","name":"BasicAuthBatch","locationUrl":"https://vssps.dev.azure.com/myorg/"},{"id":"af607f94-69ba-4821-8159-f04e37b66350","name":"Symbol","locationUrl":"https://artifacts.dev.azure.com/myorg/"},{"id":"af68438b-ed04-4407-9eb6-f1dbae3f922e","name":"TokenAdmin","locationUrl":"https://vssps.dev.azure.com/myorg/"},{"id":"33e404a3-5e99-4dd4-a836-f3a4c45e3221","name":"CodeMapper","locationUrl":"https://vsaex.dev.azure.com/myorg/"},{"id":"0e2d38b0-90af-4e4d-9ef7-f4510413e129","name":"NugetConfigAnalysisTask","locationUrl":"https://governance.dev.azure.com/myorg/"},{"id":"1814ab31-2f4f-4a9f-8761-f4d77dc5a5d7","name":"serviceendpoint","locationUrl":"https://dev.azure.com/myorg/"},{"id":"57731fdf-7d72-4678-83de-f8b31266e429","name":"Reporting","locationUrl":"https://dev.azure.com/myorg/"},{"id":"7658fa33-b1bf-4580-990f-fac5896773d3","name":"projectanalysis","locationUrl":"https://dev.azure.com/myorg/"},{"id":"6d1800d2-db34-4956-88b4-fad14617d011","name":"MEMInternal","locationUrl":"https://vsaex.dev.azure.com/myorg/"},{"id":"45fb9450-a28d-476d-9b0f-fb4aedddff73","name":"Package","locationUrl":"https://vscommerce.dev.azure.com/myorg/"},{"id":"1f131d7f-cfbb-4ec9-b358-fb4e8341ce59","name":"Tagging","locationUrl":"https://dev.azure.com/myorg/"},{"id":"85f8c7b6-92fe-4ba6-8b6d-fbb67c809341","name":"worktracking","locationUrl":"https://dev.azure.com/myorg/"},{"id":"b2f5faa8-caaf-436f-b40c-fc45778e174d","name":"UserAccountMapping","locationUrl":"https://vssps.dev.azure.com/myorg/"},{"id":"1e984811-4250-48bd-9c57-fe40eab4a630","name":"Chat","locationUrl":"https://dev.azure.com/myorg/"},{"id":"0a833654-df2a-437e-8253-fe6b63b82035","name":"environments","locationUrl":"https://dev.azure.com/myorg/"},{"id":"a81a0441-de52-4000-aa15-ff0e07bfbbaa","name":"pipelinePermissions","locationUrl":"https://dev.azure.com/myorg/"},{"id":"00000041-0000-8888-8000-000000000000","name":"Location Service","locationUrl":"https://vsaex.dev.azure.com/myorg/"},{"id":"00000047-0000-8888-8000-000000000000","name":"Location Service","locationUrl":"https://vscommerce.dev.azure.com/myorg/"},{"id":"0000005e-0000-8888-8000-000000000000","name":"Location Service","locationUrl":"https://commvtwo.dev.azure.com/myorg/"},{"id":"00000071-0000-8888-8000-000000000000","name":"Location Service","locationUrl":"https://advsec.dev.azure.com/myorg/"},{"id":"00000054-0000-8888-8000-000000000000","name":"Location Service","locationUrl":"https://vstmr.dev.azure.com/myorg/"},{"id":"00000030-0000-8888-8000-000000000000","name":"Location Service","locationUrl":"https://pkgs.dev.azure.com/myorg/"},{"id":"00000049-0000-8888-8000-000000000000","name":"Location Service","locationUrl":"https://governance.dev.azure.com/myorg/"},{"id":"00000016-0000-8888-8000-000000000000","name":"Location Service","locationUrl":"https://artifacts.dev.azure.com/myorg/"},{"id":"00025394-6065-48ca-87d9-7f5672854ef7","name":"Location Service","locationUrl":"https://dev.azure.com/myorg/"},{"id":"00000019-0000-8888-8000-000000000000","name":"Location Service","locationUrl":"https://vsblob.dev.azure.com/myorg/"},{"id":"00000010-0000-8888-8000-000000000000","name":"Location Service","locationUrl":"https://almsearch.dev.azure.com/myorg/"},{"id":"00000028-0000-8888-8000-000000000000","name":"Location Service","locationUrl":"https://extmgmt.dev.azure.com/myorg/"},{"id":"00000064-0000-8888-8000-000000000000","name":"Location Service","locationUrl":"https://auditservice.dev.azure.com/myorg/"},{"id":"0000000f-0000-8888-8000-000000000000","name":"Location Service","locationUrl":"https://codelens.dev.azure.com/myorg/"},{"id":"00000003-0000-8888-8000-000000000000","name":"Location Service","locationUrl":"https://vssh.dev.azure.com/myorg/"},{"id":"00000043-0000-8888-8000-000000000000","name":"Location Service","locationUrl":"https://vslicense.dev.azure.com/myorg/"},{"id":"0000003e-0000-8888-8000-000000000000","name":"Location Service","locationUrl":"https://dataimport.dev.azure.com/myorg/"},{"id":"0000003c-0000-8888-8000-000000000000","name":"Location Service","locationUrl":"https://analytics.dev.azure.com/myorg/"},{"id":"00000036-0000-8888-8000-000000000000","name":"Location Service","locationUrl":"https://feeds.dev.azure.com/myorg/"},{"id":"00000059-0000-8888-8000-000000000000","name":"Location Service","locationUrl":"https://vsdscops.dev.azure.com/myorg/"},{"id":"00000052-0000-8888-8000-000000000000","name":"Location Service","locationUrl":"https://vstoken.dev.azure.com/myorg/"},{"id":"00000057-0000-8888-8000-000000000000","name":"Location Service","locationUrl":"https://gdprdel.dev.azure.com/myorg/"},{"id":"0000000d-0000-8888-8000-000000000000","name":"Location Service","locationUrl":"https://vsrm.dev.azure.com/myorg/"},{"id":"00000044-0000-8888-8000-000000000000","name":"Location Service","locationUrl":"https://vstskalypso.dev.azure.com/myorg/"},{"id":"00000072-0000-8888-8000-000000000000","name":"Location Service","locationUrl":"https://dpdbot.dev.azure.com/myorg/"},{"id":"00000067-0000-8888-8000-000000000000","name":"Location Service","locationUrl":"https://azchatops.dev.azure.com/myorg/"},{"id":"00000035-0000-8888-8000-000000000000","name":"Location Service","locationUrl":"https://entreq.dev.azure.com/myorg/"},{"id":"951917ac-a960-4999-8464-e3f0aa25b381","name":"SPS Location Service","locationUrl":"https://vssps.dev.azure.com/myorg/"}]}' 2024-02-07T16:08:33.4054094Z DEBUG: msrest.universal_http.requests: Configuring retry: max_retries=3, backoff_factor=0.8, max_backoff=90 2024-02-07T16:08:33.4055611Z DEBUG: azext_devops.devops_sdk.client: Route template: _apis/{resource}/{*projectId} 2024-02-07T16:08:33.4056362Z DEBUG: azext_devops.devops_sdk.client: Api version '5.0' 2024-02-07T16:08:33.4056862Z DEBUG: azext_devops.devops_sdk.client: GET https://dev.azure.com/myorg/_apis/projects?stateFilter=all&$top=1&$skip=0 2024-02-07T16:08:33.4057117Z DEBUG: azext_devops.devops_sdk.client: Request content: None 2024-02-07T16:08:33.4057337Z DEBUG: msrest.universal_http: Configuring redirects: allow=True, max=30 2024-02-07T16:08:33.4057624Z DEBUG: msrest.universal_http: Configuring request: timeout=100, verify=True, cert=None 2024-02-07T16:08:33.4057926Z DEBUG: msrest.universal_http: Configuring proxies: '' 2024-02-07T16:08:33.4058138Z DEBUG: msrest.universal_http: Evaluate proxies against ENV settings: True 2024-02-07T16:08:33.4071378Z DEBUG: urllib3.connectionpool: Starting new HTTPS connection (1): dev.azure.com:443 2024-02-07T16:08:33.5701106Z DEBUG: urllib3.connectionpool: https://dev.azure.com:443 "GET /myorg/_apis/projects?stateFilter=all&$top=1&$skip=0 HTTP/1.1" 200 335 2024-02-07T16:08:33.5705662Z DEBUG: azext_devops.devops_sdk.client: Response content: b'{"count":1,"value":[{"id":"00000000-0000-0000-0000-000000000000","name":"myProject","url":"https://dev.azure.com/myorg/_apis/projects/00000000-0000-0000-0000-000000000000","state":"wellFormed","revision":15,"visibility":"private","lastUpdateTime":"2022-05-12T18:24:13.223Z"}]}' 2024-02-07T16:08:33.5748853Z DEBUG: msrest.universal_http.requests: Configuring retry: max_retries=3, backoff_factor=0.8, max_backoff=90 2024-02-07T16:08:33.5749335Z DEBUG: cli.azext_devops.dev.common.telemetry: Azure devops telemetry enabled. 2024-02-07T16:08:33.5749600Z DEBUG: cli.azext_devops.dev.common.telemetry: Logging telemetry to azure devops server. 2024-02-07T16:08:33.5792918Z DEBUG: msrest.universal_http.requests: Configuring retry: max_retries=3, backoff_factor=0.8, max_backoff=90 2024-02-07T16:08:33.5835947Z DEBUG: msrest.universal_http.requests: Configuring retry: max_retries=3, backoff_factor=0.8, max_backoff=90 2024-02-07T16:08:33.5836447Z DEBUG: azext_devops.devops_sdk.client: Route template: _apis/{area}/{resource} 2024-02-07T16:08:33.5836750Z DEBUG: azext_devops.devops_sdk.connection: File cache hit for resources on: https://dev.azure.com/myorg 2024-02-07T16:08:33.5889565Z DEBUG: azext_devops.devops_sdk.client: Api version '5.0-preview.1' 2024-02-07T16:08:33.5907103Z DEBUG: msrest.universal_http.requests: Configuring retry: max_retries=3, backoff_factor=0.8, max_backoff=90 2024-02-07T16:08:33.5907596Z DEBUG: cli.azext_devops.dev.common.utils: inside read_file_content_ver3 2024-02-07T16:08:33.5907996Z DEBUG: azext_devops.devops_sdk.client: POST https://dev.azure.com/myorg/_apis/CustomerIntelligence/Events 2024-02-07T16:08:33.5909328Z DEBUG: azext_devops.devops_sdk.client: Request content: [{'area': 'AzureDevopsCli', 'feature': 'devops', 'properties': {'Command': 'service-endpoint create', 'Args': 'service_endpoint_configuration encoding organization project', 'ShellType': '/bin/bash', 'IsInteractive': 'False', 'OutputType': 'json', 'OrgPresentInCommand': True, 'ProjectPresentInCommand': True, 'RepoPresentInCommand': False}}] 2024-02-07T16:08:33.5910604Z DEBUG: msrest.universal_http: Configuring redirects: allow=True, max=30 2024-02-07T16:08:33.5910826Z DEBUG: msrest.universal_http: Configuring request: timeout=100, verify=True, cert=None 2024-02-07T16:08:33.5911037Z DEBUG: msrest.universal_http: Configuring proxies: '' 2024-02-07T16:08:33.5911232Z DEBUG: msrest.universal_http: Evaluate proxies against ENV settings: True 2024-02-07T16:08:33.5927919Z DEBUG: azext_devops.devops_sdk.client: Route template: {project}/_apis/{area}/{resource}/{endpointId} 2024-02-07T16:08:33.5930245Z DEBUG: urllib3.connectionpool: Starting new HTTPS connection (1): dev.azure.com:443 2024-02-07T16:08:33.5930834Z DEBUG: azext_devops.devops_sdk.client: Api version '5.0-preview.2' 2024-02-07T16:08:33.5931391Z DEBUG: azext_devops.devops_sdk.client: POST https://dev.azure.com/myorg/00000000-0000-0000-0000-000000000000/_apis/serviceendpoint/endpoints 2024-02-07T16:08:33.5933739Z DEBUG: azext_devops.devops_sdk.client: Request content: {'authorization': {'parameters': {'loginServer': 'demomyProjectcontainerregistry.azurecr.io', 'role': '8311e382-0749-4cb8-b61a-304f252e45ec', 'scope': '$(Create_Container_Registry.containerRegistryId)', 'servicePrincipalId': '', 'tenantId': '$(envTenantId)'}, 'scheme': 'ServicePrincipal'}, 'data': {'appObjectId': '', 'azureSpnPermissions': '', 'azureSpnRoleAssignmentId': '', 'registryId': '$(Create_Container_Registry.containerRegistryId)', 'registrytype': 'ACR', 'spnObjectId': '', 'subscriptionId': '$(envSubscriptionId)', 'subscriptionName': '$(envSubscriptionName)'}, 'description': '', 'isShared': False, 'name': 'demomyProjectcontainerregistryserviceconnection', 'owner': 'library', 'type': 'dockerregistry', 'url': 'https://demomyProjectcontainerregistry.azurecr.io'} 2024-02-07T16:08:33.5934509Z DEBUG: msrest.universal_http: Configuring redirects: allow=True, max=30 2024-02-07T16:08:33.5934711Z DEBUG: msrest.universal_http: Configuring request: timeout=100, verify=True, cert=None 2024-02-07T16:08:33.5934893Z DEBUG: msrest.universal_http: Configuring proxies: '' 2024-02-07T16:08:33.5935081Z DEBUG: msrest.universal_http: Evaluate proxies against ENV settings: True 2024-02-07T16:08:33.5946479Z DEBUG: urllib3.connectionpool: Starting new HTTPS connection (1): dev.azure.com:443 2024-02-07T16:08:33.6729605Z DEBUG: urllib3.connectionpool: https://dev.azure.com:443 "POST /myorg/_apis/CustomerIntelligence/Events HTTP/1.1" 204 0 2024-02-07T16:08:34.5852692Z DEBUG: urllib3.connectionpool: https://dev.azure.com:443 "POST /myorg/00000000-0000-0000-0000-000000000000/_apis/serviceendpoint/endpoints HTTP/1.1" 200 1098 2024-02-07T16:08:34.5859063Z DEBUG: azext_devops.devops_sdk.client: Response content: b'{"data":{"appObjectId":"","azureSpnPermissions":"","azureSpnRoleAssignmentId":"","registryId":"$(Create_Container_Registry.containerRegistryId)","registrytype":"ACR","spnObjectId":"","subscriptionId":"$(envSubscriptionId)","subscriptionName":"$(envSubscriptionName)"},"id":"12867cb7-c0d9-4c8b-b2f2-1e12e6876e79","name":"demomyProjectcontainerregistryserviceconnection","type":"dockerregistry","url":"https://hub.docker.com/","createdBy":{"displayName":"myorg-myProject-00000000-0000-0000-0000-000000000000","url":"https://spsprodcus5.vssps.visualstudio.com/Ad59d1ca2-d9e8-4d4f-9f1f-49aeb8907c56/_apis/Identities/3f4e0384-f1f6-6e49-af14-8bf052ae0ec4","_links":{"avatar":{"href":"https://dev.azure.com/myorg/_apis/GraphProfile/MemberAvatars/aadsp.M2Y0ZTAzODQtZjFmNi03ZTQ5LWFmMTQtOGJmMDUyYWUwZWM0"}},"id":"3f4e0384-f1f6-6e49-af14-8bf052ae0ec4","uniqueName":"00000000-0000-0000-0000-000000000000\\\\a714afe3-2e47-4069-9b2d-db5b12daeeff","imageUrl":"https://dev.azure.com/myorg/_apis/GraphProfile/MemberAvatars/aadsp.M2Y0ZTAzODQtZjFmNi03ZTQ5LWFmMTQtOGJmMDUyYWUwZWM0","descriptor":"aadsp.M2Y0ZTAzODQtZjFmNi03ZTQ5LWFmMTQtOGJmMDUyYWUwZWM0"},"description":"","authorization":{"parameters":{"loginServer":"demomyProjectcontainerregistry.azurecr.io","role":"8311e382-0749-4cb8-b61a-304f252e45ec","scope":"$(Create_Container_Registry.containerRegistryId)","servicePrincipalId":"","tenantId":"$(envTenantId)"},"scheme":"ServicePrincipal"},"isShared":false,"isOutdated":false,"isReady":false,"operationStatus":{"state":"InProgress","statusMessage":"","severity":null},"owner":"library","serviceEndpointProjectReferences":[{"projectReference":{"id":"00000000-0000-0000-0000-000000000000","name":null},"name":"demomyProjectcontainerregistryserviceconnection","description":""}]}' 2024-02-07T16:08:34.5861081Z DEBUG: cli.knack.cli: Event: CommandInvoker.OnTransformResult [<function _resource_group_transform at 0x7f20118f6480>, <function _x509_from_base64_to_hex_transform at 0x7f20118f6520>] 2024-02-07T16:08:34.5861817Z DEBUG: cli.knack.cli: Event: CommandInvoker.OnFilterResult [] 2024-02-07T16:08:34.5864351Z DEBUG: cli.knack.cli: Event: Cli.SuccessfulExecute [] 2024-02-07T16:08:34.5864740Z DEBUG: cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x7f20118ad300>] 2024-02-07T16:08:34.5865217Z INFO: az_command_data_logger: exit code: 0 2024-02-07T16:08:34.5865486Z INFO: cli.main: Command ran in 2.506 seconds (init: 0.148, invoke: 2.359) 2024-02-07T16:08:34.6478174Z INFO: telemetry.main: Begin splitting cli events and extra events, total events: 1 2024-02-07T16:08:34.6478728Z INFO: telemetry.client: Accumulated 0 events. Flush the clients. 2024-02-07T16:08:34.6479047Z INFO: telemetry.main: Finish splitting cli events and extra events, cli events: 1 2024-02-07T16:08:34.6480885Z INFO: telemetry.save: Save telemetry record of length 3555 in cache 2024-02-07T16:08:34.6481247Z INFO: telemetry.main: Begin creating telemetry upload process. 2024-02-07T16:08:34.6482108Z INFO: telemetry.process: Creating upload process: "/opt/az/bin/python3 /opt/az/lib/python3.11/site-packages/azure/cli/telemetry/init.py /agent/_work/_temp/.azclitask" 2024-02-07T16:08:34.6486294Z INFO: telemetry.process: Return from creating process 2024-02-07T16:08:34.6486725Z INFO: telemetry.main: Finish creating telemetry upload process. 2024-02-07T16:08:34.7035860Z
2024-02-07T16:08:34.7054647Z $outputJson={ "administratorsGroup": null, "authorization": { "parameters": { "loginServer": "demomyProjectcontainerregistry.azurecr.io", "role": "8311e382-0749-4cb8-b61a-304f252e45ec", "scope": "$(Create_Container_Registry.containerRegistryId)", "servicePrincipalId": "", "tenantId": "$(envTenantId)" }, "scheme": "ServicePrincipal" }, "createdBy": { "descriptor": "aadsp.M2Y0ZTAzODQtZjFmNi03ZTQ5LWFmMTQtOGJmMDUyYWUwZWM0", "directoryAlias": null, "displayName": "myorg-myProject-00000000-0000-0000-0000-000000000000", "id": "3f4e0384-f1f6-6e49-af14-8bf052ae0ec4", "imageUrl": "https://dev.azure.com/myorg/_apis/GraphProfile/MemberAvatars/aadsp.M2Y0ZTAzODQtZjFmNi03ZTQ5LWFmMTQtOGJmMDUyYWUwZWM0", "inactive": null, "isAadIdentity": null, "isContainer": null, "isDeletedInOrigin": null, "profileUrl": null, "uniqueName": "00000000-0000-0000-0000-000000000000\a714afe3-2e47-4069-9b2d-db5b12daeeff", "url": "https://spsprodcus5.vssps.visualstudio.com/Ad59d1ca2-d9e8-4d4f-9f1f-49aeb8907c56/_apis/Identities/3f4e0384-f1f6-6e49-af14-8bf052ae0ec4" }, "data": { "appObjectId": "", "azureSpnPermissions": "", "azureSpnRoleAssignmentId": "", "registryId": "$(Create_Container_Registry.containerRegistryId)", "registrytype": "ACR", "spnObjectId": "", "subscriptionId": "$(envSubscriptionId)", "subscriptionName": "$(envSubscriptionName)" }, "description": "", "groupScopeId": null, "id": "12867cb7-c0d9-4c8b-b2f2-1e12e6876e79", "isOutdated": false, "isReady": false, "isShared": false, "name": "demomyProjectcontainerregistryserviceconnection", "operationStatus": { "severity": null, "state": "InProgress", "statusMessage": "" }, "owner": "library", "readersGroup": null, "serviceEndpointProjectReferences": [ { "description": "", "name": "demomyProjectcontainerregistryserviceconnection", "projectReference": { "id": "00000000-0000-0000-0000-000000000000", "name": null } } ], "type": "dockerregistry", "url": "https://hub.docker.com/" } 2024-02-07T16:08:34.7787204Z
2024-02-07T16:08:34.7793168Z $srvEndpointID=12867cb7-c0d9-4c8b-b2f2-1e12e6876e79 2024-02-07T16:08:34.8766285Z [command]/usr/bin/az account clear 2024-02-07T16:08:35.2536383Z ##[section]Finishing: Add Container Registry Service Connection

Expected behavior

A valid, usable service connection should be created, along with a new service principal which is associated with it.

Environment Summary

azure-cli 2.56.0 *

core 2.56.0 * telemetry 1.1.0

Extensions: azure-devops 0.26.0

Dependencies: msal 1.24.0b2 azure-mgmt-resource 23.1.0b2

Python location '/opt/az/bin/python3' Extensions directory '/opt/az/azcliextensions'

Python (Linux) 3.11.5 (main, Jan 8 2024, 09:08:13) [GCC 11.4.0]

Additional context

The 'create' should fail if it is unable to create a working service connection. I have tried using my administrative credentials, and the command line fails the same way there as well. When I use the web interface (dev.azure.com) I am able to successfully create the ACR service connection. I have also confirmed that the json file provided to the command line matches the json data submitted when I use the web interface.

yonzhan commented 5 months ago

Thank you for opening this issue, we will look into it.

microsoft-github-policy-service[bot] commented 5 months ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @v-anvashist, @V-hmusukula.