Skip to content

New-AzFirewallApplicationRule - An Item with the same key has already been added. Key: WINDOWSUPDATE #28257

@Mal995

Description

@Mal995

Description

When using the New-AzFirewallApplicationRule and passing in the -FqdnTag parameter, it seems this request will query /Microsoft.Network/azureFirewallFqdnTags?api-version=2024-05-01 to return a list of accepted/provisioned FQDN Tags.

when doing so, the 'WINDOWSUPDATE' value is intermittently returned twice and I believe this is causing the error to be returned.
New-AzFirewallApplicationRule: An item with the same key has already been added. Key: WINDOWSUPDATE

Issue script & Debug output

PS C:\Users\**> $DebugPreference='continue'
PS C:\Users\**> New-AzFirewallApplicationRule -Name "randomname" -Description "Microsoft Active Protection Service (MAPS)" -SourceAddress "REMOVED" -FqdnTag "MicrosoftActiveProtectionService" -Debug
DEBUG: 09:21:06 - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 09:21:06 - NewAzureFirewallApplicationRuleCommand begin processing with ParameterSet 'FqdnTag'.
DEBUG: 09:21:06 - using account id '**'...
DEBUG: 09:21:06 - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [Az.Network], Cmdlet = [New-AzFirewallApplicationRule]. Returning default value [True].
DEBUG: [Common.Authentication]: Authenticating using Account: '**', environment: '**', tenant: '**'
DEBUG: 09:21:06 - [ConfigManager] Got nothing from [DisableInstanceDiscovery], Module = [], Cmdlet = []. Returning default value [False].
DEBUG: 09:21:06 - [ConfigManager] Got [False] from [EnableLoginByWam], Module = [], Cmdlet = [].
DEBUG: 09:21:06 - [SilentAuthenticator] Calling SharedTokenCacheCredential.GetTokenAsync - TenantId:'**', Scopes:'https://management.core.windows.net//.default', AuthorityHost:'https://login.microsoftonline.com/', UserId:'**'
DEBUG: SharedTokenCacheCredential.GetToken invoked. Scopes: [ https://management.core.windows.net//.default ] ParentRequestId:
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 9.0.4 Microsoft Windows 10.0.19045 [2025-07-23 08:21:06Z] [Internal cache] Clearing user token cache accessor.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 9.0.4 Microsoft Windows 10.0.19045 [2025-07-23 08:21:06Z] [Internal cache] Total number of cache partitions found while getting refresh tokens: 1
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 9.0.4 Microsoft Windows 10.0.19045 [2025-07-23 08:21:06Z - 9dd964aa-04af-4f9a-bbce-2e155fd8a25a] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 9.0.4 Microsoft Windows 10.0.19045 [2025-07-23 08:21:06Z - 9dd964aa-04af-4f9a-bbce-2e155fd8a25a] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 9.0.4 Microsoft Windows 10.0.19045 [2025-07-23 08:21:06Z - 9dd964aa-04af-4f9a-bbce-2e155fd8a25a] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 9.0.4 Microsoft Windows 10.0.19045 [2025-07-23 08:21:06Z - 9dd964aa-04af-4f9a-bbce-2e155fd8a25a] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 9.0.4 Microsoft Windows 10.0.19045 [2025-07-23 08:21:06Z - 9dd964aa-04af-4f9a-bbce-2e155fd8a25a] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 9.0.4 Microsoft Windows 10.0.19045 [2025-07-23 08:21:06Z] Found 1 cache accounts and 0 broker accounts
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 9.0.4 Microsoft Windows 10.0.19045 [2025-07-23 08:21:06Z] Returning 1 accounts
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 9.0.4 Microsoft Windows 10.0.19045 [2025-07-23 08:21:06Z - fd957bbd-b839-43ad-b221-09f1e8882830] MSAL MSAL.CoreCLR with assembly version '4.65.0.0'. CorrelationId(fd957bbd-b839-43ad-b221-09f1e8882830)
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 9.0.4 Microsoft Windows 10.0.19045 [2025-07-23 08:21:06Z - fd957bbd-b839-43ad-b221-09f1e8882830] === AcquireTokenSilent Parameters ===
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 9.0.4 Microsoft Windows 10.0.19045 [2025-07-23 08:21:06Z - fd957bbd-b839-43ad-b221-09f1e8882830] LoginHint provided: False
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 9.0.4 Microsoft Windows 10.0.19045 [2025-07-23 08:21:06Z - fd957bbd-b839-43ad-b221-09f1e8882830] Account provided: True
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 9.0.4 Microsoft Windows 10.0.19045 [2025-07-23 08:21:06Z - fd957bbd-b839-43ad-b221-09f1e8882830] ForceRefresh: False
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 9.0.4 Microsoft Windows 10.0.19045 [2025-07-23 08:21:06Z - fd957bbd-b839-43ad-b221-09f1e8882830]
=== Request Data ===
Authority Provided? - True
Scopes - https://management.core.windows.net//.default
Extra Query Params Keys (space separated) -
ApiId - AcquireTokenSilent
IsConfidentialClient - False
SendX5C - False
LoginHint ? False
IsBrokerConfigured - False
HomeAccountId - False
CorrelationId - fd957bbd-b839-43ad-b221-09f1e8882830
UserAssertion set: False
LongRunningOboCacheKey set: False
Region configured:

DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 9.0.4 Microsoft Windows 10.0.19045 [2025-07-23 08:21:06Z - fd957bbd-b839-43ad-b221-09f1e8882830] === Token Acquisition (SilentRequest) started:
         Scopes: https://management.core.windows.net//.default
        Authority Host: login.microsoftonline.com
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 9.0.4 Microsoft Windows 10.0.19045 [2025-07-23 08:21:06Z] [Internal cache] Clearing user token cache accessor.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 9.0.4 Microsoft Windows 10.0.19045 [2025-07-23 08:21:06Z - fd957bbd-b839-43ad-b221-09f1e8882830] [Internal cache] Total number of cache partitions found while getting access tokens: 1
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 9.0.4 Microsoft Windows 10.0.19045 [2025-07-23 08:21:06Z - fd957bbd-b839-43ad-b221-09f1e8882830] [FindAccessTokenAsync] Discovered 13 access tokens in cache using partition key: ed1a0f8c-0dad-48dc-a4f3-7ed8a2334abd.396b38cc-aa65-492b-bb0e-3d94ed25a97b
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 9.0.4 Microsoft Windows 10.0.19045 [2025-07-23 08:21:06Z - fd957bbd-b839-43ad-b221-09f1e8882830] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 9.0.4 Microsoft Windows 10.0.19045 [2025-07-23 08:21:06Z - fd957bbd-b839-43ad-b221-09f1e8882830] Access token is not expired. Returning the found cache entry. [Current time (07/23/2025 08:21:06) - Expiration Time (07/23/2025 09:25:01 +00:00) - Extended Expiration Time (07/23/2025 09:25:01 +00:00)]
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 9.0.4 Microsoft Windows 10.0.19045 [2025-07-23 08:21:06Z - fd957bbd-b839-43ad-b221-09f1e8882830] Returning access token found in cache. RefreshOn exists ? False
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 9.0.4 Microsoft Windows 10.0.19045 [2025-07-23 08:21:06Z - fd957bbd-b839-43ad-b221-09f1e8882830] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 9.0.4 Microsoft Windows 10.0.19045 [2025-07-23 08:21:06Z - fd957bbd-b839-43ad-b221-09f1e8882830]
        === Token Acquisition finished successfully:
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 9.0.4 Microsoft Windows 10.0.19045 [2025-07-23 08:21:06Z - fd957bbd-b839-43ad-b221-09f1e8882830]  AT expiration time: 23/07/2025 09:25:01 +00:00, scopes: https://management.core.windows.net//.default https://management.core.windows.net//user_impersonation. source: Cache
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 9.0.4 Microsoft Windows 10.0.19045 [2025-07-23 08:21:06Z - fd957bbd-b839-43ad-b221-09f1e8882830]
[LogMetricsFromAuthResult] Cache Refresh Reason: NotApplicable
[LogMetricsFromAuthResult] DurationInCacheInMs: 0
[LogMetricsFromAuthResult] DurationTotalInMs: 10
[LogMetricsFromAuthResult] DurationInHttpInMs: 0
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 9.0.4 Microsoft Windows 10.0.19045 [2025-07-23 08:21:06Z - fd957bbd-b839-43ad-b221-09f1e8882830] TokenEndpoint: ****
DEBUG: SharedTokenCacheCredential.GetToken succeeded. Scopes: [ https://management.core.windows.net//.default ] ParentRequestId:  ExpiresOn: 2025-07-23T09:25:01.0000000+00:00
DEBUG: [Common.Authentication]: Received token with LoginType 'User', Tenant: '**', UserId: '**'
DEBUG: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.azure.com/subscriptions/79afdb9b-71b9-4f2d-99e5-e2667fbf2d2f/providers/Microsoft.Network/azureFirewallFqdnTags?api-version=2024-05-01

Headers:
Accept-Language               : en-US
x-ms-client-request-id        : 24f02219-a7e9-4bbd-99b6-b11b7c34be8f

Body:



DEBUG: ============================ HTTP RESPONSE ============================

Status Code:
OK

Headers:
Date                          : Wed, 23 Jul 2025 08:21:06 GMT
Pragma                        : no-cache
X-Cache                       : CONFIG_NOCACHE
Connection                    : Keep-Alive
X-MSEdge-Ref                  : Ref A: 7B8FBD79EAF94FCF9AB2606B640922A3 Ref B: AMS231022012047 Ref C: 2025-07-23T08:21:06Z
Cache-Control                 : no-cache
x-ms-request-id               : 92e3d6ff-0a7f-4ac5-833e-9dc63607dae9
X-Content-Type-Options        : nosniff
x-ms-routing-request-id       : UKSOUTH:20250723T082107Z:7339ab2d-6961-46fe-9e24-87353ad72559
Strict-Transport-Security     : max-age=31536000; includeSubDomains
x-ms-operation-identifier     : **
x-ms-arm-service-request-id   : e17d53db-8dc1-48b8-b10b-530ce959bcea
x-ms-correlation-request-id   : 7339ab2d-6961-46fe-9e24-87353ad72559
x-ms-ratelimit-remaining-subscription-reads: 249
x-ms-ratelimit-remaining-subscription-global-reads: 3749

Body:
{
  "value": [
    {
      "name": "AppServiceEnvironment",
      "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/azureFirewallFqdnTags/",
      "type": "Microsoft.Network/azureFirewallFqdnTags",
      "properties": {
        "provisioningState": "Succeeded",
        "fqdnTagName": "AppServiceEnvironment"
      }
    },
    {
      "name": "AzureBackup",
      "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/azureFirewallFqdnTags/",
      "type": "Microsoft.Network/azureFirewallFqdnTags",
      "properties": {
        "provisioningState": "Succeeded",
        "fqdnTagName": "AzureBackup"
      }
    },
    {
      "name": "AzureKubernetesService",
      "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/azureFirewallFqdnTags/",
      "type": "Microsoft.Network/azureFirewallFqdnTags",
      "properties": {
        "provisioningState": "Succeeded",
        "fqdnTagName": "AzureKubernetesService"
      }
    },
    {
      "name": "HDInsight",
      "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/azureFirewallFqdnTags/",
      "type": "Microsoft.Network/azureFirewallFqdnTags",
      "properties": {
        "provisioningState": "Succeeded",
        "fqdnTagName": "HDInsight"
      }
    },
    {
      "name": "MicrosoftActiveProtectionService",
      "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/azureFirewallFqdnTags/",
      "type": "Microsoft.Network/azureFirewallFqdnTags",
      "properties": {
        "provisioningState": "Succeeded",
        "fqdnTagName": "MicrosoftActiveProtectionService"
      }
    },
    {
      "name": "MicrosoftIntune",
      "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/azureFirewallFqdnTags/",
      "type": "Microsoft.Network/azureFirewallFqdnTags",
      "properties": {
        "provisioningState": "Succeeded",
        "fqdnTagName": "MicrosoftIntune"
      }
    },
    {
      "name": "Windows365",
      "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/azureFirewallFqdnTags/",
      "type": "Microsoft.Network/azureFirewallFqdnTags",
      "properties": {
        "provisioningState": "Succeeded",
        "fqdnTagName": "Windows365"
      }
    },
    {
      "name": "WindowsDiagnostics",
      "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/azureFirewallFqdnTags/",
      "type": "Microsoft.Network/azureFirewallFqdnTags",
      "properties": {
        "provisioningState": "Succeeded",
        "fqdnTagName": "WindowsDiagnostics"
      }
    },
    {
      "name": "WindowsUpdate",
      "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/azureFirewallFqdnTags/",
      "type": "Microsoft.Network/azureFirewallFqdnTags",
      "properties": {
        "provisioningState": "Succeeded",
        "fqdnTagName": "WindowsUpdate"
      }
    },
    {
      "name": "WindowsUpdate",
      "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/azureFirewallFqdnTags/",
      "type": "Microsoft.Network/azureFirewallFqdnTags",
      "properties": {
        "provisioningState": "Succeeded",
        "fqdnTagName": "WindowsUpdate"
      }
    },
    {
      "name": "WindowsVirtualDesktop",
      "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/azureFirewallFqdnTags/",
      "type": "Microsoft.Network/azureFirewallFqdnTags",
      "properties": {
        "provisioningState": "Succeeded",
        "fqdnTagName": "WindowsVirtualDesktop"
      }
    },
    {
      "name": "citrixHdxPlusForWindows365",
      "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/azureFirewallFqdnTags/",
      "type": "Microsoft.Network/azureFirewallFqdnTags",
      "properties": {
        "provisioningState": "Succeeded",
        "fqdnTagName": "citrixHdxPlusForWindows365"
      }
    },
    {
      "name": "Office365.Exchange.Optimize",
      "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/azureFirewallFqdnTags/",
      "type": "Microsoft.Network/azureFirewallFqdnTags",
      "properties": {
        "provisioningState": "Succeeded",
        "fqdnTagName": "Office365.Exchange.Optimize"
      }
    },
    {
      "name": "Office365.Exchange.Default.Required",
      "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/azureFirewallFqdnTags/",
      "type": "Microsoft.Network/azureFirewallFqdnTags",
      "properties": {
        "provisioningState": "Succeeded",
        "fqdnTagName": "Office365.Exchange.Default.Required"
      }
    },
    {
      "name": "Office365.Exchange.Allow.Required",
      "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/azureFirewallFqdnTags/",
      "type": "Microsoft.Network/azureFirewallFqdnTags",
      "properties": {
        "provisioningState": "Succeeded",
        "fqdnTagName": "Office365.Exchange.Allow.Required"
      }
    },
    {
      "name": "Office365.Skype.Allow.Required",
      "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/azureFirewallFqdnTags/",
      "type": "Microsoft.Network/azureFirewallFqdnTags",
      "properties": {
        "provisioningState": "Succeeded",
        "fqdnTagName": "Office365.Skype.Allow.Required"
      }
    },
    {
      "name": "Office365.Skype.Default.Required",
      "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/azureFirewallFqdnTags/",
      "type": "Microsoft.Network/azureFirewallFqdnTags",
      "properties": {
        "provisioningState": "Succeeded",
        "fqdnTagName": "Office365.Skype.Default.Required"
      }
    },
    {
      "name": "Office365.Skype.Default.NotRequired",
      "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/azureFirewallFqdnTags/",
      "type": "Microsoft.Network/azureFirewallFqdnTags",
      "properties": {
        "provisioningState": "Succeeded",
        "fqdnTagName": "Office365.Skype.Default.NotRequired"
      }
    },
    {
      "name": "Office365.SharePoint.Optimize",
      "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/azureFirewallFqdnTags/",
      "type": "Microsoft.Network/azureFirewallFqdnTags",
      "properties": {
        "provisioningState": "Succeeded",
        "fqdnTagName": "Office365.SharePoint.Optimize"
      }
    },
    {
      "name": "Office365.SharePoint.Default.NotRequired",
      "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/azureFirewallFqdnTags/",
      "type": "Microsoft.Network/azureFirewallFqdnTags",
      "properties": {
        "provisioningState": "Succeeded",
        "fqdnTagName": "Office365.SharePoint.Default.NotRequired"
      }
    },
    {
      "name": "Office365.SharePoint.Default.Required",
      "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/azureFirewallFqdnTags/",
      "type": "Microsoft.Network/azureFirewallFqdnTags",
      "properties": {
        "provisioningState": "Succeeded",
        "fqdnTagName": "Office365.SharePoint.Default.Required"
      }
    },
    {
      "name": "Office365.Common.Allow.Required",
      "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/azureFirewallFqdnTags/",
      "type": "Microsoft.Network/azureFirewallFqdnTags",
      "properties": {
        "provisioningState": "Succeeded",
        "fqdnTagName": "Office365.Common.Allow.Required"
      }
    },
    {
      "name": "Office365.Common.Default.Required",
      "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/azureFirewallFqdnTags/",
      "type": "Microsoft.Network/azureFirewallFqdnTags",
      "properties": {
        "provisioningState": "Succeeded",
        "fqdnTagName": "Office365.Common.Default.Required"
      }
    },
    {
      "name": "Office365.Common.Default.NotRequired",
      "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/azureFirewallFqdnTags/",
      "type": "Microsoft.Network/azureFirewallFqdnTags",
      "properties": {
        "provisioningState": "Succeeded",
        "fqdnTagName": "Office365.Common.Default.NotRequired"
      }
    }
  ]
}


DEBUG: 09:21:07 - [ConfigManager] Got nothing from [EnableErrorRecordsPersistence], Module = [Az.Network], Cmdlet = [New-AzFirewallApplicationRule]. Returning default value [False].
New-AzFirewallApplicationRule: An item with the same key has already been added. Key: WINDOWSUPDATE
DEBUG: 09:21:07 - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [Az.Network], Cmdlet = [New-AzFirewallApplicationRule]. Returning default value [True].
DEBUG: 09:21:07 - [ConfigManager] Got nothing from [DisplayRegionIdentified], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 09:21:07 - [ConfigManager] Got nothing from [CheckForUpgrade], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 09:21:07 - No authentication telemetry is found for the current cmdlet with Id 24f02219-a7e9-4bbd-99b6-b11b7c34be8f.
DEBUG: AzureQoSEvent:  Module: Az.Network:7.16.1; CommandName: New-AzFirewallApplicationRule; PSVersion: 7.5.1; IsSuccess: False; Duration: 00:00:00.6846405; SanitizeDuration: 00:00:00; Exception: An item with the same key has already been added. Key: WINDOWSUPDATE;
DEBUG: 09:21:07 - [ConfigManager] Got nothing from [EnableDataCollection], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 09:21:07 - NewAzureFirewallApplicationRuleCommand end processing.

Environment data

$PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.5.1
PSEdition                      Core
GitCommitId                    7.5.1
OS                             Microsoft Windows 10.0.19045
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Module versions

ModuleType Version    PreRelease Name                                ExportedCommands
---------- -------    ---------- ----                                ----------------
Script     4.2.0                 Az.Accounts                         {Add-AzEnvironment, Clear-AzConfig, Clear-AzConte…
Script     7.16.1                Az.Network                          {Add-AzApplicationGatewayAuthenticationCertificat

Error output

Resolve-AzError
DEBUG: 09:30:15 - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 09:30:15 - ResolveError begin processing with ParameterSet 'AnyErrorParameterSet'.
DEBUG: 09:30:15 - using account id '**'...
DEBUG: 09:30:15 - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [Az.Accounts], Cmdlet = [Resolve-AzError]. Returning default value [True].
DEBUG: 09:30:15 - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].

   HistoryId: 6

Message        : An item with the same key has already been added. Key: WINDOWSUPDATE
StackTrace     :    at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior
                 behavior)
                    at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
                    at Microsoft.Azure.Commands.Network.AzureFirewallFqdnTagHelper.<>c.<MapUserInputToAllowedFqdnTags>b
                 __0_0(Dictionary`2 userAcceptedVersions, PSAzureFirewallFqdnTag allowedFqdnTag)
                    at System.Linq.Enumerable.Aggregate[TSource,TAccumulate](IEnumerable`1 source, TAccumulate seed,
                 Func`3 func)
                    at Microsoft.Azure.Commands.Network.AzureFirewallFqdnTagHelper.MapUserInputToAllowedFqdnTags(IEnume
                 rable`1 userFqdnTags, IAzureFirewallFqdnTagsOperations azureFirewallFqdnTagClient)
                    at Microsoft.Azure.Commands.Network.NewAzureFirewallApplicationRuleCommand.Execute()
                    at Microsoft.Azure.Commands.Network.NetworkBaseCmdlet.ExecuteCmdlet()
                    at Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.<>c__3`1.<ExecuteSynchronously
                 OrAsJob>b__3_0(T c)
                    at
                 Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.ExecuteSynchronouslyOrAsJob[T](T
                 cmdlet, Action`1 executor)
                    at
                 Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.ExecuteSynchronouslyOrAsJob[T](T
                 cmdlet)
                    at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.ProcessRecord()
Exception      : System.ArgumentException
InvocationInfo : {New-AzFirewallApplicationRule}
Line           : New-AzFirewallApplicationRule -Name "randomname" -Description "Microsoft Active Protection Service
                 (MAPS)" -SourceAddress "REMOVED" -FqdnTag "MicrosoftActiveProtectionService"
Position       : At line:1 char:1
                 + New-AzFirewallApplicationRule -Name "randomname" -Description "Mic …
                 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId      : 6

Metadata

Metadata

Assignees

No one assigned

    Labels

    Network - FirewallService AttentionThis issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions