It should return the list of certificates.
azure-cli 2.28.0
core 2.28.0
telemetry 1.0.6
cli.knack.cli: Command arguments: ['webapp', 'config', 'ssl', 'list', '--resource-group', 'com-pep-uat', '--debug']
cli.knack.cli: __init__ debug log:
Enable color in terminal.
Init colorama.
cli.knack.cli: Event: Cli.PreExecute []
cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x017C4190>, <function OutputProducer.on_global_arguments at 0x01941028>, <function CLIQuery.on_global_arguments at 0x01957BF8>]
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
cli.azure.cli.core: Modules found from index for 'webapp': ['azure.cli.command_modules.appservice']
cli.azure.cli.core: Loading command modules:
cli.azure.cli.core: Name Load Time Groups Commands
cli.azure.cli.core: appservice 0.199 64 225
cli.azure.cli.core: Total (1) 0.199 64 225
cli.azure.cli.core: Loaded 64 groups, 225 commands.
cli.azure.cli.core: Found a match in the command table.
cli.azure.cli.core: Raw command : webapp config ssl list
cli.azure.cli.core: Command table: webapp config ssl list
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x034D3100>]
cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to 'C:\Users\nam.nguyenthanh\.azure\commands\2021-10-05.18-45-28.webapp_config_ssl_list.6364.log'.
az_command_data_logger: command args: webapp config ssl list --resource-group {} --debug
cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument.<locals>.add_subscription_parameter at 0x03517220>, <function register_global_query_examples_argument.<locals>.register_query_examples at 0x0352E8E0>]
cli.azure.cli.core.util: attempting to read file C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\command_modules\appservice\resources\WindowsFunctionsStacks.json as utf-8-sig
cli.azure.cli.core.util: attempting to read file C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\command_modules\appservice\resources\LinuxFunctionsStacks.json as utf-8-sig
cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument.<locals>.add_ids_arguments at 0x0352E928>, <function register_cache_arguments.<locals>.add_cache_arguments at 0x0352E9B8>]
cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x01941070>, <function CLIQuery.handle_query_parameter at 0x01957C40>, <function register_global_query_examples_argument.<locals>.handle_example_parameter at 0x035172B0>, <function register_ids_argument.<locals>.parse_ids_arguments at 0x0352E970>]
cli.azure.cli.core.commands.client_factory: Getting management service client client_type=WebSiteManagementClient
cli.azure.cli.core.adal_authentication: AdalAuthentication.get_token invoked by Track 2 SDK with scopes=('https://management.core.windows.net//.default',)
cli.azure.cli.core._profile: Retrieving token from ADAL for resource 'https://management.core.windows.net/'
cli.azure.cli.core.util: attempting to read file C:\Users\nam.nguyenthanh\.azure\accessTokens.json as utf-8-sig
adal-python: e999ca52-6c20-4ea8-8d81-fea2d5cd8c22 - Authority:Performing instance discovery: ...
adal-python: e999ca52-6c20-4ea8-8d81-fea2d5cd8c22 - Authority:Performing static instance discovery
adal-python: e999ca52-6c20-4ea8-8d81-fea2d5cd8c22 - Authority:Authority validated via static instance discovery
adal-python: e999ca52-6c20-4ea8-8d81-fea2d5cd8c22 - TokenRequest:Getting token from cache with refresh if necessary.
adal-python: e999ca52-6c20-4ea8-8d81-fea2d5cd8c22 - CacheDriver:finding with query keys: {'_clientId': '...', 'userId': '...'}
adal-python: e999ca52-6c20-4ea8-8d81-fea2d5cd8c22 - CacheDriver:Looking for potential cache entries: {'_clientId': '...', 'userId': '...'}
adal-python: e999ca52-6c20-4ea8-8d81-fea2d5cd8c22 - CacheDriver:Found 3 potential entries.
adal-python: e999ca52-6c20-4ea8-8d81-fea2d5cd8c22 - CacheDriver:Resource specific token found.
adal-python: e999ca52-6c20-4ea8-8d81-fea2d5cd8c22 - CacheDriver:Returning token from cache lookup, AccessTokenId: b'4KFt1hRuCN2NLwnMXFgK4HrJM/3yCqfhDXgDgrmZaE8=', RefreshTokenId: b'q+2aMwo6ghTU2Xb20ltZ3UpswEHoE/tS3CuyEzqnZBM='
adal-python: e999ca52-6c20-4ea8-8d81-fea2d5cd8c22 - CacheDriver:Cached token is expired at 2021-10-05 18:49:07.513786. Refreshing
adal-python: e999ca52-6c20-4ea8-8d81-fea2d5cd8c22 - TokenRequest:called to refresh a token from the cache
adal-python: e999ca52-6c20-4ea8-8d81-fea2d5cd8c22 - TokenRequest:Getting a new token from a refresh token
urllib3.connectionpool: Starting new HTTPS connection (1): login.microsoftonline.com:443
urllib3.connectionpool: https://login.microsoftonline.com:443 "POST /951b1ed2-d31c-4c2a-9dd6-8ea6137ceb9d/oauth2/token HTTP/1.1" 200 4309
adal-python: e999ca52-6c20-4ea8-8d81-fea2d5cd8c22 - OAuth2Client:Get Token Server returned this correlation_id: e999ca52-6c20-4ea8-8d81-fea2d5cd8c22
adal-python: e999ca52-6c20-4ea8-8d81-fea2d5cd8c22 - CacheDriver:Created new cache entry from refresh response.
adal-python: e999ca52-6c20-4ea8-8d81-fea2d5cd8c22 - CacheDriver:Removing entry.
adal-python: e999ca52-6c20-4ea8-8d81-fea2d5cd8c22 - CacheDriver:Adding entry AccessTokenId: b'wjlK5l9zoAzZX9T0HFsY8bqx6OHTQRdTGwyIw/lG958=', RefreshTokenId: b'J2ic20M91QDqb2jYwZgGKZfBzPsqFAWNNswecufc+qI='
adal-python: e999ca52-6c20-4ea8-8d81-fea2d5cd8c22 - CacheDriver:Updating 2 cached refresh tokens
adal-python: e999ca52-6c20-4ea8-8d81-fea2d5cd8c22 - CacheDriver:Remove many: 2
adal-python: e999ca52-6c20-4ea8-8d81-fea2d5cd8c22 - CacheDriver:Add many: 2
adal-python: e999ca52-6c20-4ea8-8d81-fea2d5cd8c22 - CacheDriver:Returning token refreshed after expiry.
cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/masked/resourceGroups/com-pep-uat/providers/Microsoft.Web/certificates?api-version=2020-09-01'
cli.azure.cli.core.sdk.policies: Request method: 'GET'
cli.azure.cli.core.sdk.policies: Request headers:
cli.azure.cli.core.sdk.policies: 'Accept': 'application/json'
cli.azure.cli.core.sdk.policies: 'x-ms-client-request-id': 'bc69821b-25d1-11ec-85fb-845cf346c7cf'
cli.azure.cli.core.sdk.policies: 'CommandName': 'webapp config ssl list'
cli.azure.cli.core.sdk.policies: 'ParameterSetName': '--resource-group --debug'
cli.azure.cli.core.sdk.policies: 'User-Agent': 'AZURECLI/2.28.0 (MSI) azsdk-python-azure-mgmt-web/2.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0)'
cli.azure.cli.core.sdk.policies: 'Authorization': '*****'
cli.azure.cli.core.sdk.policies: Request body:
cli.azure.cli.core.sdk.policies: This request has no body
urllib3.connectionpool: Starting new HTTPS connection (1): management.azure.com:443
urllib3.connectionpool: https://management.azure.com:443 "GET /subscriptions/masked/resourceGroups/com-pep-uat/providers/Microsoft.Web/certificates?api-version=2020-09-01 HTTP/1.1" 200 None
cli.azure.cli.core.sdk.policies: Response status: 200
cli.azure.cli.core.sdk.policies: Response headers:
cli.azure.cli.core.sdk.policies: 'Cache-Control': 'no-cache'
cli.azure.cli.core.sdk.policies: 'Pragma': 'no-cache'
cli.azure.cli.core.sdk.policies: 'Transfer-Encoding': 'chunked'
cli.azure.cli.core.sdk.policies: 'Content-Type': 'application/json'
cli.azure.cli.core.sdk.policies: 'Content-Encoding': 'gzip'
cli.azure.cli.core.sdk.policies: 'Expires': '-1'
cli.azure.cli.core.sdk.policies: 'Vary': 'Accept-Encoding'
cli.azure.cli.core.sdk.policies: 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
cli.azure.cli.core.sdk.policies: 'x-ms-request-id': '455f7f23-ce2e-4fa9-9659-23e9889d13e5'
cli.azure.cli.core.sdk.policies: 'Server': 'Microsoft-IIS/10.0'
cli.azure.cli.core.sdk.policies: 'X-AspNet-Version': '4.0.30319'
cli.azure.cli.core.sdk.policies: 'X-Powered-By': 'ASP.NET'
cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-subscription-reads': '11999'
cli.azure.cli.core.sdk.policies: 'x-ms-correlation-request-id': '3939682e-a1a7-4090-a943-ed33a3ef3f2e'
cli.azure.cli.core.sdk.policies: 'x-ms-routing-request-id': 'SOUTHEASTASIA:20211005T114530Z:3939682e-a1a7-4090-a943-ed33a3ef3f2e'
cli.azure.cli.core.sdk.policies: 'X-Content-Type-Options': 'nosniff'
cli.azure.cli.core.sdk.policies: 'Date': 'Tue, 05 Oct 2021 11:45:30 GMT'
cli.azure.cli.core.sdk.policies: Response content:
cli.azure.cli.core.sdk.policies: {"value":[],"nextLink":null,"id":null}
cli.knack.cli: Event: CommandInvoker.OnTransformResult [<function _resource_group_transform at 0x03506C40>, <function _x509_from_base64_to_hex_transform at 0x03506C88>]
cli.knack.cli: Event: CommandInvoker.OnFilterResult []
Describe the bug
I've got exactly the same issue that has been logged here #18216, the certificates are returned when using
Get-AzWebAppCertificatebut not returned when usingaz webapp config ssl listExpected behavior
It should return the list of certificates.
Environment summary
Additional context
Output from --debug flag (I've filtered out the subscription id):