Skip to content

[Doc] incorrect examples of New-AzADDomainService #23424

Open
@isra-fel

Description

@isra-fel

Type of issue

Code doesn't work

Feedback

Found errors in the examples.

Type Cmdlet Example Line RuleName Description Extent Remediation
New-AzADDomainService 2 2 Invalid_Cmdlet New-AzADDomainServiceReplicaSet is not a valid command name. New-AzADDomainServiceReplicaSet -Location westus -SubnetId /subscriptions/**----/resourceGroups/yishitest/providers/Microsoft.Network/virtualNetworks/aadds-vnet/subnets/default|Check the spell of New-AzADDomainServiceReplicaSet.  
New-AzADDomainService 2 7 Invalid_Parameter_Name New-AzADDomainService -LdapSettingPfxCertificate is not a valid parameter name. -LdapSettingPfxCertificate Check validity of the parameter -LdapSettingPfxCertificate.

Page URL

https://learn.microsoft.com/en-us/powershell/module/az.addomainservices/new-azaddomainservice?view=azps-11.0.0

Content source URL

https://github.com/Azure/azure-powershell/blob/main/src/ADDomainServices/help/New-AzADDomainService.md

Author

No response

Document Id

45a7f663-ef79-2f32-8af1-760fe7ae5207

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions