AzureValidation/Microsoft.AzureStack.AzureValidation.psm1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
#Requires -RunAsAdministrator
#Requires -Modules Az.Accounts

$erroractionpreference = 'stop'
Import-LocalizedData LocalizedData -BaseDirectory $PSScriptRoot -Filename Microsoft.AzureStack.AzureValidation.Strings.psd1

Import-Module $PSSCriptRoot\Microsoft.AzureStack.AzureValidation.Internal.psm1 -force
Import-Module $PSScriptRoot\..\Microsoft.AzureStack.ReadinessChecker.Utilities.psm1 -Force
function Invoke-AzsRegistrationValidation {
    <#
    .SYNOPSIS
        Validates Credential and Subscription for Azure Stack Registration.
    .DESCRIPTION
        Validate registration before you begin an Azure Stack deployment:
        Validates the Azure subscription provided is a supported type. Subscriptions must be a Cloud Service Provider (CSP) or Enterprise Agreement (EA).
        The account provided can sign in to Azure and is a subscription owner.
    .EXAMPLE
        PS C:\> Connect-AzAccount -subscription 3f764e1c-d0ab-49e3-99aa-44124d56dd2d
        PS C:\> Invoke-AzsRegistrationValidation -RegistrationSubscriptionID 3f764e1c-d0ab-49e3-99aa-44124d56dd2d
        Validates Credential and Subscription for Azure Stack Registration.
    .PARAMETER Context
        Specifies Azure PowerShell context representing the context of intended registration account
    .PARAMETER DeploymentDataJSONPath
        Specifies the Azure Stack deployment deployment data JSON configuration file. Generally only available to the deployment team.
    .PARAMETER ForceTLS12
        Force the use of TLS 1.2, true by default
    .PARAMETER OutputPath
        Specifies custom path to save Readiness JSON report and Verbose log file.
    .PARAMETER CleanReport
        Specifies whether to purge the existing report and start again with a clean report. Execution history and validation data is lost for all Readiness Checker validations.
    .LINK
        Azure Stack Registration Validation - https://aka.ms/AzsValidateAzureRegistration
        Azure Stack Readiness Checker - https://aka.ms/AzsReadinessChecker
    #>


    [OutputType([Array])]
    [CmdletBinding()]
    Param(
        [Parameter(Mandatory = $true, ParameterSetName = 'RegistrationJSON')]
        [ValidateScript( {Test-Path $_ -Include *.json})] 
        [string]
        $deploymentDataJSONPath,

         [Parameter(Helpmessage = 'Azure PowerShell context representing the context of intended registration account')]
         [ValidateNotNull()]
         [Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext] $Context = (Get-AzContext -ErrorAction Stop),

        [Parameter(Mandatory = $true, ParameterSetName = 'Registration')]
        [Parameter(Mandatory = $true, ParameterSetName = 'RegistrationJSON')]
        [string]
        $RegistrationSubscriptionID,

        [Parameter(Mandatory = $false, HelpMessage = "Force the use of TLS 1.2, true by default")]
        [bool]$ForceTLS12 = $true,

        [Parameter(HelpMessage = "Directory path for log and report output")]
        [string]$OutputPath = "$ENV:TEMP\AzsReadinessChecker",

        [Parameter(HelpMessage = "Remove all previous progress and create a clean report")]
        [switch]$CleanReport = $false
    )
    try {
        $thisFunction = $MyInvocation.MyCommand.Name
        $GLOBAL:OutputPath = $OutputPath
        Import-Module $PSScriptRoot\..\Microsoft.AzureStack.ReadinessChecker.Reporting.psm1 -Force
        Import-Module $PSSCriptRoot\AzureADConfiguration.psm1 -Force -Global

        Write-Header -invocation $MyInvocation -params $PSBoundParameters

        # Parse DeploymentData JSON
        if ($PSCmdlet.ParameterSetName -eq 'RegistrationJSON') {
            $deploymentDataJSON = ConvertTo-DeploymentData -path $deploymentDataJSONPath
            $AzureEnvironment = $deploymentDataJSON.DeploymentData.InfraAzureEnvironment
        }

        # If user specifies custom azure environment, overwrite the AzureEnvironment as the json path

        # Get/Clean Existing Report
        $readinessReport = Get-AzsReadinessProgress -clean:$CleanReport
        $readinessReport = Add-AzsReadinessCheckerJob -report $readinessReport
        $registrationOutput = @{}
        
        # exit immediately if the user hasn't authenticated to Azure
        if (-not $context){
            Write-AzsReadinessLog -Message $LocalizedData.NoAzureContext -Type Error -Function $thisFunction
            throw $LocalizedData.NoAzureContext
        }

        # Force Security Profile to TLS1.2
        if ($ForceTLS12) {
            # Change Security Protocol to TLS1.2 for the session and track for clean up later.
            $restoreSecurityProtocol = [Net.ServicePointManager]::SecurityProtocol
            $tempSecurityProtocol = [Net.SecurityProtocolType]::Tls12
            Set-SecurityProtocol -securityProtocol $tempSecurityProtocol
        }

        Write-Host "Checking Registration Requirements: " -nonewline
        $tenantId = (Get-AzContext).Tenant.Id
        if ($null -eq $tenantid) {
            throw "No TenantId."
        }
        else {
            $registrationSubscription = Get-AzureSubscriptionDetail -tenantid $tenantid -subscriptionid $RegistrationSubscriptionID
        }

        ## expand test-azsregistrationaccount to test graph endpoint
        if (-not $registrationSubscription.errordetails) {
            $registrationOutput = Test-AzsRegistrationAccount -subscription $registrationSubscription.subscription -subscriptionId $RegistrationSubscriptionID -tenantId $tenantid
            if ($registrationOutput.result -ne 'OK') {
                Write-Host "Fail " -foregroundColor Red
                Write-Host ("Error Details for registration account {0}:" -f (Get-AzContext).Account.Id)
                $registrationOutput.errorDetails | ForEach-Object {Write-Host "$_" -foregroundcolor Yellow}
                Write-Host ("Additional help URL {0}" -f "https://aka.ms/AzsRemediateRegistration") 
            }
            else {
                Write-Host "OK" -foregroundColor Green
            }
        }
        else {
            Write-Host "Fail " -foregroundColor Red
            Write-Host ("Error Details for registration account {0}:" -f (Get-AzContext).Account.Id)
            $registrationSubscription.errorDetails | ForEach-Object {Write-Host "$_" -foregroundcolor Yellow}
            Write-Host ("Additional help URL {0}" -f "https://aka.ms/AzsRemediateRegistration")
        }
        $registrationOutput.Add('SubscriptionDetail', $registrationSubscription)
    }
    catch {
        Write-Host "Fail " -foregroundColor Red
        $errorDetail = ("Checking Registration failed with: {0}" -f $_.exception.Message)
        Write-Host ("Error Details for registration account {0}:" -f (Get-AzContext).Account.Id)
        $errorDetail | ForEach-Object {Write-Host "$_" -foregroundcolor Yellow}
    }
    finally {
        # Write results to readiness report
        $readinessReport.AzureValidation.AzureRegistration = $registrationOutput
        $readinessReport = Close-AzsReadinessCheckerJob -report $readinessReport
        Write-AzsReadinessProgress -report $readinessReport
        Write-AzsReadinessReport -report $readinessReport
        
        # Remove global variables
        Remove-Variable -Name OutputPath
        # Restore TLS back to default
        if ($ForceTLS12 -and $restoreSecurityProtocol) {
            Set-SecurityProtocol -securityProtocol $restoreSecurityProtocol
        }
        Write-Footer -invocation $MyInvocation
    }
}
function Invoke-AzsAzureIdentityValidation {
    <#
    .SYNOPSIS
        Validates Service Administrator and AAD Tenant for Azure Stack Identity
    .DESCRIPTION
        Validate identity before you begin an Azure Stack Deployment
        Validates Service Administrator provided is a Global Administrator of the AAD Tenant directory provided.
    .EXAMPLE
        PS C:\> Connect-AzAccount -tenant contoso.onmicrosoft.com
        PS C:\> Invoke-AzsAzureIdentityValidation -AADDirectoryTenantName contoso.onmicrosoft.com
        Validates Service Administrator and AAD Tenant for Azure Stack Identity
    .PARAMETER Context
        Azure PowerShell context representing the context of intended Service Administrator Account
    .PARAMETER AADDirectoryTenantName
        Specifies the Azure Active Directory name intended to be used for Azure Stack deployment.
    .PARAMETER ForceTLS12
        Force the use of TLS 1.2, true by default
    .PARAMETER OutputPath
        Specifies custom path to save Readiness JSON report and Verbose log file.
    .PARAMETER CleanReport
        Specifies whether to purge the existing report and start again with a clean report. Execution history and validation data is lost for all Readiness Checker validations.
   .LINK
        Azure Stack Identity Validation - https://aka.ms/AzsValidateAzureIdentity
        Azure Stack Readiness Checker - https://aka.ms/AzsReadinessChecker
    #>


    [CmdletBinding()]
    Param(
        [Parameter(Mandatory = $true, ParameterSetName = 'InstallJSON')]
        [ValidateScript( {Test-Path $_ -Include *.json})] 
        [string]
        $deploymentDataJSONPath,

        [Parameter(HelpMessage = "Azure PowerShell context representing the context of intended Service Administrator Account")]
        [ValidateNotNull()]
        [Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext] $Context = (Get-AzContext -ErrorAction Stop),

        [Parameter(Mandatory = $true, ParameterSetName = 'Install', HelpMessage = "Enter primary domain name of Azure Tenant Directory")]
        [string]$AADDirectoryTenantName,

        [Parameter(Mandatory = $false, HelpMessage = "Force the use of TLS 1.2, true by default")]
        [bool]$ForceTLS12 = $true,

        [Parameter(HelpMessage = "Directory path for log and report output")]
        [string]$OutputPath = "$ENV:TEMP\AzsReadinessChecker",
            
        [Parameter(HelpMessage = "Remove all previous progress and create a clean report")]
        [switch]$CleanReport = $false
    )
    try {
        $thisFunction = $MyInvocation.MyCommand.Name
        $GLOBAL:OutputPath = $OutputPath
        Import-Module $PSScriptRoot\..\Microsoft.AzureStack.ReadinessChecker.Reporting.psm1 -Force
        Import-Module $PSSCriptRoot\AzureADConfiguration.psm1 -Force -Global

        Write-Header -invocation $MyInvocation -params $PSBoundParameters

        if ($PSCmdlet.ParameterSetName -eq 'InstallJSON') {
            $deploymentDataJSON = ConvertTo-DeploymentData -path $deploymentDataJSONPath
            $AzureEnvironment = $deploymentDataJSON.DeploymentData.InfraAzureEnvironment
            $AADDirectoryTenantName = $deploymentDataJSON.DeploymentData.InfraAzureDirectoryTenantName
        }

        # Get/Clean Existing Report
        $readinessReport = Get-AzsReadinessProgress -clean:$CleanReport
        $readinessReport = Add-AzsReadinessCheckerJob -report $readinessReport
        $serviceAdministratorOutput = @{}
        
        # exit immediately if the user hasn't authenticated to Azure
        if (-not $context){
            Write-AzsReadinessLog -Message $LocalizedData.NoAzureContext -Type Error -Function $thisFunction
            throw $LocalizedData.NoAzureContext
        }

        # Force Security Profile to TLS1.2
        if ($ForceTLS12) {
            # Change Security Protocol to TLS1.2 for the session and track for clean up later.
            $restoreSecurityProtocol = [Net.ServicePointManager]::SecurityProtocol
            $tempSecurityProtocol = [Net.SecurityProtocolType]::Tls12
            Set-SecurityProtocol -securityProtocol $tempSecurityProtocol
        }
        
        Write-AzsReadinessLog -Message ("Starting Azure Identity Validation`n") -Type Info -Function $thisFunction -toScreen
        Write-Host "Checking Installation Requirements: " -nonewline
        
        $serviceAdministratorOutput = Test-AzsServiceAdministrator -AADDirectoryTenantName $AADDirectoryTenantName
        if ($serviceAdministratorOutput.result -ne 'OK') {
            Write-Host "Fail " -foregroundColor Red
            if ($serviceAdministratorOutput.errorDetails -ne @()) {
                Write-Host ("Error Details for Service Administrator Account {0}" -f $AADServiceAdministrator.Username)
                $serviceAdministratorOutput.errorDetails | ForEach-Object {Write-Host "$_" -foregroundcolor Yellow}
                Write-Host ("Additional help URL {0}" -f "https://aka.ms/AzsRemediateAzureIdentity") 
            }
        }
        else {
            Write-Host "OK" -foregroundColor Green
        }
        Write-AzsReadinessLog -Message ("`nFinished Azure Identity Validation") -Type Info -Function $thisFunction -toScreen
    }
    catch {
        Write-Host "Fail " -foregroundColor Red
        $errorDetail = ("Checking Azure Identity failed with: {0}" -f $_.exception.Message)
        Write-Host "Error Details for Identity:"
        $errorDetail | ForEach-Object {Write-Host "$_" -foregroundcolor Yellow}
    }
    finally {
        # Write results to readiness report
        $readinessReport.AzureValidation.AzureInstallResult = $serviceAdministratorOutput
        $readinessReport = Close-AzsReadinessCheckerJob -report $readinessReport
        Write-AzsReadinessProgress -report $readinessReport
        Write-AzsReadinessReport -report $readinessReport
        
        # Remove global variables
        Remove-Variable -Name OutputPath
        # Restore TLS back to default
        if ($ForceTLS12 -and $restoreSecurityProtocol) {
            Set-SecurityProtocol -securityProtocol $restoreSecurityProtocol
        }
        Write-Footer -invocation $MyInvocation
    }
}
# SIG # Begin signature block
# MIIjkgYJKoZIhvcNAQcCoIIjgzCCI38CAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCBTPe1R/eZl2Wak
# NUJk6j3f8vrROrs3lDU9SWyWIldRwaCCDYEwggX/MIID56ADAgECAhMzAAAB32vw
# LpKnSrTQAAAAAAHfMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD
# VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy
# b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p
# bmcgUENBIDIwMTEwHhcNMjAxMjE1MjEzMTQ1WhcNMjExMjAyMjEzMTQ1WjB0MQsw
# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u
# ZDEeM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