Skip to content

Set-AzureSubscription : Parameter cannot be processed because the parameter name 'Subscription' is ambiguous #3

@easyveazie

Description

@easyveazie

You have a naming conflict on Set-AzureSubscription

Set-AzureSubscription : Parameter cannot be processed because the parameter name 'Subscription' is ambiguous. Possible
matches include: -SubscriptionName -SubscriptionId.
At C:\Repos\AzureStack-Css-Lab-Automation\src\stampHelper\configure.ps1:101 char:92
+ ... Tenantid '72f988bf-86f1-41af-91ab-2d7cd011db47' -Subscription 'Azure  ...
+                                                     ~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Set-AzureSubscription], ParameterBindingException
    + FullyQualifiedErrorId : AmbiguousParameter,Microsoft.WindowsAzure.Commands.Profile.SetAzureSubscriptionCommand

https://docs.microsoft.com/en-us/powershell/module/servicemanagement/azure/set-azuresubscription?view=azuresmps-4.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions