Azure / azure-powershell

Microsoft Azure PowerShell
Other
4.12k stars 3.76k forks source link

https://sqlassess.blob.core.windows.net/app/SqlAssessment.zip not accessible #25307

Closed andy-mitchell closed 1 day ago

andy-mitchell commented 3 weeks ago

Description

Running Get-AzDataMigrationAssessment downloads https://sqlassess.blob.core.windows.net/app/SqlAssessment.zip which returns

Issue script & Debug output

Invoke-RestMethod : The remote name could not be resolved: 'sqlassess.blob.core.windows.net'
At C:\Program Files\WindowsPowerShell\Modules\Az.DataMigration\0.14.6\DataMigration.Autorest\custom\Cmdlets\Get-AzDataMigrationAssessment.ps1:88 char:17
+ ...             Invoke-RestMethod -Uri $ZipSource -OutFile $ZipDestinatio ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand

Environment data

Name                           Value
----                           -----
PSVersion                      5.1.20348.2400
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.20348.2400
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Module versions

ModuleType Version    Name                                ExportedCommands
---------- -------    ----                                ----------------
Script     3.0.0      Az.Accounts                         {Add-AzEnvironment, Clear-AzConfig, Clear-AzContext, Clear-AzDefault...}
Script     0.14.6     Az.DataMigration                    {Get-AzDataMigrationProject, Get-AzDataMigrationService, Get-AzDataMigrationTask, Invoke-AzDataMigrationCommand...}

Error output

DEBUG: Got version 0 of Az
DEBUG: Got version 0 of Az.Accounts
DEBUG: 9:58:34 AM - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 9:58:34 AM - ResolveError begin processing with ParameterSet 'AnyErrorParameterSet'.
DEBUG: 9:58:35 AM - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 9:58:35 AM - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].

   HistoryId: 7

Message        : The remote name could not be resolved: 'sqlassess.blob.core.windows.net'
StackTrace     :    at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.GetResponse(WebRequest request)
                    at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.ProcessRecord()
Exception      : System.Net.WebException
InvocationInfo : {Invoke-RestMethod}
Line           :                 Invoke-RestMethod -Uri $ZipSource -OutFile $ZipDestination;

Position       : At C:\Program Files\WindowsPowerShell\Modules\Az.DataMigration\0.14.6\DataMigration.Autorest\custom\Cmdlets\Get-AzDataMigrationAssessment.ps1:88 char:17
                 + ...             Invoke-RestMethod -Uri $ZipSource -OutFile $ZipDestinatio ...
                 +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId      : 7

DEBUG: 9:58:35 AM - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].

   HistoryId: 5

Message        : The remote name could not be resolved: 'sqlassess.blob.core.windows.net'
StackTrace     :    at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.GetResponse(WebRequest request)
                    at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.ProcessRecord()
Exception      : System.Net.WebException
InvocationInfo : {Invoke-RestMethod}
Line           :                 Invoke-RestMethod -Uri $ZipSource -OutFile $ZipDestination;

Position       : At C:\Program Files\WindowsPowerShell\Modules\Az.DataMigration\0.14.6\DataMigration.Autorest\custom\Cmdlets\Get-AzDataMigrationAssessment.ps1:88 char:17
                 + ...             Invoke-RestMethod -Uri $ZipSource -OutFile $ZipDestinatio ...
                 +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId      : 5

DEBUG: 9:58:35 AM - [ConfigManager] Got nothing from [DisplayRegionIdentified], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 9:58:35 AM - [ConfigManager] Got nothing from [CheckForUpgrade], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: AzureQoSEvent:  Module: Az.Accounts:3.0.0; CommandName: Resolve-AzError; PSVersion: 5.1.20348.2400; IsSuccess: True; Duration: 00:00:00.2679350; SanitizeDuration: 00:00:00.0088155
DEBUG: 9:58:35 AM - [ConfigManager] Got nothing from [EnableDataCollection], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 9:58:35 AM - ResolveError end processing.
isra-fel commented 1 week ago

Thanks for reporting. Let me loop in the engineering team.

microsoft-github-policy-service[bot] commented 1 week ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @rgreenMSFT.

tonyg0988 commented 1 week ago

@rgreenMSFT @isra-fel any update on this please. facing the same issue.

isra-fel commented 5 days ago

Hi @andy-mitchell @tonyg0988 the engineering team has brought back the link. Could you try it again?

tonyg0988 commented 4 days ago

@isra-fel it's working now. Thanks for the help.