Skip to content
This repository was archived by the owner on Nov 5, 2022. It is now read-only.
This repository was archived by the owner on Nov 5, 2022. It is now read-only.

Get-AzADALAuthenticationContext Exception #24

@ghost

Description

Authentication is successful, I got list of subscription to choose from, after I select couple of subscription, I got following error.

.\Azucar.ps1 -ExportTo CSV,JSON,XML,EXCEL -ForceAuth
https://management.azure.com/subscriptions?api-version=2016-06-01
Get-AzADALAuthenticationContext : Cannot process argument transformation on parameter 'TenantID'. Cannot convert value to type System.String.
At C:\Users\a507246\ADO_repo\azucar-master\core\api\auth\azureauth.ps1:500 char:104

  • ... ionContext -Login $Environment.Login -TenantID $Subscription.TenantID
  •                                                ~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidData: (:) [Get-AzADALAuthenticationContext], ParameterBindingArgumentTransformationException
    • FullyQualifiedErrorId : ParameterArgumentTransformationError,Get-AzADALAuthenticationContext

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions