Azure / Azure/azure-quickstart-templates

KeyValue parameter not found for 201-hdinsight-datalake-store-azure-storage

Open
#5,357 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Bicep
Stars
14.9k
Forks
16.2k
Avg merge
6d 21h
Merged PRs (30d)
6

Description

[201-hdinsight-datalake-store-azure-storage](https://github.com/Azure/azure-quickstart-templates/tree/master/201-hdinsight-datalake-store-azure-storage)

### Issue Details

When I try to create a service principal using the certificate

PS C:\Windows\system32> $application = New-AzureRmADApplication -DisplayName $certName -HomePage "https://$clusterName.azurehdinsight.net" -IdentifierUris "https://$clusterName.azurehdinsight.net" -KeyValue $credential -KeyType "AsymmetricX509Cert" -KeyUsage "Verify" -StartDate $certStartDate -EndDate $certEndDate

```
New-AzureRmADApplication : A parameter cannot be found that matches parameter name 'KeyValue'.
At line:3 char:26
+ -KeyValue $credential -KeyType "AsymmetricX5 ...
+ ~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [New-AzureRmADApplication], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.Azure.Commands.ActiveDirectory.NewAzureADApplicationCom
mand

```

### Repro steps (*if necessary, delete otherwise*)
As per the instructions in the Readme file
1) Created the certificate
2) Created a service principal using the certificate

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the README for 201-hdinsight-datalake-store-azure-storage and reproduce the documented service-principal command in the reported Azure PowerShell context. Verify the command's supported parameters and update the README so its certificate-based setup instructions no longer produce the reported KeyValue error.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, powershell
Domain
cloud, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.