Skip to content

Get-AzureSubscription fails on profiles using auth token #344

@bmoore-msft

Description

@bmoore-msft

If you create a new profile with an authtoken and select it, you are authn'd against Azure but Get-AzureSubscription will fail with:

Get-AzureSubscription : Illegal credential type
Parameter name: credentialType
At line:1 char:1

  • Get-AzureSubscription
  • - CategoryInfo          : CloseError: (:) [Get-AzureSubscription], ArgumentException
    - FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.Profile.GetAzureSubscriptionCommand
      <!---@tfsbridge:{"tfsId":3662447}-->
    

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