Azure / Azure/azure-cli

Object reference not set to an instance of an object.

Open
#20,411 1 comment 0 reactions 0 assignees View on GitHub
customer-reported Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

> ### `az feedback` auto-generates most of the information requested below, as of CLI version 2.0.62

**Describe the bug**

When trying to create a data-connecter is Sentinel an error is returned.

**Command Name**
`az sentinel data-connector create
Extension Name: sentinel. Version: 0.1.1.`

**To Reproduce**

```
az sentinel data-connector create --resource-group MyGroup --workspace-name MyWorkSpace --mdatp-data-connector --data-connector-id 73e01a11-5xx7-4339-a149-9f2736xx2xx0
```

**Expected behavior**

I expect it to not fail and return an error. It should create the data connector

**Environment summary**

Have tried this on the latest version of the cli on OSX. Have also tried this same command on the CloudShell in the Az Portal with the same results. I believe there is a bug in the CLI.

```
macOS-10.14.6-x86_64-i386-64bit, Darwin 18.7.0
Python 3.10.0
Installer: HOMEBREW

azure-cli 2.30.0

Extensions:
aks-preview 0.5.25
azure-devops 0.18.0
storage-preview 0.2.10
sentinel 0.1.1
interactive 0.4.4
application-insights 0.1.13

```

**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.