none
Im trying to register a stack , failing on resource provider . RRS feed

  • Question

  • WARNING: 2020-07-09.19-02-49: Registering Azure Stack resource provider failed:
    Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Version".
    VERBOSE: 2020-07-09.19-02-49: *** End WARNING ***
    VERBOSE: 2020-07-09.19-02-49: Waiting 10 seconds and trying again...
    VERBOSE: 2020-07-09.19-02-59: Registering Azure Stack resource provider.
    VERBOSE: 2020-07-09.19-02-59: *** WARNING ***
    WARNING: 2020-07-09.19-02-59: Registering Azure Stack resource provider failed:
    Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Version".
    VERBOSE: 2020-07-09.19-02-59: *** End WARNING ***
    VERBOSE: 2020-07-09.19-02-59: ************************ Error ************************
    VERBOSE: 2020-07-09.19-02-59: Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Version".
    VERBOSE: 2020-07-09.19-02-59: at Register-AzureStackResourceProvider, C:\AzureStack-Tools-master\Registration\RegisterWithAzure.psm1: line 1613
    at New-RegistrationResource, C:\AzureStack-Tools-master\Registration\RegisterWithAzure.psm1: line 1173
    at Set-AzsRegistration, C:\AzureStack-Tools-master\Registration\RegisterWithAzure.psm1: line 279
    at <ScriptBlock>, <No file>: line 18
    VERBOSE: 2020-07-09.19-02-59: *********************** Ending registration action during New-RegistrationResource ***********************

    VERBOSE: 2020-07-09.19-02-59: Logs can be found at: C:\MASLogs\Registration\AzureStack.Activation.Set-AzsRegistration-2020-07-09.log  and  \\AzS-ERCS01\c$\maslogs 

    VERBOSE: 2020-07-09.19-02-59: Removing any existing PSSession...
    Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Version".
    At C:\AzureStack-Tools-master\Registration\RegisterWithAzure.psm1:1613 char:13
    +             [Version]$azurePSVersion = (Get-Module AzureRm.Resources) ...
    +             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidArgument: (:) [], RuntimeException
        + FullyQualifiedErrorId : ConvertToFinalInvalidCastException
     
    Thursday, July 9, 2020 7:27 PM

Answers

  • Newbie --

    You have erroneously posted your Azure question in a public user forum dedicated to questions about Microsoft Project Server, an enterprise project management application.  I would recommend you repost your question in one of the Azure user forums.  Hope this helps.


    Dale A. Howard [MVP]

    Friday, July 10, 2020 3:31 PM
    Moderator