Azure / Azure/azure-powershell
[Az.SecurityInsights] New-AzSentinelDataConnector
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 4.3k
- Avg merge
- 3d 14h
- Merged PRs (30d)
- 54
Description
### Description
The New-AzSentinelDataConnector cmdlet has a typo in one of the parameters, `-DetinationTable`
`New-AzSentinelDataConnector: Missing an argument for parameter 'DetinationTable'. Specify a parameter of type 'System.String' and try again.`
### Issue script & Debug output
```PowerShell
New-AzSentinelDataConnector -ResourceGroupName sandbox -WorkspaceName sandbox-la -Kind AzureActiveDirectory -DetinationTable Test
```
### Environment data
```PowerShell
Name Value
---- -----
PSVersion 7.3.1
PSEdition Core
GitCommitId 7.3.1
OS Microsoft Windows 10.0.19044
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
```
### Module versions
```PowerShell
ModuleType Version PreRelease Name ExportedCommands
---------- ------- ---------- ---- ----------------
Script 2.10.2 Az.Accounts {Add-AzEnvironment, Clear-AzConfig, Clear-AzConte…
Script 3.0.0 Az.SecurityInsights {Get-AzSentinelAlertRule, Get-AzSentinelAlertRule…
Script 1.0.1 Az.Tools.Predictor {Disable-AzPredictor, Enable-AzPredictor, Open-Az…
Script 0.0 Azure-Module {Add-AZStorageAccountPublicIP, Build-AZMParamObje…
Script 0.0 AzureDevops-Module {Add-PipelineApprovals, Get-CustomerPipelineResou…
```
### Error output
```PowerShell
`New-AzSentinelDataConnector: Missing an argument for parameter 'DetinationTable'. Specify a parameter of type 'System.String' and try again.`
```
Contributor guide
Research direction
Start at the New-AzSentinelDataConnector cmdlet implementation and reproduce the issue script to locate the parameter metadata. Correct the DetinationTable typo consistently, then run the cmdlet's relevant tests or a parameter-binding check to confirm the documented and accepted name is consistent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp, powershell
- Domain
- cli, cloud
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 65/100