File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -389,7 +389,7 @@ function Set-AzsRegistrationSubscription{
389389 [Parameter (Mandatory = $true )]
390390 [String ] $JeaComputerName ,
391391
392- [Parameter (Mandatory = $false )]
392+ [Parameter (Mandatory = $true )]
393393 [String ] $NewAzureDirectoryTenantName ,
394394
395395 [Parameter (Mandatory = $false )]
@@ -474,10 +474,7 @@ function Set-AzsRegistrationSubscription{
474474 Log- Output " Remove-AzsRegistration params: `r`n $ ( ConvertTo-Json $params ) "
475475 Remove-AzSRegistration @params
476476 $params [" AzureSubscriptionId" ] = $NewAzureSubscriptionId
477- if ($NewAzureDirectoryTenantName )
478- {
479- $params [" AzureDirectoryTenantName" ] = $NewAzureDirectoryTenantName
480- }
477+ $params [" AzureDirectoryTenantName" ] = $NewAzureDirectoryTenantName
481478 Log- Output " Add-AzsRegistration params: `r`n $ ( ConvertTo-Json $params ) "
482479 RegistrationWorker @params
483480
You can’t perform that action at this time.
0 commit comments