Skip to content

Resource Provider Microsoft.Network.Firewall Policies throws No registered resource provider found for location and API version #27549

Open
@poundingCode

Description

@poundingCode

Description

When executing Az.Network commands for Resource Type: Firewall Policies, i.e. (Get-AzFirewallPolicy, Get-AzFirewallPolicyDraft, Get-AzFirewallPolicyRuleCollectionGroup, Get-AzFirewallPolicyRuleCollectionGroupDraft) Each will throw the following error message

Get-AzFirewallPolicy -ResourceGroupName RG-Management-FWPolicy-East -Name FWPolicy-Workloads-East
Get-AzFirewallPolicy : No registered resource provider found for location 'usgovvirginia' and API version '2024-05-01' for type
'firewallPolicies'. The supported api-versions are '2019-06-01, 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-12-01, 2020-01-01,
2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 2020-08-01, 2020-11-01, 2021-01-01, 2021-02-01, 2021-03-01, 2021-04-01,
2021-05-01, 2021-06-01, 2021-08-01, 2021-12-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-01-01-preview,
2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01'. The supported locations are
'usgovarizona, usgovvirginia, usgovtexas, usdodcentral, usdodeast'.
At line:1 char:1

  • Get-AzFirewallPolicy -ResourceGroupName RG-Management-FWPolicy-East - ...
  •   + CategoryInfo          : CloseError: (:) [Get-AzFirewallPolicy], CloudException
      + FullyQualifiedErrorId : Microsoft.Azure.Commands.Network.GetAzureFirewallPolicyCommand
    
    
    

The results are identical whether this command is run from PowerShell of CloudShell.

Issue script & Debug output

PS C:\Users\JRFleming2> Get-AzFirewallPolicy -ResourceGroupName RG-Management-FWPolicy-East -Name FWPolicy-Workloads-East -Debug 
DEBUG: 9:03:04 AM - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 9:03:10 AM - GetAzureFirewallPolicyCommand begin processing with ParameterSet 'GetByNameParameterSet'.
DEBUG: 9:03:10 AM - using account id ***
DEBUG: 9:03:10 AM - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [Az.Network], Cmdlet = [Get-AzFirewallPolicy].
 Returning default value [True].
DEBUG: [Common.Authentication]: Authenticating using Account: 'XXXXX.Xxxxxx.##@xxx.xx.mil', environment: 'AzureUSGovernment', tenant: '***'
DEBUG: 9:03:10 AM - [ConfigManager] Got nothing from [DisableInstanceDiscovery], Module = [], Cmdlet = []. Returning default value [False].
DEBUG: 9:03:10 AM - [ConfigManager] Got nothing from [EnableLoginByWam], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 9:03:10 AM - [SilentAuthenticator] Calling SharedTokenCacheCredential.GetTokenAsync - TenantId:'***'
, Scopes:'https://management.core.usgovcloudapi.net//.default', AuthorityHost:'https://login.microsoftonline.us/', UserId:'***'
DEBUG: SharedTokenCacheCredential.GetToken invoked. Scopes: [ https://management.core.usgovcloudapi.net//.default ] ParentRequestId: 
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:10Z] [Internal cache] Clea
ring user token cache accessor.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:10Z] [Internal cache] Tota
l number of cache partitions found while getting refresh tokens: 1
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:10Z - fef7392c-c84e-4008-9
c1a-30ffe598d032] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:10Z - fef7392c-c84e-4008-9
c1a-30ffe598d032] [Region discovery] Not using a regional authority. 
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:10Z - fef7392c-c84e-4008-9
c1a-30ffe598d032] [Region discovery] Not using a regional authority. 
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:10Z - fef7392c-c84e-4008-9
c1a-30ffe598d032] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:10Z - fef7392c-c84e-4008-9
c1a-30ffe598d032] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:10Z] Found 1 cache account
s and 0 broker accounts
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:10Z] Returning 1 accounts
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:10Z - 5d2b935f-b22a-4ad7-a
483-2cbc6fa6531f] MSAL MSAL.CoreCLR with assembly version '4.65.0.0'. CorrelationId(5d2b935f-b22a-4ad7-a483-2cbc6fa6531f)
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:10Z - 5d2b935f-b22a-4ad7-a
483-2cbc6fa6531f] === AcquireTokenSilent Parameters ===
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:10Z - 5d2b935f-b22a-4ad7-a
483-2cbc6fa6531f] LoginHint provided: False
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:10Z - 5d2b935f-b22a-4ad7-a
483-2cbc6fa6531f] Account provided: True
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:10Z - 5d2b935f-b22a-4ad7-a
483-2cbc6fa6531f] ForceRefresh: False
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:10Z - 5d2b935f-b22a-4ad7-a
483-2cbc6fa6531f] 
=== Request Data ===
Authority Provided? - True
Scopes - https://management.core.usgovcloudapi.net//.default
Extra Query Params Keys (space separated) - 
ApiId - AcquireTokenSilent
IsConfidentialClient - False
SendX5C - False
LoginHint ? False
IsBrokerConfigured - False
HomeAccountId - False
CorrelationId - 5d2b935f-b22a-4ad7-a483-2cbc6fa6531f
UserAssertion set: False
LongRunningOboCacheKey set: False
Region configured: 

DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:10Z - 5d2b935f-b22a-4ad7-a
483-2cbc6fa6531f] === Token Acquisition (SilentRequest) started:
	 Scopes: https://management.core.usgovcloudapi.net//.default
	Authority Host: login.microsoftonline.us
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:10Z] [Internal cache] Clea
ring user token cache accessor.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:10Z - 5d2b935f-b22a-4ad7-a
483-2cbc6fa6531f] [Internal cache] Total number of cache partitions found while getting access tokens: 1
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:10Z - 5d2b935f-b22a-4ad7-a
483-2cbc6fa6531f] [FindAccessTokenAsync] Discovered 1 access tokens in cache using partition key: 97520e4c-a6ed-4fba-8139-deb980a55bdd.369ba
0d5-02cb-4d2f-94fd-9212cc24b78c
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:10Z - 5d2b935f-b22a-4ad7-a
483-2cbc6fa6531f] [Region discovery] Not using a regional authority. 
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:10Z - 5d2b935f-b22a-4ad7-a
483-2cbc6fa6531f] Access token has expired or about to expire. [Current time (04/11/2025 13:03:10) - Expiration Time (04/11/2025 12:57:01 +0
0:00) - Extended Expiration Time (04/11/2025 12:57:01 +00:00)]
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:10Z - 5d2b935f-b22a-4ad7-a
483-2cbc6fa6531f] [Region discovery] Not using a regional authority. 
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:10Z] [Internal cache] Tota
l number of cache partitions found while getting refresh tokens: 1
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:10Z - 5d2b935f-b22a-4ad7-a
483-2cbc6fa6531f] [FindRefreshTokenAsync] Discovered 1 refresh tokens in cache using key: 97520e4c-a6ed-4fba-8139-deb980a55bdd.369ba0d5-02cb
-4d2f-94fd-9212cc24b78c
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:10Z - 5d2b935f-b22a-4ad7-a
483-2cbc6fa6531f] [Region discovery] Not using a regional authority. 
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:10Z - 5d2b935f-b22a-4ad7-a
483-2cbc6fa6531f] [FindRefreshTokenAsync] Refresh token found in the cache? - True
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:10Z - 5d2b935f-b22a-4ad7-a
483-2cbc6fa6531f] [Instance Discovery] Instance discovery is enabled and will be performed
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:10Z - 5d2b935f-b22a-4ad7-a
483-2cbc6fa6531f] [Region discovery] Not using a regional authority. 
DEBUG: Request [25706879-a3dd-414d-b370-c45837825de5] POST https://login.microsoftonline.us/***/oauth2/v2.0
/token
x-client-SKU:REDACTED
x-client-Ver:REDACTED
x-client-OS:REDACTED
x-anchormailbox:REDACTED
x-client-current-telemetry:REDACTED
x-ms-lib-capability:REDACTED
client-request-id:REDACTED
return-client-request-id:REDACTED
Content-Type:application/x-www-form-urlencoded
x-ms-client-request-id:25706879-a3dd-414d-b370-c45837825de5
x-ms-return-client-request-id:true
User-Agent:azsdk-net-Identity/1.13.0 (.NET Framework 4.8.9290.0; Microsoft Windows 10.0.22621 )
client assembly: Azure.Identity
DEBUG: Response [25706879-a3dd-414d-b370-c45837825de5] 200 OK (00.8s)
Pragma:no-cache
Strict-Transport-Security:REDACTED
X-Content-Type-Options:REDACTED
client-request-id:REDACTED
x-ms-request-id:4f0d3b65-deee-4aea-8687-290299c01000
x-ms-ests-server:REDACTED
x-ms-clitelem:REDACTED
X-XSS-Protection:REDACTED
Cache-Control:no-store, no-cache
P3P:REDACTED
Set-Cookie:REDACTED
Date:Fri, 11 Apr 2025 13:03:11 GMT
Content-Length:6361
Content-Type:application/json; charset=utf-8
Expires:-1

DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:11Z - 5d2b935f-b22a-4ad7-a
483-2cbc6fa6531f] Checking client info returned from the server..
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:11Z - 5d2b935f-b22a-4ad7-a
483-2cbc6fa6531f] Saving token response to cache..
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:11Z - 5d2b935f-b22a-4ad7-a
483-2cbc6fa6531f] [Region discovery] Not using a regional authority. 
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:11Z] [Internal cache] Clea
ring user token cache accessor.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:11Z - 5d2b935f-b22a-4ad7-a
483-2cbc6fa6531f] [SaveTokenResponseAsync] Saving AT in cache and removing overlapping ATs...
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:11Z - 5d2b935f-b22a-4ad7-a
483-2cbc6fa6531f] Looking for scopes for the authority in the cache which intersect with https://management.core.usgovcloudapi.net//.default
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:11Z] [Internal cache] Tota
l number of cache partitions found while getting access tokens: 1
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:11Z - 5d2b935f-b22a-4ad7-a
483-2cbc6fa6531f] Intersecting scope entries count - 1
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:11Z - 5d2b935f-b22a-4ad7-a
483-2cbc6fa6531f] Matching entries after filtering by user - 1
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:11Z - 5d2b935f-b22a-4ad7-a
483-2cbc6fa6531f] [SaveTokenResponseAsync] Saving Id Token and Account in cache ...
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:11Z - 5d2b935f-b22a-4ad7-a
483-2cbc6fa6531f] [SaveTokenResponseAsync] Saving RT in cache...
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:11Z - 5d2b935f-b22a-4ad7-a
483-2cbc6fa6531f] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:11Z - 5d2b935f-b22a-4ad7-a
483-2cbc6fa6531f] Not writing FRT in ADAL legacy cache. 
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:11Z] [Internal cache] Tota
l number of cache partitions found while getting refresh tokens: 1
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:11Z] [Internal cache] Tota
l number of cache partitions found while getting access tokens: 1
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:11Z] [Internal cache] Tota
l number of cache partitions found while getting refresh tokens: 1
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:11Z - 5d2b935f-b22a-4ad7-a
483-2cbc6fa6531f] 
	=== Token Acquisition finished successfully:
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:11Z - 5d2b935f-b22a-4ad7-a
483-2cbc6fa6531f]  AT expiration time: 4/11/2025 2:03:10 PM +00:00, scopes: https://management.core.usgovcloudapi.net//.default https://mana
gement.core.usgovcloudapi.net//user_impersonation. source: IdentityProvider
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:11Z - 5d2b935f-b22a-4ad7-a
483-2cbc6fa6531f] Fetched access token from host login.microsoftonline.us. 
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:11Z - 5d2b935f-b22a-4ad7-a
483-2cbc6fa6531f] 
[LogMetricsFromAuthResult] Cache Refresh Reason: Expired
[LogMetricsFromAuthResult] DurationInCacheInMs: 2
[LogMetricsFromAuthResult] DurationTotalInMs: 761
[LogMetricsFromAuthResult] DurationInHttpInMs: 752
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET Framework 4.8.9290.0 Microsoft Windows 10.0.22621  [2025-04-11 13:03:11Z - 5d2b935f-b22a-4ad7-a
483-2cbc6fa6531f] TokenEndpoint: ****
DEBUG: SharedTokenCacheCredential.GetToken succeeded. Scopes: [ https://management.core.usgovcloudapi.net//.default ] ParentRequestId:  Expi
resOn: 2025-04-11T14:03:10.6564565+00:00
DEBUG: [Common.Authentication]: Received token with LoginType 'User', Tenant: '***', UserId: '***'
DEBUG: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.usgovcloudapi.net/subscriptions/***/resourceGroups/RG-Management-FWPolicy-East/providers
/Microsoft.Network/firewallPolicies/FWPolicy-Workloads-East?api-version=2024-05-01

Headers:
x-ms-client-request-id        : d9444915-7331-4358-a8f1-3d5d1606d9b8
accept-language               : en-US

Body:



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

Status Code:
BadRequest

Headers:
Pragma                        : no-cache
x-ms-failure-cause            : gateway
x-ms-request-id               : 43408511-7c95-4bd4-9c4b-be350a1279d8
x-ms-correlation-request-id   : 43408511-7c95-4bd4-9c4b-be350a1279d8
x-ms-routing-request-id       : USDODEAST:20250411T130312Z:43408511-7c95-4bd4-9c4b-be350a1279d8
Strict-Transport-Security     : max-age=31536000; includeSubDomains
X-Content-Type-Options        : nosniff
Cache-Control                 : no-cache
Date                          : Fri, 11 Apr 2025 13:03:11 GMT

Body:
{
  "error": {
    "code": "NoRegisteredProviderFound",
    "message": "No registered resource provider found for location 'usgovvirginia' and API version '2024-05-01' for type 'firewallPolicies'.
 The supported api-versions are '2019-06-01, 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-12-01, 2020-01-01, 2020-03-01, 2020-04-01,
 2020-05-01, 2020-06-01, 2020-07-01, 2020-08-01, 2020-11-01, 2021-01-01, 2021-02-01, 2021-03-01, 2021-04-01, 2021-05-01, 2021-06-01, 2021-08
-01, 2021-12-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-01-01-preview, 2023-02-01, 2023-04-01, 2023-05-01, 2023-06
-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01'. The supported locations are 'usgovarizona, usgovvirginia, usgovtexas, usdodcentral, us
dodeast'."
  }
}


DEBUG: 9:03:12 AM - [ConfigManager] Got nothing from [EnableErrorRecordsPersistence], Module = [Az.Network], Cmdlet = [Get-AzFirewallPolicy]
. Returning default value [False].
Get-AzFirewallPolicy : No registered resource provider found for location 'usgovvirginia' and API version '2024-05-01' for type 
'firewallPolicies'. The supported api-versions are '2019-06-01, 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-12-01, 2020-01-01, 
2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 2020-08-01, 2020-11-01, 2021-01-01, 2021-02-01, 2021-03-01, 2021-04-01, 
2021-05-01, 2021-06-01, 2021-08-01, 2021-12-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-01-01-preview, 
2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01'. The supported locations are 
'usgovarizona, usgovvirginia, usgovtexas, usdodcentral, usdodeast'.
At line:1 char:1
+ Get-AzFirewallPolicy -ResourceGroupName RG-Management-FWPolicy-East - ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : CloseError: (:) [Get-AzFirewallPolicy], CloudException
    + FullyQualifiedErrorId : Microsoft.Azure.Commands.Network.GetAzureFirewallPolicyCommand
 
DEBUG: 9:03:17 AM - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [Az.Network], Cmdlet = [Get-AzFirewallPolicy].
 Returning default value [True].
DEBUG: 9:03:17 AM - [ConfigManager] Got nothing from [DisplayRegionIdentified], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 9:03:17 AM - [ConfigManager] Got nothing from [CheckForUpgrade], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: AzureQoSEvent:  Module: Az.Network:7.15.1; CommandName: Get-AzFirewallPolicy; PSVersion: 5.1.22621.4391; IsSuccess: False; Duration: 
00:00:12.9045717; SanitizeDuration: 00:00:00; Exception: No registered resource provider found for location 'usgovvirginia' and API version 
'2024-05-01' for type 'firewallPolicies'. The supported api-versions are '2019-06-01, 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-1
2-01, 2020-01-01, 2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 2020-08-01, 2020-11-01, 2021-01-01, 2021-02-01, 2021-03-01, 20
21-04-01, 2021-05-01, 2021-06-01, 2021-08-01, 2021-12-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-01-01-preview, 20
23-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01'. The supported locations are 'usgovarizona, us
govvirginia, usgovtexas, usdodcentral, usdodeast'.;
DEBUG: 9:03:17 AM - [ConfigManager] Got nothing from [EnableDataCollection], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 9:03:17 AM - GetAzureFirewallPolicyCommand end processing.

Environment data

$PSVersionTable 

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

Module versions

ModuleType Version    Name                                ExportedCommands                                                                                                                
---------- -------    ----                                ----------------                                                                                                                
Script     4.1.0      Az.Accounts                         {Add-AzEnvironment, Clear-AzConfig, Clear-AzContext, Clear-AzDefault...}                                                        
Script     7.15.1     Az.Network                          {Add-AzApplicationGatewayAuthenticationCertificate, Add-AzApplicationGatewayBackendAddressPool, Add-AzApplicationGatewayBacke...
Script     7.16.0     Az.Network                          {Add-AzApplicationGatewayAuthenticationCertificate, Add-AzApplicationGatewayBackendAddressPool, Add-AzApplicationGatewayBacke...

Error output

HistoryId: 38


RequestId      : a200f7ca-fe8c-492a-92db-76a84915ff76
Message        : No registered resource provider found for location 'usgovvirginia' and API version '2024-05-01' for type 'firewallPolicies'. The supported api-versions are '2019-06-01, 
                 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-12-01, 2020-01-01, 2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 2020-08-01, 2020-11-01, 2021-01-01, 
                 2021-02-01, 2021-03-01, 2021-04-01, 2021-05-01, 2021-06-01, 2021-08-01, 2021-12-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-01-01-preview, 
                 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01'. The supported locations are 'usgovarizona, usgovvirginia, usgovtexas, 
                 usdodcentral, usdodeast'.
ServerMessage  : NoRegisteredProviderFound: No registered resource provider found for location 'usgovvirginia' and API version '2024-05-01' for type 'firewallPolicies'. The supported 
                 api-versions are '2019-06-01, 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-12-01, 2020-01-01, 2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 
                 2020-08-01, 2020-11-01, 2021-01-01, 2021-02-01, 2021-03-01, 2021-04-01, 2021-05-01, 2021-06-01, 2021-08-01, 2021-12-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 
                 2022-11-01, 2023-01-01-preview, 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01'. The supported locations are 
                 'usgovarizona, usgovvirginia, usgovtexas, usdodcentral, usdodeast'. (System.Collections.Generic.List`1[Microsoft.Rest.Azure.CloudError])
ServerResponse : {BadRequest}
RequestMessage : {GET https://management.usgovcloudapi.net/subscriptions/***/resourceGroups/RG-Management-FWPolicy-East/providers/Microsoft.Network/firew
                 allPolicies/FWPolicy-Workloads-East?api-version=2024-05-01}
InvocationInfo : {Get-AzFirewallPolicy}
Line           : Get-AzFirewallPolicy -ResourceGroupName RG-Management-FWPolicy-East -Name FWPolicy-Workloads-East
Position       : At line:1 char:1
                 + Get-AzFirewallPolicy -ResourceGroupName RG-Management-FWPolicy-East - ...
                 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
StackTrace     :    at Microsoft.Azure.Management.Network.FirewallPoliciesOperations.<GetWithHttpMessagesAsync>d__6.MoveNext()
                 --- End of stack trace from previous location where exception was thrown ---
                    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
                    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
                    at Microsoft.Azure.Management.Network.FirewallPoliciesOperationsExtensions.<GetAsync>d__3.MoveNext()
                 --- End of stack trace from previous location where exception was thrown ---
                    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
                    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
                    at Microsoft.Azure.Management.Network.FirewallPoliciesOperationsExtensions.Get(IFirewallPoliciesOperations operations, String resourceGroupName, String 
                 firewallPolicyName, String expand)
                    at Microsoft.Azure.Commands.Network.AzureFirewallPolicyBaseCmdlet.GetAzureFirewallPolicy(String resourceGroupName, String name)
                    at Microsoft.Azure.Commands.Network.GetAzureFirewallPolicyCommand.ExecuteCmdlet()
                    at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.ProcessRecord()
HistoryId      : 38



RequestId      : 70b12189-783c-44cd-a0f8-ac15ddf34324
Message        : No registered resource provider found for location 'usgovvirginia' and API version '2024-05-01' for type 'firewallPolicies'. The supported api-versions are '2019-06-01, 
                 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-12-01, 2020-01-01, 2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 2020-08-01, 2020-11-01, 2021-01-01, 
                 2021-02-01, 2021-03-01, 2021-04-01, 2021-05-01, 2021-06-01, 2021-08-01, 2021-12-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-01-01-preview, 
                 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01'. The supported locations are 'usgovarizona, usgovvirginia, usgovtexas, 
                 usdodcentral, usdodeast'.
ServerMessage  : NoRegisteredProviderFound: No registered resource provider found for location 'usgovvirginia' and API version '2024-05-01' for type 'firewallPolicies'. The supported 
                 api-versions are '2019-06-01, 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-12-01, 2020-01-01, 2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 
                 2020-08-01, 2020-11-01, 2021-01-01, 2021-02-01, 2021-03-01, 2021-04-01, 2021-05-01, 2021-06-01, 2021-08-01, 2021-12-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 
                 2022-11-01, 2023-01-01-preview, 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01'. The supported locations are 
                 'usgovarizona, usgovvirginia, usgovtexas, usdodcentral, usdodeast'. (System.Collections.Generic.List`1[Microsoft.Rest.Azure.CloudError])
ServerResponse : {BadRequest}
RequestMessage : {GET https://management.usgovcloudapi.net/subscriptions/***/resourceGroups/RG-Management-FWPolicy-East/providers/Microsoft.Network/firew
                 allPolicies/FWPolicy-Workloads-East?api-version=2024-05-01}
InvocationInfo : {Get-AzFirewallPolicy}
Line           : Get-AzFirewallPolicy -ResourceGroupName RG-Management-FWPolicy-East -Name FWPolicy-Workloads-East
Position       : At line:1 char:1
                 + Get-AzFirewallPolicy -ResourceGroupName RG-Management-FWPolicy-East - ...
                 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
StackTrace     :    at Microsoft.Azure.Management.Network.FirewallPoliciesOperations.<GetWithHttpMessagesAsync>d__6.MoveNext()
                 --- End of stack trace from previous location where exception was thrown ---
                    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
                    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
                    at Microsoft.Azure.Management.Network.FirewallPoliciesOperationsExtensions.<GetAsync>d__3.MoveNext()
                 --- End of stack trace from previous location where exception was thrown ---
                    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
                    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
                    at Microsoft.Azure.Management.Network.FirewallPoliciesOperationsExtensions.Get(IFirewallPoliciesOperations operations, String resourceGroupName, String 
                 firewallPolicyName, String expand)
                    at Microsoft.Azure.Commands.Network.AzureFirewallPolicyBaseCmdlet.GetAzureFirewallPolicy(String resourceGroupName, String name)
                    at Microsoft.Azure.Commands.Network.GetAzureFirewallPolicyCommand.ExecuteCmdlet()
                    at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.ProcessRecord()
HistoryId      : 33




   HistoryId: 25


RequestId      : 4e973310-836c-4419-aaa6-06749ea255ec
Message        : No registered resource provider found for location 'usgovvirginia' and API version '2024-05-01' for type 'firewallPolicies'. The supported api-versions are '2019-06-01, 
                 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-12-01, 2020-01-01, 2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 2020-08-01, 2020-11-01, 2021-01-01, 
                 2021-02-01, 2021-03-01, 2021-04-01, 2021-05-01, 2021-06-01, 2021-08-01, 2021-12-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-01-01-preview, 
                 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01'. The supported locations are 'usgovarizona, usgovvirginia, usgovtexas, 
                 usdodcentral, usdodeast'.
ServerMessage  : NoRegisteredProviderFound: No registered resource provider found for location 'usgovvirginia' and API version '2024-05-01' for type 'firewallPolicies'. The supported 
                 api-versions are '2019-06-01, 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-12-01, 2020-01-01, 2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 
                 2020-08-01, 2020-11-01, 2021-01-01, 2021-02-01, 2021-03-01, 2021-04-01, 2021-05-01, 2021-06-01, 2021-08-01, 2021-12-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 
                 2022-11-01, 2023-01-01-preview, 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01'. The supported locations are 
                 'usgovarizona, usgovvirginia, usgovtexas, usdodcentral, usdodeast'. (System.Collections.Generic.List`1[Microsoft.Rest.Azure.CloudError])
ServerResponse : {BadRequest}
RequestMessage : {GET https://management.usgovcloudapi.net/subscriptions/***/resourceGroups/RG-Management-FWPolicy-East/providers/Microsoft.Network/firew
                 allPolicies/FWPolicy-Hub-East/ruleCollectionGroups/Default-WebTraffic?api-version=2024-05-01}
InvocationInfo : {Get-AzFirewallPolicyRuleCollectionGroup}
Line           : Get-AzFirewallPolicyRuleCollectionGroup -Name Default-WebTraffic -AzureFirewallPolicyName FWPolicy-Hub-East -ResourceGroupName RG-Management-FWPolicy-East
Position       : At line:1 char:1
                 + Get-AzFirewallPolicyRuleCollectionGroup -Name Default-WebTraffic -Azu ...
                 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
StackTrace     :    at Microsoft.Azure.Management.Network.FirewallPolicyRuleCollectionGroupsOperations.<GetWithHttpMessagesAsync>d__6.MoveNext()
                 --- End of stack trace from previous location where exception was thrown ---
                    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
                    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
                    at Microsoft.Azure.Management.Network.FirewallPolicyRuleCollectionGroupsOperationsExtensions.<GetAsync>d__3.MoveNext()
                 --- End of stack trace from previous location where exception was thrown ---
                    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
                    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
                    at Microsoft.Azure.Management.Network.FirewallPolicyRuleCollectionGroupsOperationsExtensions.Get(IFirewallPolicyRuleCollectionGroupsOperations operations, String 
                 resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName)
                    at Microsoft.Azure.Commands.Network.AzureFirewallPolicyRuleCollectionGroupBaseCmdlet.GetAzureFirewallPolicyRuleGroup(String resourceGroupName, String 
                 firewallPolicyName, String name)
                    at Microsoft.Azure.Commands.Network.GetAzureFirewallPolicyRuleCollectionGroupCommand.ExecuteCmdlet()
                    at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.ProcessRecord()
HistoryId      : 25



   HistoryId: 24


RequestId      : f1a40452-84b5-46ea-9020-2987c30ad7cb
Message        : No registered resource provider found for location 'usgovvirginia' and API version '2024-05-01' for type 'firewallPolicies'. The supported api-versions are '2019-06-01, 
                 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-12-01, 2020-01-01, 2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 2020-08-01, 2020-11-01, 2021-01-01, 
                 2021-02-01, 2021-03-01, 2021-04-01, 2021-05-01, 2021-06-01, 2021-08-01, 2021-12-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-01-01-preview, 
                 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01'. The supported locations are 'usgovarizona, usgovvirginia, usgovtexas, 
                 usdodcentral, usdodeast'.
ServerMessage  : NoRegisteredProviderFound: No registered resource provider found for location 'usgovvirginia' and API version '2024-05-01' for type 'firewallPolicies'. The supported 
                 api-versions are '2019-06-01, 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-12-01, 2020-01-01, 2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 
                 2020-08-01, 2020-11-01, 2021-01-01, 2021-02-01, 2021-03-01, 2021-04-01, 2021-05-01, 2021-06-01, 2021-08-01, 2021-12-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 
                 2022-11-01, 2023-01-01-preview, 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01'. The supported locations are 
                 'usgovarizona, usgovvirginia, usgovtexas, usdodcentral, usdodeast'. (System.Collections.Generic.List`1[Microsoft.Rest.Azure.CloudError])
ServerResponse : {BadRequest}
RequestMessage : {GET https://management.usgovcloudapi.net/subscriptions/***/resourceGroups/RG-Management-FWPolicy-East/providers/Microsoft.Network/firew
                 allPolicies/FWPolicy-Workloads-East/firewallPolicyDrafts/default?api-version=2024-05-01}
InvocationInfo : {Get-AzFirewallPolicyDraft}
Line           : Get-AzFirewallPolicyDraft -AzureFirewallPolicyName FWPolicy-Workloads-East -ResourceGroupName RG-Management-FWPolicy-East
Position       : At line:1 char:1
                 + Get-AzFirewallPolicyDraft -AzureFirewallPolicyName FWPolicy-Workloads ...
                 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
StackTrace     :    at Microsoft.Azure.Management.Network.FirewallPolicyDraftsOperations.<GetWithHttpMessagesAsync>d__7.MoveNext()
                 --- End of stack trace from previous location where exception was thrown ---
                    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
                    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
                    at Microsoft.Azure.Management.Network.FirewallPolicyDraftsOperationsExtensions.<GetAsync>d__5.MoveNext()
                 --- End of stack trace from previous location where exception was thrown ---
                    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
                    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
                    at Microsoft.Azure.Management.Network.FirewallPolicyDraftsOperationsExtensions.Get(IFirewallPolicyDraftsOperations operations, String resourceGroupName, String 
                 firewallPolicyName)
                    at Microsoft.Azure.Commands.Network.AzureFirewallPolicyDraftCmdlet.GetAzureFirewallPolicyDraft(String resourceGroupName, String name)
                    at Microsoft.Azure.Commands.Network.GetAzureFirewallPolicyDraftCommand.ExecuteCmdlet()
                    at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.ProcessRecord()
HistoryId      : 24



   HistoryId: 23


RequestId      : 07987189-00f0-4504-87eb-86a9b89df939
Message        : No registered resource provider found for location 'usgovvirginia' and API version '2024-05-01' for type 'firewallPolicies'. The supported api-versions are '2019-06-01, 
                 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-12-01, 2020-01-01, 2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 2020-08-01, 2020-11-01, 2021-01-01, 
                 2021-02-01, 2021-03-01, 2021-04-01, 2021-05-01, 2021-06-01, 2021-08-01, 2021-12-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-01-01-preview, 
                 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01'. The supported locations are 'usgovarizona, usgovvirginia, usgovtexas, 
                 usdodcentral, usdodeast'.
ServerMessage  : NoRegisteredProviderFound: No registered resource provider found for location 'usgovvirginia' and API version '2024-05-01' for type 'firewallPolicies'. The supported 
                 api-versions are '2019-06-01, 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-12-01, 2020-01-01, 2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 
                 2020-08-01, 2020-11-01, 2021-01-01, 2021-02-01, 2021-03-01, 2021-04-01, 2021-05-01, 2021-06-01, 2021-08-01, 2021-12-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 
                 2022-11-01, 2023-01-01-preview, 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01'. The supported locations are 
                 'usgovarizona, usgovvirginia, usgovtexas, usdodcentral, usdodeast'. (System.Collections.Generic.List`1[Microsoft.Rest.Azure.CloudError])
ServerResponse : {BadRequest}
RequestMessage : {GET https://management.usgovcloudapi.net/subscriptions/***/resourceGroups/RG-Management-FWPolicy-East/providers/Microsoft.Network/firew
                 allPolicies/FWPolicy-Workloads-East?api-version=2024-05-01}
InvocationInfo : {Get-AzFirewallPolicy}
Line           : Get-AzFirewallPolicy -ResourceGroupName RG-Management-FWPolicy-East -Name FWPolicy-Workloads-East
Position       : At line:1 char:1
                 + Get-AzFirewallPolicy -ResourceGroupName RG-Management-FWPolicy-East - ...
                 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
StackTrace     :    at Microsoft.Azure.Management.Network.FirewallPoliciesOperations.<GetWithHttpMessagesAsync>d__6.MoveNext()
                 --- End of stack trace from previous location where exception was thrown ---
                    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
                    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
                    at Microsoft.Azure.Management.Network.FirewallPoliciesOperationsExtensions.<GetAsync>d__3.MoveNext()
                 --- End of stack trace from previous location where exception was thrown ---
                    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
                    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
                    at Microsoft.Azure.Management.Network.FirewallPoliciesOperationsExtensions.Get(IFirewallPoliciesOperations operations, String resourceGroupName, String 
                 firewallPolicyName, String expand)
                    at Microsoft.Azure.Commands.Network.AzureFirewallPolicyBaseCmdlet.GetAzureFirewallPolicy(String resourceGroupName, String name)
                    at Microsoft.Azure.Commands.Network.GetAzureFirewallPolicyCommand.ExecuteCmdlet()
                    at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.ProcessRecord()
HistoryId      : 23




   HistoryId: -1


Message        : Unable to find type [Microsoft.PowerShell.Commands.PowerShellGet.Telemetry].
StackTrace     :    at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
                    at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
                    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
                    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
Exception      : System.Management.Automation.RuntimeException
InvocationInfo : {}
Line           :     $telemetryMethods = ([Microsoft.PowerShell.Commands.PowerShellGet.Telemetry] | Get-Member -Static).Name
                 
Position       : At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:715 char:26
                 + ... yMethods = ([Microsoft.PowerShell.Commands.PowerShellGet.Telemetry] | ...
                 +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId      : -1



   HistoryId: 19



   HistoryId: 18


Message        : A parameter cannot be found that matches parameter name 'Name'.
StackTrace     :    at System.Management.Automation.CmdletParameterBinderController.VerifyArgumentsProcessed(ParameterBindingException originalBindingException)
                    at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParametersNoValidation(Collection`1 arguments)
                    at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParameters(Collection`1 arguments)
                    at System.Management.Automation.CommandProcessor.BindCommandLineParameters()
                    at System.Management.Automation.CommandProcessor.Prepare(IDictionary psDefaultParameterValues)
                    at System.Management.Automation.CommandProcessorBase.DoPrepare(IDictionary psDefaultParameterValues)
                    at System.Management.Automation.Internal.PipelineProcessor.Start(Boolean incomingStream)
                    at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input)
                 --- End of stack trace from previous location where exception was thrown ---
                    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
                    at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input)
                    at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] 
                 pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext)
                    at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame frame)
                    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
Exception      : System.Management.Automation.ParameterBindingException
InvocationInfo : {Get-AzFirewallPolicyRuleCollectionGroupDraft}
Line           : Get-AzFirewallPolicyRuleCollectionGroupDraft -Name Default-WebTraffic -AzureFirewallPolicyName FWPolicy-Hub-East -ResourceGroupName RG-Management-FWPolicy-East
Position       : At line:1 char:46
                 + Get-AzFirewallPolicyRuleCollectionGroupDraft -Name Default-WebTraffic ...
                 +                                              ~~~~~
HistoryId      : 18



   HistoryId: 17


RequestId      : b1975672-7935-4de9-85cc-5431e44537a1
Message        : No registered resource provider found for location 'usgovvirginia' and API version '2024-05-01' for type 'firewallPolicies'. The supported api-versions are '2019-06-01, 
                 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-12-01, 2020-01-01, 2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 2020-08-01, 2020-11-01, 2021-01-01, 
                 2021-02-01, 2021-03-01, 2021-04-01, 2021-05-01, 2021-06-01, 2021-08-01, 2021-12-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-01-01-preview, 
                 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01'. The supported locations are 'usgovarizona, usgovvirginia, usgovtexas, 
                 usdodcentral, usdodeast'.
ServerMessage  : NoRegisteredProviderFound: No registered resource provider found for location 'usgovvirginia' and API version '2024-05-01' for type 'firewallPolicies'. The supported 
                 api-versions are '2019-06-01, 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-12-01, 2020-01-01, 2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 
                 2020-08-01, 2020-11-01, 2021-01-01, 2021-02-01, 2021-03-01, 2021-04-01, 2021-05-01, 2021-06-01, 2021-08-01, 2021-12-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 
                 2022-11-01, 2023-01-01-preview, 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01'. The supported locations are 
                 'usgovarizona, usgovvirginia, usgovtexas, usdodcentral, usdodeast'. (System.Collections.Generic.List`1[Microsoft.Rest.Azure.CloudError])
ServerResponse : {BadRequest}
RequestMessage : {GET https://management.usgovcloudapi.net/subscriptions/***/resourceGroups/RG-Management-FWPolicy-East/providers/Microsoft.Network/firew
                 allPolicies/FWPolicy-Hub-East/ruleCollectionGroups/Default-WebTraffic?api-version=2024-05-01}
InvocationInfo : {Get-AzFirewallPolicyRuleCollectionGroup}
Line           : Get-AzFirewallPolicyRuleCollectionGroup -Name Default-WebTraffic -AzureFirewallPolicyName FWPolicy-Hub-East -ResourceGroupName RG-Management-FWPolicy-East
Position       : At line:1 char:1
                 + Get-AzFirewallPolicyRuleCollectionGroup -Name Default-WebTraffic -Azu ...
                 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
StackTrace     :    at Microsoft.Azure.Management.Network.FirewallPolicyRuleCollectionGroupsOperations.<GetWithHttpMessagesAsync>d__6.MoveNext()
                 --- End of stack trace from previous location where exception was thrown ---
                    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
                    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
                    at Microsoft.Azure.Management.Network.FirewallPolicyRuleCollectionGroupsOperationsExtensions.<GetAsync>d__3.MoveNext()
                 --- End of stack trace from previous location where exception was thrown ---
                    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
                    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
                    at Microsoft.Azure.Management.Network.FirewallPolicyRuleCollectionGroupsOperationsExtensions.Get(IFirewallPolicyRuleCollectionGroupsOperations operations, String 
                 resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName)
                    at Microsoft.Azure.Commands.Network.AzureFirewallPolicyRuleCollectionGroupBaseCmdlet.GetAzureFirewallPolicyRuleGroup(String resourceGroupName, String 
                 firewallPolicyName, String name)
                    at Microsoft.Azure.Commands.Network.GetAzureFirewallPolicyRuleCollectionGroupCommand.ExecuteCmdlet()
                    at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.ProcessRecord()
HistoryId      : 17



   HistoryId: 16


RequestId      : 673d9982-20b8-4115-9445-e544a7caf88d
Message        : No registered resource provider found for location 'usgovvirginia' and API version '2024-05-01' for type 'firewallPolicies'. The supported api-versions are '2019-06-01, 
                 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-12-01, 2020-01-01, 2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 2020-08-01, 2020-11-01, 2021-01-01, 
                 2021-02-01, 2021-03-01, 2021-04-01, 2021-05-01, 2021-06-01, 2021-08-01, 2021-12-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-01-01-preview, 
                 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01'. The supported locations are 'usgovarizona, usgovvirginia, usgovtexas, 
                 usdodcentral, usdodeast'.
ServerMessage  : NoRegisteredProviderFound: No registered resource provider found for location 'usgovvirginia' and API version '2024-05-01' for type 'firewallPolicies'. The supported 
                 api-versions are '2019-06-01, 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-12-01, 2020-01-01, 2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 
                 2020-08-01, 2020-11-01, 2021-01-01, 2021-02-01, 2021-03-01, 2021-04-01, 2021-05-01, 2021-06-01, 2021-08-01, 2021-12-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 
                 2022-11-01, 2023-01-01-preview, 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01'. The supported locations are 
                 'usgovarizona, usgovvirginia, usgovtexas, usdodcentral, usdodeast'. (System.Collections.Generic.List`1[Microsoft.Rest.Azure.CloudError])
ServerResponse : {BadRequest}
RequestMessage : {GET https://management.usgovcloudapi.net/subscriptions/***/resourceGroups/RG-Management-FWPolicy-East/providers/Microsoft.Network/firew
                 allPolicies/FWPolicy-Workloads-East/firewallPolicyDrafts/default?api-version=2024-05-01}
InvocationInfo : {Get-AzFirewallPolicyDraft}
Line           : Get-AzFirewallPolicyDraft -AzureFirewallPolicyName FWPolicy-Workloads-East -ResourceGroupName RG-Management-FWPolicy-East
Position       : At line:1 char:1
                 + Get-AzFirewallPolicyDraft -AzureFirewallPolicyName FWPolicy-Workloads ...
                 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
StackTrace     :    at Microsoft.Azure.Management.Network.FirewallPolicyDraftsOperations.<GetWithHttpMessagesAsync>d__7.MoveNext()
                 --- End of stack trace from previous location where exception was thrown ---
                    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
                    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
                    at Microsoft.Azure.Management.Network.FirewallPolicyDraftsOperationsExtensions.<GetAsync>d__5.MoveNext()
                 --- End of stack trace from previous location where exception was thrown ---
                    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
                    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
                    at Microsoft.Azure.Management.Network.FirewallPolicyDraftsOperationsExtensions.Get(IFirewallPolicyDraftsOperations operations, String resourceGroupName, String 
                 firewallPolicyName)
                    at Microsoft.Azure.Commands.Network.AzureFirewallPolicyDraftCmdlet.GetAzureFirewallPolicyDraft(String resourceGroupName, String name)
                    at Microsoft.Azure.Commands.Network.GetAzureFirewallPolicyDraftCommand.ExecuteCmdlet()
                    at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.ProcessRecord()
HistoryId      : 16



   HistoryId: 15


RequestId      : 7b329fdf-a8e8-4521-9395-7b63b9923848
Message        : No registered resource provider found for location 'usgovvirginia' and API version '2024-05-01' for type 'firewallPolicies'. The supported api-versions are '2019-06-01, 
                 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-12-01, 2020-01-01, 2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 2020-08-01, 2020-11-01, 2021-01-01, 
                 2021-02-01, 2021-03-01, 2021-04-01, 2021-05-01, 2021-06-01, 2021-08-01, 2021-12-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-01-01-preview, 
                 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01'. The supported locations are 'usgovarizona, usgovvirginia, usgovtexas, 
                 usdodcentral, usdodeast'.
ServerMessage  : NoRegisteredProviderFound: No registered resource provider found for location 'usgovvirginia' and API version '2024-05-01' for type 'firewallPolicies'. The supported 
                 api-versions are '2019-06-01, 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-12-01, 2020-01-01, 2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 
                 2020-08-01, 2020-11-01, 2021-01-01, 2021-02-01, 2021-03-01, 2021-04-01, 2021-05-01, 2021-06-01, 2021-08-01, 2021-12-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 
                 2022-11-01, 2023-01-01-preview, 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01'. The supported locations are 
                 'usgovarizona, usgovvirginia, usgovtexas, usdodcentral, usdodeast'. (System.Collections.Generic.List`1[Microsoft.Rest.Azure.CloudError])
ServerResponse : {BadRequest}
RequestMessage : {GET https://management.usgovcloudapi.net/subscriptions/***/resourceGroups/RG-Management-FWPolicy-East/providers/Microsoft.Network/firew
                 allPolicies/FWPolicy-Workloads-East?api-version=2024-05-01}
InvocationInfo : {Get-AzFirewallPolicy}
Line           : Get-AzFirewallPolicy -ResourceGroupName RG-Management-FWPolicy-East -Name FWPolicy-Workloads-East
Position       : At line:1 char:1
                 + Get-AzFirewallPolicy -ResourceGroupName RG-Management-FWPolicy-East - ...
                 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
StackTrace     :    at Microsoft.Azure.Management.Network.FirewallPoliciesOperations.<GetWithHttpMessagesAsync>d__6.MoveNext()
                 --- End of stack trace from previous location where exception was thrown ---
                    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
                    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
                    at Microsoft.Azure.Management.Network.FirewallPoliciesOperationsExtensions.<GetAsync>d__3.MoveNext()
                 --- End of stack trace from previous location where exception was thrown ---
                    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
                    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
                    at Microsoft.Azure.Management.Network.FirewallPoliciesOperationsExtensions.Get(IFirewallPoliciesOperations operations, String resourceGroupName, String 
                 firewallPolicyName, String expand)
                    at Microsoft.Azure.Commands.Network.AzureFirewallPolicyBaseCmdlet.GetAzureFirewallPolicy(String resourceGroupName, String name)
                    at Microsoft.Azure.Commands.Network.GetAzureFirewallPolicyCommand.ExecuteCmdlet()
                    at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.ProcessRecord()
HistoryId      : 15



   HistoryId: 14

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.customer-reported

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions