Library/Connect-ToAzure.ps1

# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
Function Connect-ToAzure
{
    <#
    .SYNOPSIS
    Connects to an Azure environment and connects to a specific Azure Subscription if a name of the subscription has been provided.
     
    .DESCRIPTION
    By running this function the user will be prompted to conect to their Azure environment. If a connection is not already
    established to the (if specified) Subscription Name and / or Subscription Id.
         
    .PARAMETER SubscriptionName
    [Optional] The Subscription name that contains the Windows Package Manager REST source REST APIs
 
    .PARAMETER SubscriptionId
    [Optional] The Subscription Id that contains the Windows Package Manager REST source REST APIs
 
    .EXAMPLE
    Connect-ToAzure -SubscriptionName "Visual Studio Subscription"
 
    Tests that the PowerShell session has a connection to Azure, and is connected to the "Visual Studio Subscription"
    subscription. If not connected, will initiate a connection to the Azure Subscription Name.
 
    .EXAMPLE
    Connect-ToAzure -SubscriptionId "5j7ty5xj-6q67-1a77-111d-1d6937b9cbe8"
 
    Tests that the PowerShell session has a connection to Azure, and is connected to the "5j7ty5xj-6q67-1a77-111d-1d6937b9cbe8"
    subscription Id. If not connected, will initiate a connection to the Azure Subscription Id.
 
    .EXAMPLE
    Connect-ToAzure -SubscriptionName "Visual Studio Subscription" -SubscriptionId "5j7ty5xj-6q67-1a77-111d-1d6937b9cbe8"
 
    Tests that the PowerShell session has a connection to Azure, and is connected to the "5j7ty5xj-6q67-1a77-111d-1d6937b9cbe8"
    subscription Id and Subscription Name "Visual Studio Subscription". If not connected, will initiate a connection to the
    specified Azure Subscription Name and Id.
 
    #>

    
    PARAM(
        [Parameter(Mandatory=$false)] [string]$SubscriptionName = "",
        [Parameter(Mandatory=$false)] [string]$SubscriptionId = ""
    )

    $TestAzureConnection = $false
    
    if($SubscriptionName -and $SubscriptionId){
        ## If connected to Azure, and the Subscription Name and Id are provided then verify that the connected Azure session matches the provided Subscription Name and Id.
        Write-Verbose -Message "Verifying if PowerShell session is currently connected to your Azure Subscription Name $SubscriptionName and Subscription Id $SubscriptionId"
        $TestAzureConnection = Test-ConnectionToAzure -SubscriptionName $SubscriptionName -SubscriptionId $SubscriptionId
    }
    elseif($SubscriptionName){
        ## If connected to Azure, and the Subscription Name are provided then verify that the connected Azure session matches the provided Subscription Name.
        Write-Verbose -Message "Verifying if PowerShell session is currently connected to your Azure Subscription Name $SubscriptionName"
        $TestAzureConnection = Test-ConnectionToAzure -SubscriptionName $SubscriptionName
    }
    elseif($SubscriptionId){
        ## If connected to Azure, and the Subscription Id are provided then verify that the connected Azure session matches the provided Subscription Id.
        Write-Verbose -Message "Verifying if PowerShell session is currently connected to your Azure Subscription Id $SubscriptionId"
        $TestAzureConnection = Test-ConnectionToAzure -SubscriptionId $SubscriptionId
    }
    else{
        Write-Information "No Subscription Name or Subscription Id provided. Will test connection to default Azure Subscription"
        $TestAzureConnection = Test-ConnectionToAzure
    }
    
    Write-Verbose -Message "Test Connection Result: $TestAzureConnection"
    
    if(!$TestAzureConnection) {
        if($SubscriptionName -and $SubscriptionId) {
            ## Attempts a connection to Azure using both the Subscription Name and Subscription Id
            Write-Information "Initiating a connection to your Azure Subscription Name $SubscriptionName and Subscription Id $SubscriptionId"
            $ConnectResult = Connect-AzAccount -SubscriptionName $SubscriptionName -SubscriptionId $SubscriptionId
            
            $TestAzureConnection = Test-ConnectionToAzure -SubscriptionName $SubscriptionName -SubscriptionId $SubscriptionId
        }
        elseif($SubscriptionName) {
            ## Attempts a connection to Azure using Subscription Name
            Write-Information "Initiating a connection to your Azure Subscription Name $SubscriptionName"
            $ConnectResult = Connect-AzAccount -SubscriptionName $SubscriptionName

            $TestAzureConnection = Test-ConnectionToAzure -SubscriptionName $SubscriptionName
        }
        elseif($SubscriptionId) {
            ## Attempts a connection to Azure using Subscription Id
            Write-Information "Initiating a connection to your Azure Subscription Id $SubscriptionId"
            $ConnectResult = Connect-AzAccount -SubscriptionId $SubscriptionId

            $TestAzureConnection = Test-ConnectionToAzure -SubscriptionId $SubscriptionId
        }
        else{
            ## Attempts a connection to Azure with the users default Subscription
            Write-Information "Initiating a connection to your Azure environment."
            $ConnectResult = Connect-AzAccount

            $TestAzureConnection = Test-ConnectionToAzure
        }

        if(!$TestAzureConnection) {
            ## If the connection fails, or the user cancels the login request, then return as failed.
            $ErrReturnObject = @{
                SubscriptionName = $SubscriptionName
                SubscriptionId   = $SubscriptionId
                AzureConnected   = $TestAzureConnection
            }

            Write-Error -Message  "Failed to connect to Azure" -TargetObject $ErrReturnObject
        }
    }
    
    return $TestAzureConnection
}
# SIG # Begin signature block
# MIIoKQYJKoZIhvcNAQcCoIIoGjCCKBYCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCCIFlQA35R5ZEYO
# kov1pnhvOXnfjT9fA7G1N0MhWzI6bqCCDXYwggX0MIID3KADAgECAhMzAAAEBGx0
# Bv9XKydyAAAAAAQEMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD
# VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy
# b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p
# bmcgUENBIDIwMTEwHhcNMjQwOTEyMjAxMTE0WhcNMjUwOTExMjAxMTE0WjB0MQsw
# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u
# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMR4wHAYDVQQDExVNaWNy
# b3NvZnQgQ29ycG9yYXRpb24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB
# AQC0KDfaY50MDqsEGdlIzDHBd6CqIMRQWW9Af1LHDDTuFjfDsvna0nEuDSYJmNyz
# NB10jpbg0lhvkT1AzfX2TLITSX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