SQL Provider installation fails RRS feed

  • Question

  • Hello together, 

    i have a problem regarding the SQL-Provider when installing as described as here (using the script)


    the installation fails with:

    C:\TMP\DeploySQLProvider.ps1 : SSL Certificate validation failed with error: The 'Get-AzsLocation' command was found
    in the module 'Azs.Subscriptions.Admin', but the module could not be loaded. For more information, run 'Import-Module
    At line:30 char:1
    + . $tempDir\DeploySQLProvider.ps1 `
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
        + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,DeploySQLProvider.ps1

    Importing the module in terminal shows:

    Import-Module : The specified module 'Sys.Subscriptions.Admin' was not loaded because no valid module file was found
    in any module directory.
    At line:1 char:1
    + Import-Module Sys.Subscriptions.Admin
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : ResourceUnavailable: (Sys.Subscriptions.Admin:String) [Import-Module], FileNotFoundExcep
        + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand

    i was making sure to start with a fresh powershell without any broken AsZ module as followed:

    workflow Uninstall-AzureModules
        $Modules = (Get-Module -ListAvailable Azure*).Name |Get-Unique
        Foreach -parallel ($Module in $Modules)
            Write-Output ("Uninstalling: $Module")
            Uninstall-Module $Module -Force

    Do you have any ideas here? Thanks

    Monday, November 12, 2018 10:58 AM