File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -182,5 +182,22 @@ $regResponse = Get-Content -path $activationDataFile
182182$bytes = [System.Text.Encoding ]::UTF8.GetBytes($regResponse )
183183$activationCode = [Convert ]::ToBase64String($bytes )
184184
185- .\Activate- Bridge.ps1 - activationCode $activationCode - AzureResourceManagerEndpoint $azureResourceManagerEndpoint - Verbose
185+ try
186+ {
187+ .\Activate- Bridge.ps1 - activationCode $activationCode - AzureResourceManagerEndpoint $azureResourceManagerEndpoint - Verbose
188+ }
189+ catch
190+ {
191+ $exceptionMessage = $_.Exception.Message
192+
193+ if ($exceptionMessage.Contains (" Application is currently being upgraded" ))
194+ {
195+ Write-Warning " Activate-Bridge: Known issue with redundant service fabric upgrade call"
196+ }
197+ else
198+ {
199+ Write-Error - Message " Activate-Bridge: Error : $ ( $_.Exception ) "
200+ }
201+ }
202+
186203Write-Verbose " Azure Stack activation completed"
You can’t perform that action at this time.
0 commit comments