Azure / Azure/azure-cli

Certificate creation is failing with unhelpful error, debug logs are not useful either

Open
#19,920 2 comments 0 reactions 1 assignee Claimed by @evelyn-ys View on GitHub
act-identity-squad customer-reported feature-request KeyVault
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### **This is autogenerated. Please review and update as needed.**

## Describe the bug

**Command Name**

`az keyvault certificate create`

**Errors:**

```
ActivityId: 05751e9f-c838-47eb-9e0b-39780fe1d695, ActivityName: CertificateCreate
```

## To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

- _Put any pre-requisite steps here..._

- `az keyvault certificate create --name cert--xxx --policy @../shared/cert-policies/generated-cert--xxx.json --vault-name kv-xxx --debug`

Fails with `cli.azure.cli.core.azclierror: ActivityId: 05751e9f-c838-47eb-9e0b-39780fe1d695, ActivityName: CertificateCreate` error.

[debug-log.txt](https://github.com/Azure/azure-cli/files/7367750/debug-log.txt)

## Expected Behavior

Certificate is created.

## Environment Summary
```
Windows-10-10.0.19041-SP0
Python 3.8.9
Installer: MSI

azure-cli 2.29.0

Extensions:
aks-preview 0.5.34
azure-devops 0.18.0
front-door 1.0.16
log-analytics 0.2.1
resource-graph 2.1.0

```

## Additional Context

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.