Azure / Azure/azure-powershell

Register-AzRecoveryServicesBackupContainer not honoring the -Confirm:$false parameter

Open
#25,068 5 comments 0 reactions 0 assignees View on GitHub
act-observability-squad bug customer-reported Recovery Services Backup Service Attention
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
2d 17h
Merged PRs (30d)
51

Description

### Description

When using the Register-AzRecoveryServicesBackupContainer cmdlet, even though the the -confirm:$false parameter is present, the cmdlet still asks for confirmation before executing.

This is an issue due to our need to run this in a CI pipeline to automate restore processes by registering temporary VMs to execute SQL database restores on.

### Issue script & Debug output

```PowerShell
param (
[string] $vaultName,
[string] $vmID,
[string] $vaultRGName
)

$vault = Get-AzRecoveryServicesVault -ResourceGroupName $vaultRGName -Name $vaultName
Register-AzRecoveryServicesBackupContainer -VaultID $vault.id -BackupManagementType AzureWorkload -WorkloadType MSSQL -ResourceID $vmID -confirm:$False

DEBUG: 11:13:45 - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [False].
DEBUG: 11:13:45 - GetAzureRmRecoveryServicesVaults begin processing with ParameterSet 'ByTagNameValueParameterSet'.
DEBUG: 11:13:45 - using account id 'tsmith@kwiboo.com'...
DEBUG: 11:13:45 - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: [Common.Authentication]: Authenticating using Account: 'tsmith@kwiboo.com', environment: 'AzureCloud', tenant: '440b121b-e278-4aa2-abc5-a57a3989d95f'
DEBUG: 11:13:45 - [ConfigManager] Got nothing from [DisableInstanceDiscovery], Module = [], Cmdlet = []. Returning default value [False].
DEBUG: 11:13:45 - [ConfigManager] Got nothing from [EnableLoginByWam], Module = [], Cmdlet = []. Returning default value [False].
DEBUG: 11:13:45 - [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.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - dbef1cb5-25df-4675-8905-6ca56315371a] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - dbef1cb5-25df-4675-8905-6ca56315371a] [Region discovery] Not using a
regional authority.
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - dbef1cb5-25df-4675-8905-6ca56315371a] [Region discovery] Not using a
regional authority.
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - dbef1cb5-25df-4675-8905-6ca56315371a] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - dbef1cb5-25df-4675-8905-6ca56315371a] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z] Found 1 cache accounts and 0 broker accounts
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z] Returning 1 accounts
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 7e5542cd-1e83-4401-9f7d-7cb2f8b016a8] MSAL MSAL.CoreCLR with assembly
version '4.56.0.0'. CorrelationId(7e5542cd-1e83-4401-9f7d-7cb2f8b016a8)
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 7e5542cd-1e83-4401-9f7d-7cb2f8b016a8] === AcquireTokenSilent Parameters
===
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 7e5542cd-1e83-4401-9f7d-7cb2f8b016a8] LoginHint provided: False
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 7e5542cd-1e83-4401-9f7d-7cb2f8b016a8] Account provided: True
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 7e5542cd-1e83-4401-9f7d-7cb2f8b016a8] ForceRefresh: False
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 7e5542cd-1e83-4401-9f7d-7cb2f8b016a8]
=== 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 - 7e5542cd-1e83-4401-9f7d-7cb2f8b016a8
UserAssertion set: False
LongRunningOboCacheKey set: False
Region configured:
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 7e5542cd-1e83-4401-9f7d-7cb2f8b016a8] === Token Acquisition
(SilentRequest) started:
Scopes: https://management.core.windows.net//.default
Authority Host: login.microsoftonline.com
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 7e5542cd-1e83-4401-9f7d-7cb2f8b016a8] [Region discovery] Not using a
regional authority.
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 7e5542cd-1e83-4401-9f7d-7cb2f8b016a8] Access token is not expired.
Returning the found cache entry. [Current time (06/03/2024 10:13:45) - Expiration Time (06/03/2024 10:37:03 +00:00) - Extended Expiration Time (06/03/2024 10:37:03 +00:00)]
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 7e5542cd-1e83-4401-9f7d-7cb2f8b016a8] Returning access token found in
cache. RefreshOn exists ? False
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 7e5542cd-1e83-4401-9f7d-7cb2f8b016a8] [Region discovery] Not using a
regional authority.
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 7e5542cd-1e83-4401-9f7d-7cb2f8b016a8]
=== Token Acquisition finished successfully:
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 7e5542cd-1e83-4401-9f7d-7cb2f8b016a8] AT expiration time: 03/06/2024
10:37:03 +00:00, scopes: https://management.core.windows.net//user_impersonation https://management.core.windows.net//.default. source: Cache
DEBUG: SharedTokenCacheCredential.GetToken succeeded. Scopes: [ https://management.core.windows.net//.default ] ParentRequestId: ExpiresOn: 2024-06-03T10:37:03.0000000+00:00
DEBUG: [Common.Authentication]: Received token with LoginType 'User', Tenant: '', UserId: 'tsmith@kwiboo.com'
DEBUG: [Common.Authentication]: Authenticating using Account: 'tsmith@kwiboo.com', environment: 'AzureCloud', tenant: '440b121b-e278-4aa2-abc5-a57a3989d95f'
DEBUG: 11:13:45 - [ConfigManager] Got nothing from [DisableInstanceDiscovery], Module = [], Cmdlet = []. Returning default value [False].
DEBUG: 11:13:45 - [ConfigManager] Got nothing from [EnableLoginByWam], Module = [], Cmdlet = []. Returning default value [False].
DEBUG: 11:13:45 - [SilentAuthenticator] Calling SharedTokenCacheCredential.GetTokenAsync - TenantId:'440b121b-e278-4aa2-abc5-a57a3989d95f',
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.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - ba0ebc39-cf4a-4817-af20-fbdf049a677b] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - ba0ebc39-cf4a-4817-af20-fbdf049a677b] [Region discovery] Not using a
regional authority.
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - ba0ebc39-cf4a-4817-af20-fbdf049a677b] [Region discovery] Not using a
regional authority.
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - ba0ebc39-cf4a-4817-af20-fbdf049a677b] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - ba0ebc39-cf4a-4817-af20-fbdf049a677b] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z] Found 1 cache accounts and 0 broker accounts
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z] Returning 1 accounts
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 219fe5de-130b-4a45-888a-440eb927f44a] MSAL MSAL.CoreCLR with assembly
version '4.56.0.0'. CorrelationId(219fe5de-130b-4a45-888a-440eb927f44a)
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 219fe5de-130b-4a45-888a-440eb927f44a] === AcquireTokenSilent Parameters
===
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 219fe5de-130b-4a45-888a-440eb927f44a] LoginHint provided: False
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 219fe5de-130b-4a45-888a-440eb927f44a] Account provided: True
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 219fe5de-130b-4a45-888a-440eb927f44a] ForceRefresh: False
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 219fe5de-130b-4a45-888a-440eb927f44a]
=== 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 - 219fe5de-130b-4a45-888a-440eb927f44a
UserAssertion set: False
LongRunningOboCacheKey set: False
Region configured:
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 219fe5de-130b-4a45-888a-440eb927f44a] === Token Acquisition
(SilentRequest) started:
Scopes: https://management.core.windows.net//.default
Authority Host: login.microsoftonline.com
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 219fe5de-130b-4a45-888a-440eb927f44a] [Region discovery] Not using a
regional authority.
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 219fe5de-130b-4a45-888a-440eb927f44a] Access token is not expired.
Returning the found cache entry. [Current time (06/03/2024 10:13:45) - Expiration Time (06/03/2024 10:37:03 +00:00) - Extended Expiration Time (06/03/2024 10:37:03 +00:00)]
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 219fe5de-130b-4a45-888a-440eb927f44a] Returning access token found in
cache. RefreshOn exists ? False
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 219fe5de-130b-4a45-888a-440eb927f44a] [Region discovery] Not using a
regional authority.
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 219fe5de-130b-4a45-888a-440eb927f44a]
=== Token Acquisition finished successfully:
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 219fe5de-130b-4a45-888a-440eb927f44a] AT expiration time: 03/06/2024
10:37:03 +00:00, scopes: https://management.core.windows.net//user_impersonation https://management.core.windows.net//.default. source: Cache
DEBUG: SharedTokenCacheCredential.GetToken succeeded. Scopes: [ https://management.core.windows.net//.default ] ParentRequestId: ExpiresOn: 2024-06-03T10:37:03.0000000+00:00
DEBUG: [Common.Authentication]: Received token with LoginType 'User', Tenant: '440b121b-e278-4aa2-abc5-a57a3989d95f', UserId: 'tsmith@kwiboo.com'
DEBUG: [Common.Authentication]: Authenticating using Account: 'tsmith@kwiboo.com', environment: 'AzureCloud', tenant: '440b121b-e278-4aa2-abc5-a57a3989d95f'
DEBUG: 11:13:45 - [ConfigManager] Got nothing from [DisableInstanceDiscovery], Module = [], Cmdlet = []. Returning default value [False].
DEBUG: 11:13:45 - [ConfigManager] Got nothing from [EnableLoginByWam], Module = [], Cmdlet = []. Returning default value [False].
DEBUG: 11:13:45 - [SilentAuthenticator] Calling SharedTokenCacheCredential.GetTokenAsync - TenantId:'440b121b-e278-4aa2-abc5-a57a3989d95f',
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.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 64e4f4c9-679f-42c4-b621-f6b27bb2b3fe] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 64e4f4c9-679f-42c4-b621-f6b27bb2b3fe] [Region discovery] Not using a
regional authority.
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 64e4f4c9-679f-42c4-b621-f6b27bb2b3fe] [Region discovery] Not using a
regional authority.
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 64e4f4c9-679f-42c4-b621-f6b27bb2b3fe] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 64e4f4c9-679f-42c4-b621-f6b27bb2b3fe] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z] Found 1 cache accounts and 0 broker accounts
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z] Returning 1 accounts
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 26a4ab0d-d214-45e0-a673-216edf07be05] MSAL MSAL.CoreCLR with assembly
version '4.56.0.0'. CorrelationId(26a4ab0d-d214-45e0-a673-216edf07be05)
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 26a4ab0d-d214-45e0-a673-216edf07be05] === AcquireTokenSilent Parameters
===
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 26a4ab0d-d214-45e0-a673-216edf07be05] LoginHint provided: False
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 26a4ab0d-d214-45e0-a673-216edf07be05] Account provided: True
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 26a4ab0d-d214-45e0-a673-216edf07be05] ForceRefresh: False
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 26a4ab0d-d214-45e0-a673-216edf07be05]
=== 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 - 26a4ab0d-d214-45e0-a673-216edf07be05
UserAssertion set: False
LongRunningOboCacheKey set: False
Region configured:
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 26a4ab0d-d214-45e0-a673-216edf07be05] === Token Acquisition
(SilentRequest) started:
Scopes: https://management.core.windows.net//.default
Authority Host: login.microsoftonline.com
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 26a4ab0d-d214-45e0-a673-216edf07be05] [Region discovery] Not using a
regional authority.
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 26a4ab0d-d214-45e0-a673-216edf07be05] Access token is not expired.
Returning the found cache entry. [Current time (06/03/2024 10:13:45) - Expiration Time (06/03/2024 10:37:03 +00:00) - Extended Expiration Time (06/03/2024 10:37:03 +00:00)]
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 26a4ab0d-d214-45e0-a673-216edf07be05] Returning access token found in
cache. RefreshOn exists ? False
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 26a4ab0d-d214-45e0-a673-216edf07be05] [Region discovery] Not using a
regional authority.
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 26a4ab0d-d214-45e0-a673-216edf07be05]
=== Token Acquisition finished successfully:
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:45Z - 26a4ab0d-d214-45e0-a673-216edf07be05] AT expiration time: 03/06/2024
10:37:03 +00:00, scopes: https://management.core.windows.net//user_impersonation https://management.core.windows.net//.default. source: Cache
DEBUG: SharedTokenCacheCredential.GetToken succeeded. Scopes: [ https://management.core.windows.net//.default ] ParentRequestId: ExpiresOn: 2024-06-03T10:37:03.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//resourceGroups/sql_restore_test/providers/Microsoft.RecoveryServices/vaults/sql-backup-test?api-version=2024-04-0
1

Headers:
x-ms-client-request-id : 20e027bb-8d87-4515-817e-1477c10cd951
accept-language : en-US

Body:

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

Status Code:
OK

Headers:
Pragma : no-cache
x-ms-throttling-version : v2
X-Content-Type-Options : nosniff
x-ms-request-id : 680f2315-4de0-4cf9-a24a-98baeb59f5df
x-ms-client-request-id : 20e027bb-8d87-4515-817e-1477c10cd951
x-ms-ratelimit-remaining-subscription-reads: 249
x-ms-correlation-request-id : 680f2315-4de0-4cf9-a24a-98baeb59f5df
x-ms-routing-request-id : UKSOUTH:20240603T101348Z:680f2315-4de0-4cf9-a24a-98baeb59f5df
Strict-Transport-Security : max-age=31536000; includeSubDomains
X-Cache : CONFIG_NOCACHE
X-MSEdge-Ref : Ref A: 4340B0AB400A4E16979BA1F729EEA3EE Ref B: AMS231020512021 Ref C: 2024-06-03T10:13:48Z
Cache-Control : no-cache
Date : Mon, 03 Jun 2024 10:13:48 GMT

Body:
{
"location": "uksouth",
"name": "sql-backup-test",
"etag": "W/\"datetime'2024-05-30T08%3A09%3A04.9468647Z'\"",
"properties": {
"provisioningState": "Succeeded",
"privateEndpointStateForBackup": "None",
"privateEndpointStateForSiteRecovery": "None",
"backupStorageVersion": "V1",
"securitySettings": {
"immutabilitySettings": {
"state": "Disabled"
},
"softDeleteSettings": {
"softDeleteRetentionPeriodInDays": 14,
"softDeleteState": "Enabled",
"enhancedSecurityState": "Enabled"
},
"multiUserAuthorization": "Disabled"
},
"redundancySettings": {
"standardTierStorageRedundancy": "LocallyRedundant",
"crossRegionRestore": "Disabled"
},
"secureScore": "None",
"bcdrSecurityLevel": "Poor",
"publicNetworkAccess": "Enabled",
"restoreSettings": {
"crossSubscriptionRestoreSettings": {
"crossSubscriptionRestoreState": "Enabled"
}
}
},
"id": "/subscriptions//resourceGroups/SQL_Restore_Test/providers/Microsoft.RecoveryServices/vaults/sql-backup-test",
"type": "Microsoft.RecoveryServices/vaults",
"sku": {
"name": "RS0",
"tier": "Standard"
}
}

DEBUG: 11:13:45 - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [False].
DEBUG: 11:13:45 - [ConfigManager] Got nothing from [DisplayRegionIdentified], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 11:13:45 - [ConfigManager] Got nothing from [CheckForUpgrade], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: AzureQoSEvent: Module: Az.RecoveryServices:6.9.0; CommandName: Get-AzRecoveryServicesVault; PSVersion: 5.1.22621.2506; IsSuccess: True; Duration: 00:00:00.3895987
DEBUG: 11:13:45 - [ConfigManager] Got nothing from [EnableDataCollection], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 11:13:46 - GetAzureRmRecoveryServicesVaults end processing.
DEBUG: 11:13:46 - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [False].
DEBUG: 11:13:46 - RegisterAzureRmRecoveryServicesBackupContainer begin processing with ParameterSet 'Register'.
DEBUG: 11:13:46 - using account id ''...
DEBUG: 11:13:46 - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: Inside Restore. Going to create ResourceClient.
DEBUG: [Common.Authentication]: Authenticating using Account: '', environment: 'AzureCloud', tenant: '440b121b-e278-4aa2-abc5-a57a3989d95f'
DEBUG: 11:13:46 - [ConfigManager] Got nothing from [DisableInstanceDiscovery], Module = [], Cmdlet = []. Returning default value [False].
DEBUG: 11:13:46 - [ConfigManager] Got nothing from [EnableLoginByWam], Module = [], Cmdlet = []. Returning default value [False].
DEBUG: 11:13:46 - [SilentAuthenticator] Calling SharedTokenCacheCredential.GetTokenAsync - TenantId:'440b121b-e278-4aa2-abc5-a57a3989d95f',
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.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:46Z - e3ab7d27-6056-4fe7-96b0-53cbd7a40960] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:46Z - e3ab7d27-6056-4fe7-96b0-53cbd7a40960] [Region discovery] Not using a
regional authority.
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:46Z - e3ab7d27-6056-4fe7-96b0-53cbd7a40960] [Region discovery] Not using a
regional authority.
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:46Z - e3ab7d27-6056-4fe7-96b0-53cbd7a40960] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:46Z - e3ab7d27-6056-4fe7-96b0-53cbd7a40960] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:46Z] Found 1 cache accounts and 0 broker accounts
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:46Z] Returning 1 accounts
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:46Z - 3191cb0b-fd6e-41a0-ac52-fbd71f70cc9b] MSAL MSAL.CoreCLR with assembly
version '4.56.0.0'. CorrelationId(3191cb0b-fd6e-41a0-ac52-fbd71f70cc9b)
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:46Z - 3191cb0b-fd6e-41a0-ac52-fbd71f70cc9b] === AcquireTokenSilent Parameters
===
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:46Z - 3191cb0b-fd6e-41a0-ac52-fbd71f70cc9b] LoginHint provided: False
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:46Z - 3191cb0b-fd6e-41a0-ac52-fbd71f70cc9b] Account provided: True
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:46Z - 3191cb0b-fd6e-41a0-ac52-fbd71f70cc9b] ForceRefresh: False
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:46Z - 3191cb0b-fd6e-41a0-ac52-fbd71f70cc9b]
=== 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 - 3191cb0b-fd6e-41a0-ac52-fbd71f70cc9b
UserAssertion set: False
LongRunningOboCacheKey set: False
Region configured:
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:46Z - 3191cb0b-fd6e-41a0-ac52-fbd71f70cc9b] === Token Acquisition
(SilentRequest) started:
Scopes: https://management.core.windows.net//.default
Authority Host: login.microsoftonline.com
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:46Z - 3191cb0b-fd6e-41a0-ac52-fbd71f70cc9b] [Region discovery] Not using a
regional authority.
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:46Z - 3191cb0b-fd6e-41a0-ac52-fbd71f70cc9b] Access token is not expired.
Returning the found cache entry. [Current time (06/03/2024 10:13:46) - Expiration Time (06/03/2024 10:37:03 +00:00) - Extended Expiration Time (06/03/2024 10:37:03 +00:00)]
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:46Z - 3191cb0b-fd6e-41a0-ac52-fbd71f70cc9b] Returning access token found in
cache. RefreshOn exists ? False
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:46Z - 3191cb0b-fd6e-41a0-ac52-fbd71f70cc9b] [Region discovery] Not using a
regional authority.
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:46Z - 3191cb0b-fd6e-41a0-ac52-fbd71f70cc9b]
=== Token Acquisition finished successfully:
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET Framework 4.8.9241.0 Microsoft Windows 10.0.22631 [2024-06-03 10:13:46Z - 3191cb0b-fd6e-41a0-ac52-fbd71f70cc9b] AT expiration time: 03/06/2024
10:37:03 +00:00, scopes: https://management.core.windows.net//user_impersonation https://management.core.windows.net//.default. source: Cache
DEBUG: SharedTokenCacheCredential.GetToken succeeded. Scopes: [ https://management.core.windows.net//.default ] ParentRequestId: ExpiresOn: 2024-06-03T10:37:03.0000000+00:00
DEBUG: [Common.Authentication]: Received token with LoginType 'User', Tenant: '', UserId:'
DEBUG: Client Created successfully
```

### Environment data

```PowerShell
Name Value
---- -----
PSVersion 5.1.22621.2506
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.22621.2506
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
```

### Module versions

```PowerShell
Script 3.0.0 Az.Accounts {Add-AzEnvironment, Clear-AzConfig, Clear-AzContext, Clear-AzDefault...}
Script 2.0.1 Az.Advisor {Disable-AzAdvisorRecommendation, Enable-AzAdvisorRecommendation, Get-AzAdvisorConfiguration, Get-AzAdvisorRecommendation...}
Script 6.0.3 Az.Aks {Disable-AzAksAddOn, Enable-AzAksAddOn, Get-AzAksCluster, Get-AzAksNodePool...}
Script 1.1.4 Az.AnalysisServices {Add-AzAnalysisServicesAccount, Export-AzAnalysisServicesInstanceLog, Get-AzAnalysisServicesServer, New-AzAnalysisServicesFirewallCo...
Script 4.0.2 Az.ApiManagement {Add-AzApiManagementApiToGateway, Add-AzApiManagementApiToProduct, Add-AzApiManagementProductToGroup, Add-AzApiManagementRegion...}
Script 1.0.0 Az.App {Disable-AzContainerAppRevision, Enable-AzContainerAppRevision, Get-AzContainerApp, Get-AzContainerAppAuthConfig...}
Script 1.3.1 Az.AppConfiguration {Clear-AzAppConfigurationDeletedStore, Get-AzAppConfigurationDeletedStore, Get-AzAppConfigurationKey, Get-AzAppConfigurationKeyValue...
Script 2.2.5 Az.ApplicationInsights {Get-AzApplicationInsights, Get-AzApplicationInsightsApiKey, Get-AzApplicationInsightsContinuousExport, Get-AzApplicationInsightsLin...
Script 1.0.1 Az.ArcResourceBridge {Get-AzArcResourceBridge, Get-AzArcResourceBridgeApplianceCredential, Get-AzArcResourceBridgeCredential, Get-AzArcResourceBridgeTele...
Script 2.0.2 Az.Attestation {Add-AzAttestationPolicySigner, Get-AzAttestationPolicy, Get-AzAttestationPolicySigners, Remove-AzAttestationPolicySigner...}
Script 1.0.1 Az.Automanage {Get-AzAutomanageBestPractice, Get-AzAutomanageConfigProfile, Get-AzAutomanageConfigProfileAssignment, Get-AzAutomanageConfigProfile...
Script 1.10.0 Az.Automation {Export-AzAutomationDscConfiguration, Export-AzAutomationDscNodeReportContent, Export-AzAutomationRunbook, Get-AzAutomationAccount...}
Script 3.6.0 Az.Batch {Disable-AzBatchAutoScale, Disable-AzBatchComputeNodeScheduling, Disable-AzBatchJob, Disable-AzBatchJobSchedule...}
Script 2.0.3 Az.Billing {Get-AzBillingAccount, Get-AzBillingInvoice, Get-AzBillingPeriod, Get-AzBillingProfile...}
Script 3.2.0 Az.Cdn {Clear-AzCdnEndpointContent, Clear-AzFrontDoorCdnEndpointContent, Disable-AzCdnCustomDomainCustomHttps, Enable-AzCdnCustomDomainCust...
Script 2.0.1 Az.CloudService {Get-AzCloudService, Get-AzCloudServiceInstanceView, Get-AzCloudServiceNetworkInterface, Get-AzCloudServiceOSFamily...}
Script 1.14.1 Az.CognitiveServices {Add-AzCognitiveServicesAccountNetworkRule, Get-AzCognitiveServicesAccount, Get-AzCognitiveServicesAccountCommitmentPlan, Get-AzCogn...
Script 7.3.0 Az.Compute {Add-AzImageDataDisk, Add-AzVhd, Add-AzVMAdditionalUnattendContent, Add-AzVMDataDisk...}
Script 1.0.1 Az.ConfidentialLedger {Get-AzConfidentialLedger, New-AzConfidentialLedger, New-AzConfidentialLedgerAADBasedSecurityPrincipalObject, New-AzConfidentialLedg...
Script 4.0.1 Az.ContainerInstance {Add-AzContainerInstanceOutput, Get-AzContainerGroup, Get-AzContainerInstanceCachedImage, Get-AzContainerInstanceCapability...}
Script 4.2.1 Az.ContainerRegistry {Connect-AzContainerRegistry, Get-AzContainerRegistryManifest, Get-AzContainerRegistryRepository, Get-AzContainerRegistryTag...}
Script 1.14.2 Az.CosmosDB {Get-AzCosmosDBAccount, Get-AzCosmosDBAccountKey, Get-AzCosmosDBCassandraKeyspace, Get-AzCosmosDBCassandraKeyspaceThroughput...}
Script 1.1.0 Az.DataBoxEdge {Get-AzDataBoxEdgeBandwidthSchedule, Get-AzDataBoxEdgeDevice, Get-AzDataBoxEdgeJob, Get-AzDataBoxEdgeOrder...}
Script 1.7.2 Az.Databricks {Get-AzDatabricksAccessConnector, Get-AzDatabricksOutboundNetworkDependenciesEndpoint, Get-AzDatabricksVNetPeering, Get-AzDatabricks...
Script 1.18.3 Az.DataFactory {Add-AzDataFactoryV2DataFlowDebugSessionPackage, Add-AzDataFactoryV2TriggerSubscription, Get-AzDataFactory, Get-AzDataFactoryActivit...
Script 1.0.3 Az.DataLakeAnalytics {Add-AzDataLakeAnalyticsDataSource, Add-AzDataLakeAnalyticsFirewallRule, Get-AzDataLakeAnalyticsAccount, Get-AzDataLakeAnalyticsCata...
Script 1.3.0 Az.DataLakeStore {Add-AzDataLakeStoreFirewallRule, Add-AzDataLakeStoreItemContent, Add-AzDataLakeStoreTrustedIdProvider, Add-AzDataLakeStoreVirtualNe...
Script 2.4.0 Az.DataProtection {Backup-AzDataProtectionBackupInstanceAdhoc, Edit-AzDataProtectionPolicyRetentionRuleClientObject, Edit-AzDataProtectionPolicyTagCli...
Script 1.0.1 Az.DataShare {Get-AzDataShare, Get-AzDataShareAccount, Get-AzDataShareDataSet, Get-AzDataShareDataSetMapping...}
Script 4.3.1 Az.DesktopVirtualization {Disconnect-AzWvdUserSession, Expand-AzWvdMsixImage, Get-AzWvdApplication, Get-AzWvdApplicationGroup...}
Script 1.1.1 Az.DevCenter {Deploy-AzDevCenterUserEnvironment, Get-AzDevCenterAdminAttachedNetwork, Get-AzDevCenterAdminCatalog, Get-AzDevCenterAdminCatalogSyn...
Script 1.0.2 Az.DevTestLabs {Get-AzDtlAllowedVMSizesPolicy, Get-AzDtlAutoShutdownPolicy, Get-AzDtlAutoStartPolicy, Get-AzDtlVMsPerLabPolicy...}
Script 1.2.1 Az.Dns {Add-AzDnsRecordConfig, Get-AzDnsRecordSet, Get-AzDnsZone, New-AzDnsRecordConfig...}
Script 1.0.2 Az.ElasticSan {Add-AzElasticSanVolumeGroupNetworkRule, Get-AzElasticSan, Get-AzElasticSanSkuList, Get-AzElasticSanVolume...}
Script 1.6.1 Az.EventGrid {Enable-AzEventGridPartnerTopic, Get-AzEventGridChannel, Get-AzEventGridDomain, Get-AzEventGridDomainKey...}
Script 4.2.2 Az.EventHub {New-AzEventHubAuthorizationRuleSASToken, Approve-AzEventHubPrivateEndpointConnection, Deny-AzEventHubPrivateEndpointConnection, Get...
Script 1.10.0 Az.FrontDoor {Disable-AzFrontDoorCustomDomainHttps, Enable-AzFrontDoorCustomDomainHttps, Get-AzFrontDoor, Get-AzFrontDoorFrontendEndpoint...}
Script 4.0.8 Az.Functions {Get-AzFunctionApp, Get-AzFunctionAppAvailableLocation, Get-AzFunctionAppPlan, Get-AzFunctionAppSetting...}
Script 6.1.0 Az.HDInsight {Add-AzHDInsightClusterIdentity, Add-AzHDInsightComponentVersion, Add-AzHDInsightConfigValue, Add-AzHDInsightMetastore...}
Script 2.0.1 Az.HealthcareApis {Get-AzHealthcareApisService, Get-AzHealthcareApisWorkspace, Get-AzHealthcareDicomService, Get-AzHealthcareFhirDestination...}
Script 2.7.5 Az.IotHub {Add-AzIotHubCertificate, Add-AzIotHubConfiguration, Add-AzIotHubDeployment, Add-AzIotHubDevice...}
Script 5.3.0 Az.KeyVault {Add-AzKeyVaultCertificate, Add-AzKeyVaultCertificateContact, Add-AzKeyVaultKey, Add-AzKeyVaultManagedStorageAccount...}
Script 2.3.1 Az.Kusto {Add-AzKustoClusterLanguageExtension, Add-AzKustoDatabasePrincipal, Get-AzKustoAttachedDatabaseConfiguration, Get-AzKustoCluster...}
Script 1.0.1 Az.LoadTesting {Get-AzLoad, New-AzLoad, Remove-AzLoad, Update-AzLoad}
Script 1.5.1 Az.LogicApp {Get-AzIntegrationAccount, Get-AzIntegrationAccountAgreement, Get-AzIntegrationAccountAssembly, Get-AzIntegrationAccountBatchConfigu...
Script 1.1.3 Az.MachineLearning {Add-AzMlWebServiceRegionalProperty, Export-AzMlWebService, Get-AzMlCommitmentAssociation, Get-AzMlCommitmentPlan...}
Script 1.0.0 Az.MachineLearningServices {Get-AzMLServiceQuota, Get-AzMLServiceUsage, Get-AzMLServiceVMSize, Get-AzMLWorkspace...}
Script 1.4.1 Az.Maintenance {Get-AzApplyUpdate, Get-AzConfigurationAssignment, Get-AzMaintenanceConfiguration, Get-AzMaintenancePublicConfiguration...}
Script 1.2.1 Az.ManagedServiceIdentity {Get-AzFederatedIdentityCredential, Get-AzSystemAssignedIdentity, Get-AzUserAssignedIdentity, Get-AzUserAssignedIdentityAssociatedRe...
Script 3.0.1 Az.ManagedServices {Get-AzManagedServicesAssignment, Get-AzManagedServicesDefinition, Get-AzManagedServicesMarketplaceDefinition, New-AzManagedServices...
Script 2.0.1 Az.MarketplaceOrdering {Get-AzMarketplaceTerms, Invoke-AzMarketplaceSignTerms, Set-AzMarketplaceTerms, Stop-AzMarketplaceTerms}
Script 1.1.2 Az.Media {Get-AzMediaService, Get-AzMediaServiceKey, Get-AzMediaServiceNameAvailability, New-AzMediaService...}
Script 2.3.1 Az.Migrate {Get-AzMigrateDiscoveredServer, Get-AzMigrateHCIJob, Get-AzMigrateHCIReplicationFabric, Get-AzMigrateHCIServerReplication...}
Script 5.2.0 Az.Monitor {Add-AzLogProfile, Add-AzMetricAlertRule, Add-AzMetricAlertRuleV2, Add-AzWebtestAlertRule...}
Script 1.1.2 Az.MySql {Get-AzMySqlConfiguration, Get-AzMySqlConnectionString, Get-AzMySqlFirewallRule, Get-AzMySqlFlexibleServer...}
Script 7.5.0 Az.Network {Add-AzApplicationGatewayAuthenticationCertificate, Add-AzApplicationGatewayBackendAddressPool, Add-AzApplicationGatewayBackendHttpS...
Script 1.0.1 Az.NetworkCloud {Deploy-AzNetworkCloudCluster, Disable-AzNetworkCloudStorageApplianceRemoteVendorManagement, Enable-AzNetworkCloudStorageApplianceRe...
Script 1.0.1 Az.Nginx {Get-AzNginxCertificate, Get-AzNginxConfiguration, Get-AzNginxDeployment, New-AzNginxCertificate...}
Script 1.1.2 Az.NotificationHubs {Get-AzNotificationHub, Get-AzNotificationHubAuthorizationRule, Get-AzNotificationHubListKey, Get-AzNotificationHubPNSCredential...}
Script 3.2.0 Az.OperationalInsights {Disable-AzOperationalInsightsIISLogCollection, Disable-AzOperationalInsightsLinuxCustomLogCollection, Disable-AzOperationalInsights...
Script 1.6.5 Az.PolicyInsights {Get-AzPolicyAttestation, Get-AzPolicyEvent, Get-AzPolicyMetadata, Get-AzPolicyRemediation...}
Script 1.1.1 Az.PostgreSql {Get-AzPostgreSqlConfiguration, Get-AzPostgreSqlConnectionString, Get-AzPostgreSqlFirewallRule, Get-AzPostgreSqlFlexibleServer...}
Script 2.0.0 Az.PowerBIEmbedded {Get-AzPowerBIEmbeddedCapacity, New-AzPowerBIEmbeddedCapacity, Remove-AzPowerBIEmbeddedCapacity, Resume-AzPowerBIEmbeddedCapacity...}
Script 1.0.4 Az.PrivateDns {Add-AzPrivateDnsRecordConfig, Get-AzPrivateDnsRecordSet, Get-AzPrivateDnsVirtualNetworkLink, Get-AzPrivateDnsZone...}
Script 6.9.0 Az.RecoveryServices {Add-AzRecoveryServicesAsrReplicationProtectedItemDisk, Backup-AzRecoveryServicesBackupItem, Copy-AzRecoveryServicesVault, Disable-A...
Script 1.9.0 Az.RedisCache {Clear-AzRedisCache, Export-AzRedisCache, Get-AzRedisCache, Get-AzRedisCacheAccessPolicy...}
Script 1.2.1 Az.RedisEnterpriseCache {Export-AzRedisEnterpriseCache, Get-AzRedisEnterpriseCache, Get-AzRedisEnterpriseCacheDatabase, Get-AzRedisEnterpriseCacheKey...}
Script 2.0.1 Az.Relay {Get-AzRelayAuthorizationRule, Get-AzRelayHybridConnection, Get-AzRelayKey, Get-AzRelayNamespace...}
Script 1.2.1 Az.ResourceMover {Add-AzResourceMoverMoveResource, Get-AzResourceMoverMoveCollection, Get-AzResourceMoverMoveResource, Get-AzResourceMoverRequiredFor...
Script 6.16.2 Az.Resources {Export-AzResourceGroup, Export-AzTemplateSpec, Get-AzDenyAssignment, Get-AzDeployment...}
Script 1.6.2 Az.Security {Add-AzSecurityAdaptiveNetworkHardening, Add-AzSecuritySqlVulnerabilityAssessmentBaseline, Confirm-AzSecurityAutomation, Disable-AzI...
Script 3.1.2 Az.SecurityInsights {Get-AzSentinelAlertRule, Get-AzSentinelAlertRuleAction, Get-AzSentinelAlertRuleTemplate, Get-AzSentinelAutomationRule...}
Script 3.1.1 Az.ServiceBus {New-AzServiceBusAuthorizationRuleSASToken, Test-AzServiceBusNameAvailability, Approve-AzServiceBusPrivateEndpointConnection, Comple...
Script 3.3.2 Az.ServiceFabric {Add-AzServiceFabricClientCertificate, Add-AzServiceFabricManagedClusterClientCertificate, Add-AzServiceFabricManagedClusterNetworkS...
Script 2.0.1 Az.SignalR {Get-AzSignalR, Get-AzSignalRKey, Get-AzSignalRUsage, New-AzSignalR...}
Script 4.14.1 Az.Sql {Add-AzSqlDatabaseToFailoverGroup, Add-AzSqlElasticJobStep, Add-AzSqlElasticJobTarget, Add-AzSqlInstanceKeyVaultKey...}
Script 2.2.1 Az.SqlVirtualMachine {Get-AzAvailabilityGroupListener, Get-AzSqlVM, Get-AzSqlVMGroup, Invoke-AzRedeploySqlVM...}
Script 2.3.2 Az.StackHCI {Add-AzStackHCIVMAttestation, Disable-AzStackHCIAttestation, Disable-AzStackHCIRemoteSupport, Enable-AzStackHCIAttestation...}
Script 1.0.3 Az.StackHCIVM {Add-AzStackHCIVMVirtualMachineDataDisk, Add-AzStackHCIVMVirtualMachineNetworkInterface, Get-AzStackHCIVMImage, Get-AzStackHCIVMLogi...
Script 6.2.0 Az.Storage {Add-AzRmStorageContainerLegalHold, Add-AzStorageAccountManagementPolicyAction, Add-AzStorageAccountNetworkRule, Close-AzStorageFile...
Script 1.3.1 Az.StorageMover {Get-AzStorageMover, Get-AzStorageMoverAgent, Get-AzStorageMoverEndpoint, Get-AzStorageMoverJobDefinition...}
Script 2.1.1 Az.StorageSync {Get-AzStorageSyncCloudEndpoint, Get-AzStorageSyncGroup, Get-AzStorageSyncServer, Get-AzStorageSyncServerEndpoint...}
Script 2.0.1 Az.StreamAnalytics {Get-AzStreamAnalyticsCluster, Get-AzStreamAnalyticsClusterStreamingJob, Get-AzStreamAnalyticsDefaultFunctionDefinition, Get-AzStrea...
Script 1.0.1 Az.Support {Get-AzSupportProblemClassification, Get-AzSupportService, Get-AzSupportTicket, Get-AzSupportTicketCommunication...}
Script 3.0.7 Az.Synapse {Add-AzSynapseDataFlowDebugSessionPackage, Add-AzSynapseTriggerSubscription, Clear-AzSynapseSqlPoolVulnerabilityAssessmentRuleBaseli...
Script 1.2.2 Az.TrafficManager {Add-AzTrafficManagerCustomHeaderToEndpoint, Add-AzTrafficManagerCustomHeaderToProfile, Add-AzTrafficManagerEndpointConfig, Add-AzTr...
Script 3.2.1 Az.Websites {Add-AzWebAppAccessRestrictionRule, Add-AzWebAppTrafficRouting, Edit-AzWebAppBackupConfiguration, Get-AzAppServiceEnvironment...}
```

### Error output

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by running the issue script with Register-AzRecoveryServicesBackupContainer and -Confirm:$false, then inspect that cmdlet's confirmation handling. Done means the registration completes without prompting when confirmation is disabled, while normal confirmation behavior remains intact and regression coverage verifies both cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, powershell
Domain
cli, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.