Azure / Azure/azure-quickstart-templates
Have parameters changed for `New-AzureRmADApplication`?
- 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 trying to create a service principal, I obtain the following error:
```
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:25
+ -KeyValue $credential -KeyType "AsymmetricX50 ...
+ ~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [New-AzureRmADApplication], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.Azure.Commands.ActiveDirectory.NewAzureADApplicationCommand
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the linked 201-hdinsight-datalake-store-azure-storage template and reproduce the shown New-AzureRmADApplication command. Check the installed Azure PowerShell command signature and its documentation to determine whether KeyValue was renamed or removed; done means confirming the cause and identifying the required template or usage change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, powershell
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100