-
Notifications
You must be signed in to change notification settings - Fork 4k
Open
Labels
Azure PS TeamTrackingWe will track status and follow internallyWe will track status and follow internallybugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedneeds-author-feedbackMore information is needed from author to address the issue.More information is needed from author to address the issue.
Description
Description
I'm encountering a persistent 500 Internal Server Error when executing the following PowerShell command to add a custom Azure environment:
PowerShell
$x = Get-hcsapplianceinfo
Add-AzEnvironment -Name "AzDBE" -ARMEndpoint "https://management.$($x.Name.ToLower()).$($x.DnsDomain)/"
Issue script & Debug output
Add-AzEnvironment : Response status code does not indicate success: 500 (Internal Server Error).
At line:4 char:1
+ Add-AzEnvironment -Name $envName -ARMEndpoint "https://management.$($ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [Add-AzEnvironment], HttpRequestException
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.Profile.AddAzureRMEnvironmentCommand
Environment data
[10.57.50.207]: PS C:\Users\EdgeSupport\Documents> $PSVersionTable
Name Value
---- -----
PSVersion 5.1.20348.2849
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.20348.2849
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Module versions
Get-Module -Name Az* -ListAvailable
Directory: C:\Program Files\WindowsPowerShell\Modules
ModuleType Version Name ExportedCommands
---------- ------- ---- ----------------
Script 2.2.8 Az.Accounts {Disable-AzDataCollection, Disable-AzContextAutosave, Enab...
Script 0.11.0 Az.Billing Get-UsageAggregates
Script 3.3.0 Az.Compute {Remove-AzAvailabilitySet, Get-AzAvailabilitySet, New-AzAv...
Script 1.1.0 Az.DataBoxEdge {Get-AzDataBoxEdgeJob, Get-AzDataBoxEdgeDevice, Invoke-AzD...
Script 0.11.0 Az.Dns {Get-AzDnsRecordSet, New-AzDnsRecordConfig, Remove-AzDnsRe...
Script 1.4.3 Az.EventHub {New-AzEventHubNamespace, Get-AzEventHubNamespace, Set-AzE...
Script 0.11.0 Az.IotHub {Add-AzIotHubKey, Get-AzIotHubEventHubConsumerGroup, Get-A...
Script 0.11.0 Az.KeyVault {Add-AzKeyVaultCertificate, Set-AzKeyVaultCertificateAttri...
Script 1.6.0 Az.Monitor {Get-AzMetricDefinition, Get-AzMetric, Remove-AzLogProfile...
Script 1.2.2 Az.Network {Add-AzApplicationGatewayAuthenticationCertificate, Get-Az...
Script 0.11.0 Az.Resources {Get-AzProviderOperation, Remove-AzRoleAssignment, Get-AzR...
Script 2.6.2 Az.Storage {Get-AzStorageAccount, Get-AzStorageAccountKey, New-AzStor...
Script 0.11.0 Az.Websites {Get-AzAppServicePlan, Set-AzAppServicePlan, New-AzAppServ...
Error output
Metadata
Metadata
Assignees
Labels
Azure PS TeamTrackingWe will track status and follow internallyWe will track status and follow internallybugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedneeds-author-feedbackMore information is needed from author to address the issue.More information is needed from author to address the issue.