Azure / Azure/azure-powershell
Register-AzProviderFeature does not support -Force parameter
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 4.3k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 51
Description
### Description
Register-AzProviderFeature does not support the -Force parameter, making it inconsistent with the rest of the Az modules.
### Issue script & Debug output
```PowerShell
PS C:\Users\kwill\Source\FunctionsPowershell> Register-AzProviderFeature -ProviderNamespace "Microsoft.Cdn" -FeatureName "BypassCnameCheckForCustomDomainDeletion" -Force
Register-AzProviderFeature: A parameter cannot be found that matches parameter name 'Force'.
```
### Environment data
```PowerShell
Name Value
---- -----
PSVersion 7.4.2
PSEdition Core
GitCommitId 7.4.2
OS Microsoft Windows 10.0.22631
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.17.0 Az.Accounts {Add-AzEnvironment, Clear-AzConfig, Clear-AzContext, Clear-AzDefault…}
Script 6.16.1 Az.Resources {Export-AzResourceGroup, Export-AzTemplateSpec, Get-AzDenyAssignment, Get-AzDeployment…}
```
### Error output
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.