Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

az afd security-policy update "The command line is too long." #29956

Open
benj-ch opened this issue Sep 23, 2024 · 4 comments
Open

az afd security-policy update "The command line is too long." #29956

benj-ch opened this issue Sep 23, 2024 · 4 comments
Labels
Auto-Assign Auto assign by bot bug This issue requires a change to an existing behavior in the product in order to be resolved. customer-reported Issues that are reported by GitHub users external to the Azure organization. Network - Front Door Service Attention This issue is responsible by Azure service team.

Comments

@benj-ch
Copy link

benj-ch commented Sep 23, 2024

Describe the bug

I have an Azure Front Door Premium, 1 security policy associated to some custom domains.
I want to associate 1 more custom domain to the security policy.

I got the following error "az: The command line is too long.":
image

The command has 8358 characters and PowerShell accepts only 8191.

I have the error with 42 custom-domains but I have thousand of custom domains to associate to the same security policy.

I tried to use only the custom domain name (like my old issue #28379) but it's not working:
image
ERROR: (LinkedInvalidPropertyId) Property id '99999985-customdomaincustomer-contoso-com' at path 'properties.parameters.associations[0].domains[0].id' is invalid. Expect fully qualified resource Id that start with '/subscriptions/{subscriptionId}' or '/providers/{resourceProviderNamespace}/'.

I saw there is a parameter "--add" on the command but I don't find how to use it (https://learn.microsoft.com/en-us/cli/azure/afd/security-policy?view=azure-cli-latest#az-afd-security-policy-update).

How to manage Azure Front Door with a command line?

Related command

az afd security-policy update --resource-group RSGXXXXXXYYY001-TEMPOR --profile-name LBAXXXXXXYYY001 --endpoint-name LBAXXXXXXYYY001 --route-name "abcdefghijklmno-test-route" --custom-domains /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999985-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999950-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999949-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999916-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999973-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999974-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999991-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999997-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999924-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999969-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999994-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999987-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999906-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999940-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/url01-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999992-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999956-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999918-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999983-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999945-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999946-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999963-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999907-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999917-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999993-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999931-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999926-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999921-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999927-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999920-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999988-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999962-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999914-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999968-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999925-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999958-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999913-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999901-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999941-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999903-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999954-customdomaincustomer-contoso-com /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customdomains/99999955-customdomaincustomer-contoso-com

OR

az afd security-policy update --resource-group $resourceGroup --profile-name $afd --security-policy-name $securityPolicyName --waf-policy /subscriptions/344dfb5c-7766-44e4-9e87-4c77e0d18354/resourceGroups/RSG839700PASI04-RETAIL/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/SEC839785WAFI12 --domains 99999985-customdomaincustomer-contoso-com

Errors

az : The command line is too long.
At line:1 char:1
+ az afd security-policy update --resource-group RSGXXXXXXYYY001-TEMPOR ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (The command line is too long.:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
az : WARNING: Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
At line:1 char:1
+ az afd security-policy update --resource-group $resourceGroup --profi ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (WARNING: Comman...s/CLI_refstatus:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
 
ERROR: (LinkedInvalidPropertyId) Property id '99999985-customdomaincustomer-contoso-com' at path 'properties.parameters.associations[0].domains[0].id' is invalid. Expect fully qualified resource Id that start with '/subscriptions/{subscriptionId}' or 
'/providers/{resourceProviderNamespace}/'.
Code: LinkedInvalidPropertyId
Message: Property id '99999985-customdomaincustomer-contoso-com' at path 'properties.parameters.associations[0].domains[0].id' is invalid. Expect fully qualified resource Id that start with '/subscriptions/{subscriptionId}' or 
'/providers/{resourceProviderNamespace}/'.

Issue script & Debug output

Only for the command
az afd security-policy update --resource-group RSGXXXXXXYYY001-TEMPOR --profile-name LBAXXXXXXYYY001 --security-policy-name SECXXXXXXYYY001 --waf-policy /subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourceGroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/SECXXXXXXYYY001 --domains 99999985-customdomaincustomer-contoso-com

az : DEBUG: cli.knack.cli: Command arguments: ['afd', 'security-policy', 'update', '--resource-group', 'RSGXXXXXXYYY001-TEMPOR', '--profile-name', 'LBAXXXXXXYYY001', '--security-policy-name', 'SECXXXXXXYYY001', '--waf-policy', 
'/subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourceGroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/SECXXXXXXYYY001', '--domains', '99999985-customdomaincustomer-contoso-com', '--debug']
At line:1 char:1
+ az afd security-policy update --resource-group $resourceGroup --profi ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (DEBUG: cli.knac...om', '--debug']:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
 
DEBUG: cli.knack.cli: __init__ debug log:
Cannot enable color.
DEBUG: cli.knack.cli: Event: Cli.PreExecute []
DEBUG: cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x000002AB9F9BB7E0>, <function OutputProducer.on_global_arguments at 0x000002AB9FB46020>, <function CLIQuery.on_global_arguments at 
0x000002AB9FB73BA0>]
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
DEBUG: cli.azure.cli.core: Modules found from index for 'afd': ['azure.cli.command_modules.cdn']
DEBUG: cli.azure.cli.core: Loading command modules:
DEBUG: cli.azure.cli.core: Name                  Load Time    Groups  Commands
DEBUG: cli.azure.cli.core: cdn                       0.296        21        57
DEBUG: cli.azure.cli.core: Total (1)                 0.296        21        57
DEBUG: cli.azure.cli.core: These extensions are not installed and will be skipped: ['azext_ai_examples', 'azext_next']
DEBUG: cli.azure.cli.core: Loading extensions:
DEBUG: cli.azure.cli.core: Name                  Load Time    Groups  Commands  Directory
DEBUG: cli.azure.cli.core: Total (0)                 0.000         0         0  
DEBUG: cli.azure.cli.core: Loaded 21 groups, 57 commands.
DEBUG: cli.azure.cli.core: Found a match in the command table.
DEBUG: cli.azure.cli.core: Raw command  : afd security-policy update
DEBUG: cli.azure.cli.core: Command table: afd security-policy update
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x000002ABA1F2FE20>]
DEBUG: cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to 'C:\Users\chaudetb\.azure\commands\2024-09-23.10-49-19.afd_security-policy_update.31768.log'.
INFO: az_command_data_logger: command args: afd security-policy update --resource-group {} --profile-name {} --security-policy-name {} --waf-policy {} --domains {} --debug
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument.<locals>.add_subscription_parameter at 0x000002ABA2B12340>]
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument.<locals>.add_ids_arguments at 0x000002ABA2B123E0>, <function register_cache_arguments.<locals>.add_cache_arguments at 0x000002ABA2B12520>, <function 
register_upcoming_breaking_change_info.<locals>.update_breaking_change_info at 0x000002ABA2B125C0>]
DEBUG: cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x000002AB9FB460C0>, <function CLIQuery.handle_query_parameter at 0x000002AB9FB73C40>, <function 
register_ids_argument.<locals>.parse_ids_arguments at 0x000002ABA2B12480>]
DEBUG: cli.azure.cli.core.auth.persistence: build_persistence: location='C:\\Users\\chaudetb\\.azure\\msal_token_cache.bin', encrypt=True
DEBUG: cli.azure.cli.core.auth.binary_cache: load: C:\Users\chaudetb\.azure\msal_http_cache.bin
DEBUG: urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None)
DEBUG: msal.authority: Initializing with Entra authority: https://login.microsoftonline.com/604e5547-f49c-4481-8476-c14f22fd79cb
DEBUG: msal.authority: openid_config("https://login.microsoftonline.com/604e5547-f49c-4481-8476-c14f22fd79cb/v2.0/.well-known/openid-configuration") = {'token_endpoint': 
'https://login.microsoftonline.com/604e5547-f49c-4481-8476-c14f22fd79cb/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 
'https://login.microsoftonline.com/604e5547-f49c-4481-8476-c14f22fd79cb/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/604e5547-f49c-4481-8476-c14f22fd79cb/v2.0', 
'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/604e5547-f49c-4481-8476-c14f22fd79cb/oauth2/v2.0/authorize', 
'device_authorization_endpoint': 'https://login.microsoftonline.com/604e5547-f49c-4481-8476-c14f22fd79cb/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 
'https://login.microsoftonline.com/604e5547-f49c-4481-8476-c14f22fd79cb/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/604e5547-f49c-4481-8476-c14f22fd79cb/kerberos', 'tenant_region_scope': 'EU', 'cloud_instance_name': 
'microsoftonline.com', 'cloud_graph_host_name': 'graph.windows.net', 'msgraph_host': 'graph.microsoft.com', 'rbac_url': 'https://pas.windows.net'}
DEBUG: msal.application: Broker enabled? True
DEBUG: cli.azure.cli.core.auth.credential_adaptor: CredentialAdaptor.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={}
DEBUG: cli.azure.cli.core.auth.msal_authentication: UserCredential.get_token: scopes=('https://management.core.windows.net//.default',), claims=None, kwargs={}
DEBUG: msal.application: Cache hit an AT
DEBUG: msal.telemetry: Generate or reuse correlation_id: 0f60397c-9806-4d96-a071-de0a04a2fe24
DEBUG: cli.azure.cli.core.sdk.policies: Request URL: 
'https://management.azure.com/subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourceGroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/securityPolicies/SECXXXXXXYYY001?api-version=2024-02-01'
DEBUG: cli.azure.cli.core.sdk.policies: Request method: 'GET'
DEBUG: cli.azure.cli.core.sdk.policies: Request headers:
DEBUG: cli.azure.cli.core.sdk.policies:     'Accept': 'application/json'
DEBUG: cli.azure.cli.core.sdk.policies:     'x-ms-client-request-id': 'b8a81aa6-7988-11ef-82da-c89402bace8c'
DEBUG: cli.azure.cli.core.sdk.policies:     'CommandName': 'afd security-policy update'
DEBUG: cli.azure.cli.core.sdk.policies:     'ParameterSetName': '--resource-group --profile-name --security-policy-name --waf-policy --domains --debug'
DEBUG: cli.azure.cli.core.sdk.policies:     'User-Agent': 'AZURECLI/2.64.0 (MSI) azsdk-python-core/1.28.0 Python/3.11.8 (Windows-10-10.0.19045-SP0)'
DEBUG: cli.azure.cli.core.sdk.policies:     'Authorization': '*****'
DEBUG: cli.azure.cli.core.sdk.policies: Request body:
DEBUG: cli.azure.cli.core.sdk.policies: This request has no body
DEBUG: urllib3.connectionpool: Starting new HTTPS connection (1): management.azure.com:443
DEBUG: urllib3.connectionpool: https://management.azure.com:443 "GET 
/subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourceGroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/securityPolicies/SECXXXXXXYYY001?api-version=2024-02-01 HTTP/1.1" 200 834
DEBUG: cli.azure.cli.core.sdk.policies: Response status: 200
DEBUG: cli.azure.cli.core.sdk.policies: Response headers:
DEBUG: cli.azure.cli.core.sdk.policies:     'Cache-Control': 'no-cache'
DEBUG: cli.azure.cli.core.sdk.policies:     'Pragma': 'no-cache'
DEBUG: cli.azure.cli.core.sdk.policies:     'Content-Length': '834'
DEBUG: cli.azure.cli.core.sdk.policies:     'Content-Type': 'application/json; charset=utf-8'
DEBUG: cli.azure.cli.core.sdk.policies:     'Expires': '-1'
DEBUG: cli.azure.cli.core.sdk.policies:     'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
DEBUG: cli.azure.cli.core.sdk.policies:     'x-ms-request-id': 'ad9c3a9f-2d6b-49ba-9b46-612a47538374'
DEBUG: cli.azure.cli.core.sdk.policies:     'x-ms-client-request-id': 'b8a81aa6-7988-11ef-82da-c89402bace8c'
DEBUG: cli.azure.cli.core.sdk.policies:     'x-ms-ratelimit-remaining-subscription-reads': '249'
DEBUG: cli.azure.cli.core.sdk.policies:     'x-ms-ratelimit-remaining-subscription-global-reads': '3749'
DEBUG: cli.azure.cli.core.sdk.policies:     'x-ms-correlation-request-id': '8bba406e-a82a-490b-a301-445547327d85'
DEBUG: cli.azure.cli.core.sdk.policies:     'x-ms-routing-request-id': 'FRANCECENTRAL:20240923T084920Z:8bba406e-a82a-490b-a301-445547327d85'
DEBUG: cli.azure.cli.core.sdk.policies:     'X-Content-Type-Options': 'nosniff'
DEBUG: cli.azure.cli.core.sdk.policies:     'X-Cache': 'CONFIG_NOCACHE'
DEBUG: cli.azure.cli.core.sdk.policies:     'X-MSEdge-Ref': 'Ref A: D6C6A2494EA94318B26C58571E23D81A Ref B: AMS231032608017 Ref C: 2024-09-23T08:49:19Z'
DEBUG: cli.azure.cli.core.sdk.policies:     'Date': 'Mon, 23 Sep 2024 08:49:19 GMT'
DEBUG: cli.azure.cli.core.sdk.policies: Response content:
DEBUG: cli.azure.cli.core.sdk.policies: {"id":"/subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/securitypolicies/SECXXXXXXYYY001","type":"Microsoft.Cdn/profiles/securi
typolicies","name":"SECXXXXXXYYY001","properties":{"parameters":{"wafPolicy":{"id":"/subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourceGroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/SECXXXXXXYYY001
"},"associations":[{"domains":[{"isActive":true,"id":"/subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourceGroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customDomains/cbra8525-integration-frt"}],"patternsToMatch":["/*
"]}],"type":"WebApplicationFirewall"},"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}
DEBUG: urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None)
DEBUG: msal.authority: Initializing with Entra authority: https://login.microsoftonline.com/604e5547-f49c-4481-8476-c14f22fd79cb
DEBUG: msal.authority: openid_config("https://login.microsoftonline.com/604e5547-f49c-4481-8476-c14f22fd79cb/v2.0/.well-known/openid-configuration") = {'token_endpoint': 
'https://login.microsoftonline.com/604e5547-f49c-4481-8476-c14f22fd79cb/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 
'https://login.microsoftonline.com/604e5547-f49c-4481-8476-c14f22fd79cb/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/604e5547-f49c-4481-8476-c14f22fd79cb/v2.0', 
'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/604e5547-f49c-4481-8476-c14f22fd79cb/oauth2/v2.0/authorize', 
'device_authorization_endpoint': 'https://login.microsoftonline.com/604e5547-f49c-4481-8476-c14f22fd79cb/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 
'https://login.microsoftonline.com/604e5547-f49c-4481-8476-c14f22fd79cb/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/604e5547-f49c-4481-8476-c14f22fd79cb/kerberos', 'tenant_region_scope': 'EU', 'cloud_instance_name': 
'microsoftonline.com', 'cloud_graph_host_name': 'graph.windows.net', 'msgraph_host': 'graph.microsoft.com', 'rbac_url': 'https://pas.windows.net'}
DEBUG: msal.application: Broker enabled? True
DEBUG: cli.azure.cli.core.auth.credential_adaptor: CredentialAdaptor.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={}
DEBUG: cli.azure.cli.core.auth.msal_authentication: UserCredential.get_token: scopes=('https://management.core.windows.net//.default',), claims=None, kwargs={}
DEBUG: msal.application: Cache hit an AT
DEBUG: msal.telemetry: Generate or reuse correlation_id: 0322b798-cbfa-43ea-8634-817a9d83986a
DEBUG: cli.azure.cli.core.sdk.policies: Request URL: 
'https://management.azure.com/subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourceGroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/securityPolicies/SECXXXXXXYYY001?api-version=2024-02-01'
DEBUG: cli.azure.cli.core.sdk.policies: Request method: 'GET'
DEBUG: cli.azure.cli.core.sdk.policies: Request headers:
DEBUG: cli.azure.cli.core.sdk.policies:     'Accept': 'application/json'
DEBUG: cli.azure.cli.core.sdk.policies:     'x-ms-client-request-id': 'b8a81aa6-7988-11ef-82da-c89402bace8c'
DEBUG: cli.azure.cli.core.sdk.policies:     'CommandName': 'afd security-policy update'
DEBUG: cli.azure.cli.core.sdk.policies:     'ParameterSetName': '--resource-group --profile-name --security-policy-name --waf-policy --domains --debug'
DEBUG: cli.azure.cli.core.sdk.policies:     'User-Agent': 'AZURECLI/2.64.0 (MSI) azsdk-python-core/1.28.0 Python/3.11.8 (Windows-10-10.0.19045-SP0)'
DEBUG: cli.azure.cli.core.sdk.policies:     'Authorization': '*****'
DEBUG: cli.azure.cli.core.sdk.policies: Request body:
DEBUG: cli.azure.cli.core.sdk.policies: This request has no body
DEBUG: urllib3.connectionpool: Starting new HTTPS connection (1): management.azure.com:443
DEBUG: urllib3.connectionpool: https://management.azure.com:443 "GET 
/subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourceGroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/securityPolicies/SECXXXXXXYYY001?api-version=2024-02-01 HTTP/1.1" 200 834
DEBUG: cli.azure.cli.core.sdk.policies: Response status: 200
DEBUG: cli.azure.cli.core.sdk.policies: Response headers:
DEBUG: cli.azure.cli.core.sdk.policies:     'Cache-Control': 'no-cache'
DEBUG: cli.azure.cli.core.sdk.policies:     'Pragma': 'no-cache'
DEBUG: cli.azure.cli.core.sdk.policies:     'Content-Length': '834'
DEBUG: cli.azure.cli.core.sdk.policies:     'Content-Type': 'application/json; charset=utf-8'
DEBUG: cli.azure.cli.core.sdk.policies:     'Expires': '-1'
DEBUG: cli.azure.cli.core.sdk.policies:     'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
DEBUG: cli.azure.cli.core.sdk.policies:     'x-ms-request-id': 'ea8ea575-efd2-44d1-9906-bafb6d11a4e7'
DEBUG: cli.azure.cli.core.sdk.policies:     'x-ms-client-request-id': 'b8a81aa6-7988-11ef-82da-c89402bace8c'
DEBUG: cli.azure.cli.core.sdk.policies:     'x-ms-ratelimit-remaining-subscription-reads': '249'
DEBUG: cli.azure.cli.core.sdk.policies:     'x-ms-ratelimit-remaining-subscription-global-reads': '3749'
DEBUG: cli.azure.cli.core.sdk.policies:     'x-ms-correlation-request-id': 'eaf62090-f1c7-4bfe-9030-256b1a431341'
DEBUG: cli.azure.cli.core.sdk.policies:     'x-ms-routing-request-id': 'FRANCECENTRAL:20240923T084920Z:eaf62090-f1c7-4bfe-9030-256b1a431341'
DEBUG: cli.azure.cli.core.sdk.policies:     'X-Content-Type-Options': 'nosniff'
DEBUG: cli.azure.cli.core.sdk.policies:     'X-Cache': 'CONFIG_NOCACHE'
DEBUG: cli.azure.cli.core.sdk.policies:     'X-MSEdge-Ref': 'Ref A: 7528A70A431B466F988557E4B1C86EDD Ref B: AMS231032609035 Ref C: 2024-09-23T08:49:20Z'
DEBUG: cli.azure.cli.core.sdk.policies:     'Date': 'Mon, 23 Sep 2024 08:49:19 GMT'
DEBUG: cli.azure.cli.core.sdk.policies: Response content:
DEBUG: cli.azure.cli.core.sdk.policies: {"id":"/subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourcegroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/securitypolicies/SECXXXXXXYYY001","type":"Microsoft.Cdn/profiles/securi
typolicies","name":"SECXXXXXXYYY001","properties":{"parameters":{"wafPolicy":{"id":"/subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourceGroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/SECXXXXXXYYY001
"},"associations":[{"domains":[{"isActive":true,"id":"/subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourceGroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/customDomains/cbra8525-integration-frt"}],"patternsToMatch":["/*
"]}],"type":"WebApplicationFirewall"},"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}
DEBUG: cli.azure.cli.core.sdk.policies: Request URL: 
'https://management.azure.com/subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourceGroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/securityPolicies/SECXXXXXXYYY001?api-version=2024-02-01'
DEBUG: cli.azure.cli.core.sdk.policies: Request method: 'PUT'
DEBUG: cli.azure.cli.core.sdk.policies: Request headers:
DEBUG: cli.azure.cli.core.sdk.policies:     'Content-Type': 'application/json'
DEBUG: cli.azure.cli.core.sdk.policies:     'Accept': 'application/json'
DEBUG: cli.azure.cli.core.sdk.policies:     'Content-Length': '377'
DEBUG: cli.azure.cli.core.sdk.policies:     'x-ms-client-request-id': 'b8a81aa6-7988-11ef-82da-c89402bace8c'
DEBUG: cli.azure.cli.core.sdk.policies:     'CommandName': 'afd security-policy update'
DEBUG: cli.azure.cli.core.sdk.policies:     'ParameterSetName': '--resource-group --profile-name --security-policy-name --waf-policy --domains --debug'
DEBUG: cli.azure.cli.core.sdk.policies:     'User-Agent': 'AZURECLI/2.64.0 (MSI) azsdk-python-core/1.28.0 Python/3.11.8 (Windows-10-10.0.19045-SP0)'
DEBUG: cli.azure.cli.core.sdk.policies:     'Authorization': '*****'
DEBUG: cli.azure.cli.core.sdk.policies: Request body:
DEBUG: cli.azure.cli.core.sdk.policies: {"properties": {"parameters": {"type": "WebApplicationFirewall", "associations": [{"domains": [{"id": "99999985-customdomaincustomer-contoso-com"}], "patternsToMatch": ["/*"]}], "wafPolicy": {"id": 
"/subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourceGroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/SECXXXXXXYYY001"}}}}
DEBUG: urllib3.connectionpool: https://management.azure.com:443 "PUT 
/subscriptions/b3012d5c-1b0e-4ccb-b19b-96273f4eb345/resourceGroups/RSGXXXXXXYYY001-TEMPOR/providers/Microsoft.Cdn/profiles/LBAXXXXXXYYY001/securityPolicies/SECXXXXXXYYY001?api-version=2024-02-01 HTTP/1.1" 400 317
DEBUG: cli.azure.cli.core.sdk.policies: Response status: 400
DEBUG: cli.azure.cli.core.sdk.policies: Response headers:
DEBUG: cli.azure.cli.core.sdk.policies:     'Cache-Control': 'no-cache'
DEBUG: cli.azure.cli.core.sdk.policies:     'Pragma': 'no-cache'
DEBUG: cli.azure.cli.core.sdk.policies:     'Content-Length': '317'
DEBUG: cli.azure.cli.core.sdk.policies:     'Content-Type': 'application/json; charset=utf-8'
DEBUG: cli.azure.cli.core.sdk.policies:     'Expires': '-1'
DEBUG: cli.azure.cli.core.sdk.policies:     'x-ms-failure-cause': 'gateway'
DEBUG: cli.azure.cli.core.sdk.policies:     'x-ms-request-id': 'dead2932-80bc-43dc-aee4-df7cac71cdfb'
DEBUG: cli.azure.cli.core.sdk.policies:     'x-ms-correlation-request-id': 'dead2932-80bc-43dc-aee4-df7cac71cdfb'
DEBUG: cli.azure.cli.core.sdk.policies:     'x-ms-routing-request-id': 'FRANCESOUTH:20240923T084920Z:dead2932-80bc-43dc-aee4-df7cac71cdfb'
DEBUG: cli.azure.cli.core.sdk.policies:     'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
DEBUG: cli.azure.cli.core.sdk.policies:     'X-Content-Type-Options': 'nosniff'
DEBUG: cli.azure.cli.core.sdk.policies:     'X-Cache': 'CONFIG_NOCACHE'
DEBUG: cli.azure.cli.core.sdk.policies:     'X-MSEdge-Ref': 'Ref A: DFEC797A8D4E4E0382AD4EB54C75499E Ref B: AMS231032609035 Ref C: 2024-09-23T08:49:20Z'
DEBUG: cli.azure.cli.core.sdk.policies:     'Date': 'Mon, 23 Sep 2024 08:49:20 GMT'
DEBUG: cli.azure.cli.core.sdk.policies: Response content:
DEBUG: cli.azure.cli.core.sdk.policies: {"error":{"code":"LinkedInvalidPropertyId","message":"Property id '99999985-customdomaincustomer-contoso-com' at path 'properties.parameters.associations[0].domains[0].id' is invalid. Expect fully qualified resource 
Id that start with '/subscriptions/{subscriptionId}' or '/providers/{resourceProviderNamespace}/'."}}
DEBUG: cli.azure.cli.core.azclierror: Traceback (most recent call last):
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 233, in invoke
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 666, in execute
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 733, in _run_jobs_serially
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 714, in _run_job
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 1075, in __call__
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 1062, in __call__
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/aaz/_poller.py", line 108, in result
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/core/tracing/decorator.py", line 76, in wrapper_use_tracer
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/aaz/_poller.py", line 130, in wait
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/aaz/_poller.py", line 83, in _start
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/cdn/aaz/latest/afd/security_policy/_update.py", line 128, in _execute_operations
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/cdn/aaz/latest/afd/security_policy/_update.py", line 263, in __call__
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/aaz/_operation.py", line 332, in on_error
azure.core.exceptions.HttpResponseError: (LinkedInvalidPropertyId) Property id '99999985-customdomaincustomer-contoso-com' at path 'properties.parameters.associations[0].domains[0].id' is invalid. Expect fully qualified resource Id that start with 
'/subscriptions/{subscriptionId}' or '/providers/{resourceProviderNamespace}/'.
Code: LinkedInvalidPropertyId
Message: Property id '99999985-customdomaincustomer-contoso-com' at path 'properties.parameters.associations[0].domains[0].id' is invalid. Expect fully qualified resource Id that start with '/subscriptions/{subscriptionId}' or 
'/providers/{resourceProviderNamespace}/'.
ERROR: cli.azure.cli.core.azclierror: (LinkedInvalidPropertyId) Property id '99999985-customdomaincustomer-contoso-com' at path 'properties.parameters.associations[0].domains[0].id' is invalid. Expect fully qualified resource Id that start with 
'/subscriptions/{subscriptionId}' or '/providers/{resourceProviderNamespace}/'.
Code: LinkedInvalidPropertyId
Message: Property id '99999985-customdomaincustomer-contoso-com' at path 'properties.parameters.associations[0].domains[0].id' is invalid. Expect fully qualified resource Id that start with '/subscriptions/{subscriptionId}' or 
'/providers/{resourceProviderNamespace}/'.
ERROR: az_command_data_logger: (LinkedInvalidPropertyId) Property id '99999985-customdomaincustomer-contoso-com' at path 'properties.parameters.associations[0].domains[0].id' is invalid. Expect fully qualified resource Id that start with 
'/subscriptions/{subscriptionId}' or '/providers/{resourceProviderNamespace}/'.
Code: LinkedInvalidPropertyId
Message: Property id '99999985-customdomaincustomer-contoso-com' at path 'properties.parameters.associations[0].domains[0].id' is invalid. Expect fully qualified resource Id that start with '/subscriptions/{subscriptionId}' or 
'/providers/{resourceProviderNamespace}/'.
DEBUG: cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x000002ABA1F300E0>]
INFO: az_command_data_logger: exit code: 1
INFO: cli.__main__: Command ran in 2.773 seconds (init: 0.920, invoke: 1.853)
INFO: telemetry.main: Begin splitting cli events and extra events, total events: 1
INFO: telemetry.client: Accumulated 0 events. Flush the clients.
INFO: telemetry.main: Finish splitting cli events and extra events, cli events: 1
INFO: telemetry.save: Save telemetry record of length 4429 in cache file under C:\Users\chaudetb\.azure\telemetry\20240923104921156
INFO: telemetry.main: Begin creating telemetry upload process.
INFO: telemetry.process: Creating upload process: "C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe C:\Program Files\Microsoft SDKs\Azure\CLI2\Lib\site-packages\azure\cli\telemetry\__init__.pyc C:\Users\chaudetb\.azure 
C:\Users\chaudetb\.azure\telemetry\20240923104921156"
INFO: telemetry.process: Return from creating process 12200
INFO: telemetry.main: Finish creating telemetry upload process.

Expected behavior

I want to associate or disassociate any number of custom domains.

Need to know how to use the parameter "--add" or "--remove" to manage the front door.

Environment Summary

{
  "azure-cli": "2.64.0",
  "azure-cli-core": "2.64.0",
  "azure-cli-telemetry": "1.1.0",
  "extensions": {
     "azure-iot": "0.21.2",
    "front-door": "1.0.16",
    "resource-graph": "2.1.0"
  }
}

Additional context

No response

@benj-ch benj-ch added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Sep 23, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. Auto-Assign Auto assign by bot Network - Front Door Service Attention This issue is responsible by Azure service team. labels Sep 23, 2024
@yonzhan
Copy link
Collaborator

yonzhan commented Sep 23, 2024

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

Copy link
Contributor

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @cdnfdsuppgithub, @t-bzhan, @gxue, @TracyYaoYao.

@benj-ch benj-ch changed the title az afd route update "The command line is too long." az afd security-policy update "The command line is too long." Sep 25, 2024
@Ptnan7
Copy link
Member

Ptnan7 commented Sep 27, 2024

The --add and --set parameters are Generic Update Arguments.

@benj-ch
Copy link
Author

benj-ch commented Sep 27, 2024

The --add and --set parameters are Generic Update Arguments.

And do you know how to use them, @Ptnan7?
Never found a way to use --add.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Assign Auto assign by bot bug This issue requires a change to an existing behavior in the product in order to be resolved. customer-reported Issues that are reported by GitHub users external to the Azure organization. Network - Front Door Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

3 participants