diff --git a/src/Accounts/Accounts.Test/EnvironmentCmdletTests.cs b/src/Accounts/Accounts.Test/EnvironmentCmdletTests.cs index 638c21133537..57544806b13f 100644 --- a/src/Accounts/Accounts.Test/EnvironmentCmdletTests.cs +++ b/src/Accounts/Accounts.Test/EnvironmentCmdletTests.cs @@ -382,6 +382,8 @@ public void CanCreateEnvironmentWithAllProperties() AzureOperationalInsightsEndpoint = "https://AzureOperationalInsights", AzureAttestationServiceEndpointResourceId = "AzureAttestationServiceEndpointResourceId", AzureAttestationServiceEndpointSuffix = "https://AzureAttestationService", + AzureSynapseAnalyticsEndpointResourceId = "AzureSynapseAnalyticsEndpointResourceId", + AzureSynapseAnalyticsEndpointSuffix = "https://AzureSynapseAnalytics", }; var dict = new Dictionary(); @@ -407,6 +409,8 @@ public void CanCreateEnvironmentWithAllProperties() dict["AzureOperationalInsightsEndpoint"] = "https://AzureOperationalInsights"; dict["AzureAttestationServiceEndpointResourceId"] = "AzureAttestationServiceEndpointResourceId"; dict["AzureAttestationServiceEndpointSuffix"] = "https://AzureAttestationService"; + dict["AzureSynapseAnalyticsEndpointResourceId"] = "AzureSynapseAnalyticsEndpointResourceId"; + dict["AzureSynapseAnalyticsEndpointSuffix"] = "https://AzureSynapseAnalytics"; cmdlet.SetBoundParameters(dict); cmdlet.InvokeBeginProcessing(); @@ -436,6 +440,8 @@ public void CanCreateEnvironmentWithAllProperties() Assert.Equal(cmdlet.AzureOperationalInsightsEndpoint, actual.AzureOperationalInsightsEndpoint); Assert.Equal(cmdlet.AzureAttestationServiceEndpointResourceId, actual.AzureAttestationServiceEndpointResourceId); Assert.Equal(cmdlet.AzureAttestationServiceEndpointSuffix, actual.AzureAttestationServiceEndpointSuffix); + Assert.Equal(cmdlet.AzureSynapseAnalyticsEndpointResourceId, actual.AzureSynapseAnalyticsEndpointResourceId); + Assert.Equal(cmdlet.AzureSynapseAnalyticsEndpointSuffix, actual.AzureSynapseAnalyticsEndpointSuffix); commandRuntimeMock.Verify(f => f.WriteObject(It.IsAny()), Times.Once()); IAzureEnvironment env = AzureRmProfileProvider.Instance.Profile.GetEnvironment("KaTaL"); Assert.Equal(env.Name, cmdlet.Name); diff --git a/src/Accounts/Accounts/ChangeLog.md b/src/Accounts/Accounts/ChangeLog.md index 8f4740ef6acb..31d52d67fb67 100644 --- a/src/Accounts/Accounts/ChangeLog.md +++ b/src/Accounts/Accounts/ChangeLog.md @@ -19,6 +19,7 @@ --> ## Upcoming Release * Removed alias of `Resolve-AzError` +* Updated Add-AzEnvironment and Set-AzEnvironment to accept parameters AzureSynapseAnalyticsEndpointResourceId and AzureSynapseAnalyticsEndpointSuffix ## Version 1.7.5 * Updated Azure PowerShell survey URL in `Resolve-AzError` [#11507] diff --git a/src/Accounts/Accounts/Environment/AddAzureRMEnvironment.cs b/src/Accounts/Accounts/Environment/AddAzureRMEnvironment.cs index 8ad5cf197c28..a7df90cadf04 100644 --- a/src/Accounts/Accounts/Environment/AddAzureRMEnvironment.cs +++ b/src/Accounts/Accounts/Environment/AddAzureRMEnvironment.cs @@ -175,6 +175,13 @@ public string DataLakeAudience HelpMessage = "The resource identifier of the Azure Attestation service that is the recipient of the requested token.")] public string AzureAttestationServiceEndpointResourceId { get; set; } + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, + HelpMessage = "Dns suffix of Azure Synapse Analytics.")] + public string AzureSynapseAnalyticsEndpointSuffix { get; set; } + + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, + HelpMessage = "The resource identifier of the Azure Synapse Analytics that is the recipient of the requested token.")] + public string AzureSynapseAnalyticsEndpointResourceId { get; set; } protected override void BeginProcessing() { @@ -329,6 +336,10 @@ public override void ExecuteCmdlet() nameof(AzureAttestationServiceEndpointSuffix)); SetEndpointIfBound(newEnvironment, AzureEnvironment.ExtendedEndpoint.AzureAttestationServiceEndpointResourceId, nameof(AzureAttestationServiceEndpointResourceId)); + SetEndpointIfBound(newEnvironment, AzureEnvironment.ExtendedEndpoint.AzureSynapseAnalyticsEndpointSuffix, + nameof(AzureSynapseAnalyticsEndpointSuffix)); + SetEndpointIfBound(newEnvironment, AzureEnvironment.ExtendedEndpoint.AzureSynapseAnalyticsEndpointResourceId, + nameof(AzureSynapseAnalyticsEndpointResourceId)); WriteObject(new PSAzureEnvironment(profileClient.AddOrSetEnvironment(newEnvironment))); } }); diff --git a/src/Accounts/Accounts/Environment/SetAzureRMEnvironment.cs b/src/Accounts/Accounts/Environment/SetAzureRMEnvironment.cs index f144d691d2d8..ff89ec0f19b6 100644 --- a/src/Accounts/Accounts/Environment/SetAzureRMEnvironment.cs +++ b/src/Accounts/Accounts/Environment/SetAzureRMEnvironment.cs @@ -176,6 +176,14 @@ public string DataLakeAudience HelpMessage = "The resource identifier of the Azure Attestation service that is the recipient of the requested token.")] public string AzureAttestationServiceEndpointResourceId { get; set; } + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, + HelpMessage = "Dns suffix of Azure Synapse Analytics.")] + public string AzureSynapseAnalyticsEndpointSuffix { get; set; } + + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, + HelpMessage = "The resource identifier of the Azure Synapse Analytics that is the recipient of the requested token.")] + public string AzureSynapseAnalyticsEndpointResourceId { get; set; } + protected override void BeginProcessing() { // do not call begin processing there is no context needed for this cmdlet @@ -329,6 +337,10 @@ public override void ExecuteCmdlet() nameof(AzureAttestationServiceEndpointSuffix)); SetEndpointIfBound(newEnvironment, AzureEnvironment.ExtendedEndpoint.AzureAttestationServiceEndpointResourceId, nameof(AzureAttestationServiceEndpointResourceId)); + SetEndpointIfBound(newEnvironment, AzureEnvironment.ExtendedEndpoint.AzureSynapseAnalyticsEndpointSuffix, + nameof(AzureSynapseAnalyticsEndpointSuffix)); + SetEndpointIfBound(newEnvironment, AzureEnvironment.ExtendedEndpoint.AzureSynapseAnalyticsEndpointResourceId, + nameof(AzureSynapseAnalyticsEndpointResourceId)); WriteObject(new PSAzureEnvironment(profileClient.AddOrSetEnvironment(newEnvironment))); } }); diff --git a/src/Accounts/Accounts/help/Add-AzEnvironment.md b/src/Accounts/Accounts/help/Add-AzEnvironment.md index ac3753301d3a..c7910699dfa9 100644 --- a/src/Accounts/Accounts/help/Add-AzEnvironment.md +++ b/src/Accounts/Accounts/help/Add-AzEnvironment.md @@ -26,7 +26,8 @@ Add-AzEnvironment [-Name] [[-PublishSettingsFileUrl] ] [[-Servi [[-BatchEndpointResourceId] ] [[-AzureOperationalInsightsEndpointResourceId] ] [[-AzureOperationalInsightsEndpoint] ] [-AzureAnalysisServicesEndpointSuffix ] [-AzureAnalysisServicesEndpointResourceId ] [-AzureAttestationServiceEndpointSuffix ] - [-AzureAttestationServiceEndpointResourceId ] [-Scope ] + [-AzureAttestationServiceEndpointResourceId ] [-AzureSynapseAnalyticsEndpointSuffix ] + [-AzureSynapseAnalyticsEndpointResourceId ] [-Scope ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` @@ -38,6 +39,7 @@ Add-AzEnvironment [-Name] [[-StorageEndpoint] ] [-ARMEndpoint] [[-AzureOperationalInsightsEndpointResourceId] ] [[-AzureOperationalInsightsEndpoint] ] [-AzureAnalysisServicesEndpointSuffix ] [-AzureAnalysisServicesEndpointResourceId ] [-AzureAttestationServiceEndpointSuffix ] [-AzureAttestationServiceEndpointResourceId ] + [-AzureSynapseAnalyticsEndpointSuffix ] [-AzureSynapseAnalyticsEndpointResourceId ] [-Scope ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` @@ -91,6 +93,8 @@ AzureOperationalInsightsEndpoint : AzureAnalysisServicesEndpointSuffix : AzureAttestationServiceEndpointSuffix : AzureAttestationServiceEndpointResourceId : +AzureSynapseAnalyticsEndpointSuffix : +AzureSynapseAnalyticsEndpointResourceId : VersionProfiles : {} ExtendedProperties : {} BatchEndpointResourceId : @@ -310,6 +314,36 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` +### -AzureSynapseAnalyticsEndpointResourceId +The The resource identifier of the Azure Synapse Analytics that is the recipient of the requested token. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AzureSynapseAnalyticsEndpointSuffix +Dns suffix of Azure Synapse Analytics. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -BatchEndpointResourceId The resource identifier of the Azure Batch service that is the recipient of the requested token diff --git a/src/Accounts/Accounts/help/Set-AzEnvironment.md b/src/Accounts/Accounts/help/Set-AzEnvironment.md index 689e55eae55b..0dceadd1d673 100644 --- a/src/Accounts/Accounts/help/Set-AzEnvironment.md +++ b/src/Accounts/Accounts/help/Set-AzEnvironment.md @@ -26,7 +26,8 @@ Set-AzEnvironment [-Name] [[-PublishSettingsFileUrl] ] [[-Servi [[-BatchEndpointResourceId] ] [[-AzureOperationalInsightsEndpointResourceId] ] [[-AzureOperationalInsightsEndpoint] ] [-AzureAnalysisServicesEndpointSuffix ] [-AzureAnalysisServicesEndpointResourceId ] [-AzureAttestationServiceEndpointSuffix ] - [-AzureAttestationServiceEndpointResourceId ] [-Scope ] + [-AzureAttestationServiceEndpointResourceId ] [-AzureSynapseAnalyticsEndpointSuffix ] + [-AzureSynapseAnalyticsEndpointResourceId ] [-Scope ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` @@ -38,6 +39,7 @@ Set-AzEnvironment [-Name] [[-StorageEndpoint] ] [-ARMEndpoint] [[-AzureOperationalInsightsEndpointResourceId] ] [[-AzureOperationalInsightsEndpoint] ] [-AzureAnalysisServicesEndpointSuffix ] [-AzureAnalysisServicesEndpointResourceId ] [-AzureAttestationServiceEndpointSuffix ] [-AzureAttestationServiceEndpointResourceId ] + [-AzureSynapseAnalyticsEndpointSuffix ] [-AzureSynapseAnalyticsEndpointResourceId ] [-Scope ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` @@ -88,6 +90,8 @@ AzureOperationalInsightsEndpoint : AzureOperationalInsightsEndpointResourceId : AzureAttestationServiceEndpointSuffix : AzureAttestationServiceEndpointResourceId : +AzureSynapseAnalyticsEndpointSuffix : +AzureSynapseAnalyticsEndpointResourceId : ``` In this example we are creating a new Azure environment with sample endpoints using Add-AzEnvironment, and then we are changing the value of the ActiveDirectoryEndpoint and GraphEndpoint attributes of the created environment using the cmdlet Set-AzEnvironment. @@ -303,6 +307,36 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` +### -AzureSynapseAnalyticsEndpointResourceId +The The resource identifier of the Azure Synapse Analytics that is the recipient of the requested token. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AzureSynapseAnalyticsEndpointSuffix +Dns suffix of Azure Synapse Analytics. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -BatchEndpointResourceId The resource identifier of the Azure Batch service that is the recipient of the requested token diff --git a/src/Accounts/Authentication.ResourceManager/Models/PSAzureEnvironment.cs b/src/Accounts/Authentication.ResourceManager/Models/PSAzureEnvironment.cs index b8ff5b1158b2..0b37d328c49c 100644 --- a/src/Accounts/Authentication.ResourceManager/Models/PSAzureEnvironment.cs +++ b/src/Accounts/Authentication.ResourceManager/Models/PSAzureEnvironment.cs @@ -114,6 +114,9 @@ public PSAzureEnvironment(PSObject other) AzureAttestationServiceEndpointResourceId = other.GetProperty(nameof(AzureAttestationServiceEndpointResourceId)); AzureAttestationServiceEndpointSuffix = other.GetProperty(nameof(AzureAttestationServiceEndpointSuffix)); + AzureSynapseAnalyticsEndpointResourceId = + other.GetProperty(nameof(AzureSynapseAnalyticsEndpointResourceId)); + AzureSynapseAnalyticsEndpointSuffix = other.GetProperty(nameof(AzureSynapseAnalyticsEndpointSuffix)); VersionProfiles.Populate(nameof(VersionProfiles), other); this.PopulateExtensions(other); } @@ -324,6 +327,36 @@ public string AzureAttestationServiceEndpointResourceId } } + /// + /// The domain name suffix for Azure Synapse Analyticss + /// + public string AzureSynapseAnalyticsEndpointSuffix + { + get + { + return this.GetEndpoint(AzureEnvironment.ExtendedEndpoint.AzureSynapseAnalyticsEndpointSuffix); + } + set + { + this.SetEndpoint(AzureEnvironment.ExtendedEndpoint.AzureSynapseAnalyticsEndpointSuffix, value); + } + } + + /// + /// Gets or sets the resource Id to use for contacting the Synapse Analyticss endpoint + /// + public string AzureSynapseAnalyticsEndpointResourceId + { + get + { + return this.GetEndpoint(AzureEnvironment.ExtendedEndpoint.AzureSynapseAnalyticsEndpointResourceId); + } + set + { + this.SetEndpoint(AzureEnvironment.ExtendedEndpoint.AzureSynapseAnalyticsEndpointResourceId, value); + } + } + public IList VersionProfiles { get; } = new List(); public IDictionary ExtendedProperties { get; } = new Dictionary(StringComparer.OrdinalIgnoreCase); diff --git a/src/Accounts/Authentication.Test/TypeConversionTests.cs b/src/Accounts/Authentication.Test/TypeConversionTests.cs index 952b5fd46cde..04cbc2429e1a 100644 --- a/src/Accounts/Authentication.Test/TypeConversionTests.cs +++ b/src/Accounts/Authentication.Test/TypeConversionTests.cs @@ -66,6 +66,8 @@ public void CanConvertNullEnvironments() Assert.Null(environment.AzureAnalysisServicesEndpointSuffix); Assert.Null(environment.AzureAttestationServiceEndpointResourceId); Assert.Null(environment.AzureAttestationServiceEndpointSuffix); + Assert.Null(environment.AzureSynapseAnalyticsEndpointResourceId); + Assert.Null(environment.AzureSynapseAnalyticsEndpointSuffix); } @@ -78,7 +80,7 @@ public void CanConvertNullEnvironments() "https://management.core.windows.net", ".sql.azure.com", ".core.windows.net", ".trafficmanager.windows.net", "https://batch.core.windows.net", "https://datalake.azure.net", "https://api.loganalytics.io", "https://api.loganalytics.io/v1", "analysisservices.azure.net", - "https://attest.azure.net", "attest.azure.net")] + "https://attest.azure.net", "attest.azure.net", "https://dev.azuresynapse.net", "dev.azuresynapse.net")] [Trait(Category.AcceptanceType, Category.CheckIn)] public void CanConvertValidEnvironments(string name, bool onPremise, string activeDirectory, string serviceResource, string adTenant, string dataLakeJobs, string dataLakeFiles, string kvDnsSuffix, @@ -86,7 +88,8 @@ public void CanConvertValidEnvironments(string name, bool onPremise, string acti string publishSettings, string resourceManager, string serviceManagement, string sqlSuffix, string storageSuffix, string trafficManagerSuffix, string batchResource, string dataLakeResource, string azureOperationalInsightsEndpointResourceId, string azureOperationalInsightsEndpoint, string analysisServicesSuffix, - string azureAttestationServiceEndpointResourceId, string azureAttestationServiceEndpointSuffix) + string azureAttestationServiceEndpointResourceId, string azureAttestationServiceEndpointSuffix, + string azureSynapseAnalyticsEndpointResourceId, string azureSynapseAnalyticsEndpointSuffix) { AzureEnvironment azEnvironment = CreateEnvironment(name, onPremise, activeDirectory, serviceResource, adTenant, dataLakeJobs, dataLakeFiles, kvDnsSuffix, @@ -94,7 +97,8 @@ public void CanConvertValidEnvironments(string name, bool onPremise, string acti resourceManager, serviceManagement, sqlSuffix, storageSuffix, trafficManagerSuffix, batchResource, dataLakeResource, azureOperationalInsightsEndpointResourceId, azureOperationalInsightsEndpoint, analysisServicesSuffix, - azureAttestationServiceEndpointResourceId, azureAttestationServiceEndpointSuffix); + azureAttestationServiceEndpointResourceId, azureAttestationServiceEndpointSuffix, + azureSynapseAnalyticsEndpointResourceId, azureSynapseAnalyticsEndpointSuffix); var environment = (PSAzureEnvironment)azEnvironment; Assert.NotNull(environment); CheckEndpoint(AzureEnvironment.Endpoint.ActiveDirectory, azEnvironment, @@ -145,6 +149,10 @@ public void CanConvertValidEnvironments(string name, bool onPremise, string acti environment.AzureAttestationServiceEndpointResourceId); CheckEndpoint(AzureEnvironment.ExtendedEndpoint.AzureAttestationServiceEndpointSuffix, azEnvironment, environment.AzureAttestationServiceEndpointSuffix); + CheckEndpoint(AzureEnvironment.ExtendedEndpoint.AzureSynapseAnalyticsEndpointResourceId, azEnvironment, + environment.AzureSynapseAnalyticsEndpointResourceId); + CheckEndpoint(AzureEnvironment.ExtendedEndpoint.AzureSynapseAnalyticsEndpointSuffix, azEnvironment, + environment.AzureSynapseAnalyticsEndpointSuffix); Assert.Equal(azEnvironment.Name, environment.Name); Assert.Equal(azEnvironment.OnPremise, environment.EnableAdfsAuthentication); } @@ -183,6 +191,8 @@ public void CanConvertNullPSEnvironments() Assert.False(environment.IsEndpointSet(AzureEnvironment.ExtendedEndpoint.AnalysisServicesEndpointSuffix)); Assert.False(environment.IsEndpointSet(AzureEnvironment.ExtendedEndpoint.AzureAttestationServiceEndpointResourceId)); Assert.False(environment.IsEndpointSet(AzureEnvironment.ExtendedEndpoint.AzureAttestationServiceEndpointSuffix)); + Assert.False(environment.IsEndpointSet(AzureEnvironment.ExtendedEndpoint.AzureSynapseAnalyticsEndpointResourceId)); + Assert.False(environment.IsEndpointSet(AzureEnvironment.ExtendedEndpoint.AzureSynapseAnalyticsEndpointSuffix)); } [Theory] @@ -194,7 +204,7 @@ public void CanConvertNullPSEnvironments() "https://management.core.windows.net", ".sql.azure.com", ".core.windows.net", ".trafficmanager.windows.net", "https://batch.core.windows.net", "https://datalake.azure.net", "https://api.loganalytics.io", "https://api.loganalytics.io/v1", "analysisservices.azure.net", - "https://attest.azure.net", "attest.azure.net")] + "https://attest.azure.net", "attest.azure.net", "https://dev.azuresynapse.net", "dev.azuresynapse.net")] [Trait(Category.AcceptanceType, Category.CheckIn)] public void CanConvertValidPSEnvironments(string name, bool onPremise, string activeDirectory, string serviceResource, string adTenant, string dataLakeJobs, string dataLakeFiles, string kvDnsSuffix, @@ -202,7 +212,8 @@ public void CanConvertValidPSEnvironments(string name, bool onPremise, string ac string publishSettings, string resourceManager, string serviceManagement, string sqlSuffix, string storageSuffix, string trafficManagerSuffix, string batchResource, string dataLakeResource, string azureOperationalInsightsEndpointResourceId, string azureOperationalInsightsEndpoint, string analysisServicesSuffix, - string azureAttestationServiceEndpointResourceId, string azureAttestationServiceEndpointSuffix) + string azureAttestationServiceEndpointResourceId, string azureAttestationServiceEndpointSuffix, + string azureSynapseAnalyticsEndpointResourceId, string azureSynapseAnalyticsEndpointSuffix) { PSAzureEnvironment environment = new PSAzureEnvironment { @@ -231,7 +242,9 @@ public void CanConvertValidPSEnvironments(string name, bool onPremise, string ac AzureOperationalInsightsEndpoint = azureOperationalInsightsEndpoint, AzureAnalysisServicesEndpointSuffix = analysisServicesSuffix, AzureAttestationServiceEndpointResourceId = azureAttestationServiceEndpointResourceId, - AzureAttestationServiceEndpointSuffix = azureAttestationServiceEndpointSuffix + AzureAttestationServiceEndpointSuffix = azureAttestationServiceEndpointSuffix, + AzureSynapseAnalyticsEndpointResourceId = azureSynapseAnalyticsEndpointResourceId, + AzureSynapseAnalyticsEndpointSuffix = azureSynapseAnalyticsEndpointSuffix }; var azEnvironment = (AzureEnvironment)environment; Assert.NotNull(environment); @@ -283,6 +296,10 @@ public void CanConvertValidPSEnvironments(string name, bool onPremise, string ac environment.AzureAttestationServiceEndpointResourceId); CheckEndpoint(AzureEnvironment.ExtendedEndpoint.AzureAttestationServiceEndpointSuffix, azEnvironment, environment.AzureAttestationServiceEndpointSuffix); + CheckEndpoint(AzureEnvironment.ExtendedEndpoint.AzureSynapseAnalyticsEndpointResourceId, azEnvironment, + environment.AzureSynapseAnalyticsEndpointResourceId); + CheckEndpoint(AzureEnvironment.ExtendedEndpoint.AzureSynapseAnalyticsEndpointSuffix, azEnvironment, + environment.AzureSynapseAnalyticsEndpointSuffix); Assert.Equal(azEnvironment.Name, environment.Name); Assert.Equal(azEnvironment.OnPremise, environment.EnableAdfsAuthentication); } @@ -294,7 +311,8 @@ private AzureEnvironment CreateEnvironment(string name, bool onPremise, string a string publishSettings, string resourceManager, string serviceManagement, string sqlSuffix, string storageSuffix, string trafficManagerSuffix, string batchResource, string dataLakeResource, string azureOperationalInsightsEndpointResourceId, string azureOperationalInsightsEndpoint, string analysisServicesSuffix, - string azureAttestationServiceEndpointResourceId, string azureAttestationServiceEndpointSuffix) + string azureAttestationServiceEndpointResourceId, string azureAttestationServiceEndpointSuffix, + string azureSynapseAnalyticsEndpointResourceId, string azureSynapseAnalyticsEndpointSuffix) { var environment = new AzureEnvironment() { Name = name, OnPremise = onPremise }; SetEndpoint(AzureEnvironment.Endpoint.ActiveDirectory, environment, activeDirectory); @@ -345,6 +363,10 @@ private AzureEnvironment CreateEnvironment(string name, bool onPremise, string a azureAttestationServiceEndpointResourceId); CheckEndpoint(AzureEnvironment.ExtendedEndpoint.AzureAttestationServiceEndpointSuffix, environment, azureAttestationServiceEndpointSuffix); + CheckEndpoint(AzureEnvironment.ExtendedEndpoint.AzureSynapseAnalyticsEndpointResourceId, environment, + azureSynapseAnalyticsEndpointResourceId); + CheckEndpoint(AzureEnvironment.ExtendedEndpoint.AzureSynapseAnalyticsEndpointSuffix, environment, + azureSynapseAnalyticsEndpointSuffix); return environment; }