-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Labels
CXP Attention[Deprecated] The Azure CXP Support Team is responsible for this issue.[Deprecated] The Azure CXP Support Team is responsible for this issue.Recovery Services BackupbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reported
Description
Description
Following documentation here.
$bkpPol = Get-AzRecoveryServicesBackupProtectionPolicy -WorkloadType "AzureVM"
$bkpPol.SnapshotRetentionInDays=5
Set-AzRecoveryServicesBackupProtectionPolicy -policy $bkpPol
I am simply attempting to update the retention days on backup policies to one day. When running the commands outlined in the document the policy schedule time is changed from the timezone set to UTC, which is not preferred among my peers.
Considering I am not making any changes to the schedule itself I am unsure why the timezone itself is being affected.
Any help is greatly appreciated.
Issue script & Debug output
PS C:\WINDOWS\system32> $bkpPols = Get-AzRecoveryServicesBackupProtectionPolicy -WorkloadType "AzureVM" | ?{$_.Name -notlike "Default*" -and $_.Name -notlike "Enhanced*"}
DEBUG: 3:22:48 PM - GetAzureRmRecoveryServicesBackupProtectionPolicy begin processing with ParameterSet 'WorkloadParamSet'.
DEBUG: 3:22:48 PM - using account id ''...
DEBUG: 3:22:48 PM - [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: ''
DEBUG: 3:22:48 PM - [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.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 27522601-5a38-443b-802a-55099c1b5f14] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 27522601-5a38-443b-802a-55099c1b5f14] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 27522601-5a38-443b-802a-55099c1b5f14] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 27522601-5a38-443b-802a-55099c1b5f14] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 27522601-5a38-443b-802a-55099c1b5f14] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 27522601-5a38-443b-802a-55099c1b5f14] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 27522601-5a38-443b-802a-55099c1b5f14] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 27522601-5a38-443b-802a-55099c1b5f14] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z] Found 4 cache accounts and 0 broker accounts
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z] Returning 4 accounts
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 5b23af2d-70b3-45d4-ba2c-7a0d99da1531] MSAL MSAL.Desktop with assembly version '4.46.0.0'. CorrelationId(5b23af2d-70b3-45d
4-ba2c-7a0d99da1531)
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 5b23af2d-70b3-45d4-ba2c-7a0d99da1531] === AcquireTokenSilent Parameters ===
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 5b23af2d-70b3-45d4-ba2c-7a0d99da1531] LoginHint provided: False
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 5b23af2d-70b3-45d4-ba2c-7a0d99da1531] Account provided: True
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 5b23af2d-70b3-45d4-ba2c-7a0d99da1531] ForceRefresh: False
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 5b23af2d-70b3-45d4-ba2c-7a0d99da1531]
=== 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 - 5b23af2d-70b3-45d4-ba2c-7a0d99da1531
UserAssertion set: False
LongRunningOboCacheKey set: False
Region configured:
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 5b23af2d-70b3-45d4-ba2c-7a0d99da1531] === Token Acquisition (SilentRequest) started:
Scopes: https://management.core.windows.net//.default
Authority Host: login.microsoftonline.com
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 5b23af2d-70b3-45d4-ba2c-7a0d99da1531] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 5b23af2d-70b3-45d4-ba2c-7a0d99da1531] Access token has expired or about to expire. [Current time (06/01/2023 19:22:49) -
Expiration Time (06/01/2023 19:27:02 +00:00) - Extended Expiration Time (06/01/2023 19:27:02 +00:00)]
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 5b23af2d-70b3-45d4-ba2c-7a0d99da1531] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 5b23af2d-70b3-45d4-ba2c-7a0d99da1531] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 5b23af2d-70b3-45d4-ba2c-7a0d99da1531] Refresh token found in the cache? - True
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 5b23af2d-70b3-45d4-ba2c-7a0d99da1531] [Region discovery] Not using a regional authority.
DEBUG: Request [9c6c53b2-7c49-4b64-8dc9-a09d9f12235c] POST https://login.microsoftonline.com//oauth2/v2.0/token
x-client-SKU:REDACTED
x-client-Ver:REDACTED
x-client-CPU:REDACTED
x-client-OS:REDACTED
x-anchormailbox:REDACTED
x-client-current-telemetry:REDACTED
x-client-last-telemetry:REDACTED
x-ms-lib-capability:REDACTED
client-request-id:REDACTED
return-client-request-id:REDACTED
x-app-name:REDACTED
x-app-ver:REDACTED
Content-Type:application/x-www-form-urlencoded
x-ms-client-request-id:9c6c53b2-7c49-4b64-8dc9-a09d9f12235c
x-ms-return-client-request-id:true
User-Agent:azsdk-net-Identity/1.6.1 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19044 )
client assembly: Azure.Identity
DEBUG: Response [9c6c53b2-7c49-4b64-8dc9-a09d9f12235c] 200 OK (00.3s)
Pragma:no-cache
Strict-Transport-Security:REDACTED
X-Content-Type-Options:REDACTED
client-request-id:REDACTED
x-ms-request-id:223b20b4-18d3-41a5-899a-00ffdcece800
x-ms-ests-server:REDACTED
x-ms-clitelem:REDACTED
X-XSS-Protection:REDACTED
Cache-Control:no-store, no-cache
Content-Type:application/json; charset=utf-8
Expires:-1
P3P:REDACTED
Set-Cookie:REDACTED
Date:Thu, 01 Jun 2023 19:22:49 GMT
Content-Length:5733
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 5b23af2d-70b3-45d4-ba2c-7a0d99da1531] Checking client info returned from the server..
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 5b23af2d-70b3-45d4-ba2c-7a0d99da1531] Saving token response to cache..
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 5b23af2d-70b3-45d4-ba2c-7a0d99da1531] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 5b23af2d-70b3-45d4-ba2c-7a0d99da1531] Saving AT in cache and removing overlapping ATs...
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 5b23af2d-70b3-45d4-ba2c-7a0d99da1531] Looking for scopes for the authority in the cache which intersect with https://mana
gement.core.windows.net//.default
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 5b23af2d-70b3-45d4-ba2c-7a0d99da1531] Intersecting scope entries count - 1
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 5b23af2d-70b3-45d4-ba2c-7a0d99da1531] Matching entries after filtering by user - 1
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 5b23af2d-70b3-45d4-ba2c-7a0d99da1531] Saving Id Token and Account in cache ...
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 5b23af2d-70b3-45d4-ba2c-7a0d99da1531] Saving RT in cache...
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 5b23af2d-70b3-45d4-ba2c-7a0d99da1531] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 5b23af2d-70b3-45d4-ba2c-7a0d99da1531] Not writing FRT in ADAL legacy cache.
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 5b23af2d-70b3-45d4-ba2c-7a0d99da1531]
=== Token Acquisition finished successfully:
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 5b23af2d-70b3-45d4-ba2c-7a0d99da1531] AT expiration time: 6/1/2023 8:31:44 PM +00:00, scopes: https://management.core.wi
ndows.net//user_impersonation https://management.core.windows.net//.default. source: IdentityProvider
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 5b23af2d-70b3-45d4-ba2c-7a0d99da1531] Fetched access token from host login.microsoftonline.com.
DEBUG: SharedTokenCacheCredential.GetToken succeeded. Scopes: [ https://management.core.windows.net//.default ] ParentRequestId: ExpiresOn: 2023-06-01T20:31:44.3315792+00:00
DEBUG: [Common.Authentication]: Received token with LoginType 'User', Tenant: '', UserId: ''
DEBUG: Client Created successfully
DEBUG: Input params - Name:NULL, WorkloadType: AzureVM, BackupManagementType:NULL, ParameterSetName: WorkloadParamSet
DEBUG: going to query service to get list of policies
DEBUG: [Common.Authentication]: Authenticating using Account: '', environment: 'AzureCloud', tenant: ''
DEBUG: 3:22:49 PM - [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.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - ff6e6f34-c3be-44b8-b9e1-4c6eff2788ac] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - ff6e6f34-c3be-44b8-b9e1-4c6eff2788ac] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - ff6e6f34-c3be-44b8-b9e1-4c6eff2788ac] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - ff6e6f34-c3be-44b8-b9e1-4c6eff2788ac] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - ff6e6f34-c3be-44b8-b9e1-4c6eff2788ac] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - ff6e6f34-c3be-44b8-b9e1-4c6eff2788ac] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - ff6e6f34-c3be-44b8-b9e1-4c6eff2788ac] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - ff6e6f34-c3be-44b8-b9e1-4c6eff2788ac] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z] Found 4 cache accounts and 0 broker accounts
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z] Returning 4 accounts
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 49b107f2-8d57-4e63-804b-392eb8328e53] MSAL MSAL.Desktop with assembly version '4.46.0.0'. CorrelationId(49b107f2-8d57-4e6
3-804b-392eb8328e53)
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 49b107f2-8d57-4e63-804b-392eb8328e53] === AcquireTokenSilent Parameters ===
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 49b107f2-8d57-4e63-804b-392eb8328e53] LoginHint provided: False
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 49b107f2-8d57-4e63-804b-392eb8328e53] Account provided: True
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 49b107f2-8d57-4e63-804b-392eb8328e53] ForceRefresh: False
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 49b107f2-8d57-4e63-804b-392eb8328e53]
=== 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 - 49b107f2-8d57-4e63-804b-392eb8328e53
UserAssertion set: False
LongRunningOboCacheKey set: False
Region configured:
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 49b107f2-8d57-4e63-804b-392eb8328e53] === Token Acquisition (SilentRequest) started:
Scopes: https://management.core.windows.net//.default
Authority Host: login.microsoftonline.com
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 49b107f2-8d57-4e63-804b-392eb8328e53] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 49b107f2-8d57-4e63-804b-392eb8328e53] Access token is not expired. Returning the found cache entry. [Current time (06/01/
2023 19:22:49) - Expiration Time (06/01/2023 20:31:44 +00:00) - Extended Expiration Time (06/01/2023 20:31:44 +00:00)]
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 49b107f2-8d57-4e63-804b-392eb8328e53] Returning access token found in cache. RefreshOn exists ? False
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 49b107f2-8d57-4e63-804b-392eb8328e53] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 49b107f2-8d57-4e63-804b-392eb8328e53]
=== Token Acquisition finished successfully:
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:22:49Z - 49b107f2-8d57-4e63-804b-392eb8328e53] AT expiration time: 6/1/2023 8:31:44 PM +00:00, scopes: https://management.core.wi
ndows.net//user_impersonation https://management.core.windows.net//.default. source: Cache
DEBUG: SharedTokenCacheCredential.GetToken succeeded. Scopes: [ https://management.core.windows.net//.default ] ParentRequestId: ExpiresOn: 2023-06-01T20:31:44.0000000+00:00
DEBUG: [Common.Authentication]: Received token with LoginType 'User', Tenant: 'fde7faeb-fdf2-4737-aec7-50ff8ce93c50', UserId: ''
DEBUG: ============================ HTTP REQUEST ============================
HTTP Method:
GET
Absolute Uri:
https://management.azure.com/subscriptions/backupPolicies?$filter=backupManagementType eq 'AzureIaasVM
'&api-version=2022-02-01
Headers:
x-ms-client-request-id : c86cb632-f70b-4c97-9e4c-9099c7053d7b
accept-language : en-US
Body:
DEBUG: ============================ HTTP RESPONSE ============================
Status Code:
OK
Headers:
Pragma : no-cache
X-Content-Type-Options : nosniff
x-ms-request-id : da1d6056-fbc1-4781-885b-306f51378c8b
x-ms-client-request-id : c86cb632-f70b-4c97-9e4c-9099c7053d7b
x-ms-ratelimit-remaining-subscription-resource-requests: 148
x-ms-correlation-request-id : da1d6056-fbc1-4781-885b-306f51378c8b
x-ms-routing-request-id : NORTHCENTRALUS:20230601T192249Z:da1d6056-fbc1-4781-885b-306f51378c8b
Strict-Transport-Security : max-age=31536000; includeSubDomains
Cache-Control : no-cache
Date : Thu, 01 Jun 2023 19:22:49 GMT
Server : Kestrel
Body:
{
"value": [
{
"id": "backupPolicies/DefaultPolicy",
"name": "DefaultPolicy",
"type": "Microsoft.RecoveryServices/vaults/backupPolicies",
"properties": {
"backupManagementType": "AzureIaasVM",
"instantRPDetails": {},
"schedulePolicy": {
"schedulePolicyType": "SimpleSchedulePolicy",
"scheduleRunFrequency": "Daily",
"scheduleRunTimes": [
"2023-06-01T10:30:00Z"
],
"scheduleWeeklyFrequency": 0
},
"retentionPolicy": {
"retentionPolicyType": "LongTermRetentionPolicy",
"dailySchedule": {
"retentionTimes": [
"2023-06-01T10:30:00Z"
],
"retentionDuration": {
"count": 30,
"durationType": "Days"
}
}
},
"tieringPolicy": {
"ArchivedRP": {
"tieringMode": "DoNotTier",
"duration": 0,
"durationType": "Invalid"
}
},
"instantRpRetentionRangeInDays": 1,
"timeZone": "Eastern Standard Time",
"protectedItemsCount": 0
}
},
{
"id": "/backupPolicies/CDTestBUPolicy",
"name": "CDTestBUPolicy",
"type": "Microsoft.RecoveryServices/vaults/backupPolicies",
"properties": {
"backupManagementType": "AzureIaasVM",
"policyType": "V1",
"instantRPDetails": {},
"schedulePolicy": {
"schedulePolicyType": "SimpleSchedulePolicy",
"scheduleRunFrequency": "Daily",
"scheduleRunTimes": [
"2023-06-01T13:30:00Z"
],
"scheduleWeeklyFrequency": 0
},
"retentionPolicy": {
"retentionPolicyType": "LongTermRetentionPolicy",
"dailySchedule": {
"retentionTimes": [
"2023-06-01T13:30:00Z"
],
"retentionDuration": {
"count": 180,
"durationType": "Days"
}
}
},
"tieringPolicy": {
"ArchivedRP": {
"tieringMode": "DoNotTier",
"duration": 0,
"durationType": "Invalid"
}
},
"instantRpRetentionRangeInDays": 1,
"timeZone": "Eastern Standard Time",
"protectedItemsCount": 0
}
},
{
"id": "/backupPolicies/EnhancedPolicy",
"name": "EnhancedPolicy",
"type": "Microsoft.RecoveryServices/vaults/backupPolicies",
"properties": {
"backupManagementType": "AzureIaasVM",
"policyType": "V2",
"instantRPDetails": {},
"schedulePolicy": {
"schedulePolicyType": "SimpleSchedulePolicyV2",
"scheduleRunFrequency": "Hourly",
"hourlySchedule": {
"interval": 4,
"scheduleWindowStartTime": "2023-06-01T08:00:00Z",
"scheduleWindowDuration": 12
}
},
"retentionPolicy": {
"retentionPolicyType": "LongTermRetentionPolicy",
"dailySchedule": {
"retentionTimes": [
"2023-06-01T08:00:00Z"
],
"retentionDuration": {
"count": 30,
"durationType": "Days"
}
}
},
"tieringPolicy": {
"ArchivedRP": {
"tieringMode": "DoNotTier",
"duration": 0,
"durationType": "Invalid"
}
},
"instantRpRetentionRangeInDays": 1,
"timeZone": "Eastern Standard Time",
"protectedItemsCount": 0
}
}
]
}
DEBUG: Successfully got response from service
DEBUG: Total policies in list: 3
DEBUG: 3:22:49 PM - [ConfigManager] Got [True] from [EnableDataCollection], Module = [], Cmdlet = [].
DEBUG: AzureQoSEvent: Module: Az.RecoveryServices:6.4.0; CommandName: Get-AzRecoveryServicesBackupProtectionPolicy; PSVersion: 5.1.19041.2364; IsSuccess: True; Duration: 00:00:00.9174581
DEBUG: 3:22:49 PM - GetAzureRmRecoveryServicesBackupProtectionPolicy end processing.
PS C:\WINDOWS\system32> foreach($bkpPol in $bkpPols){
$bkpPol.SnapshotRetentionInDays=1
Set-AzRecoveryServicesBackupProtectionPolicy -policy $bkpPol
}
DEBUG: 3:23:03 PM - SetAzureRmRecoveryServicesBackupProtectionPolicy begin processing with ParameterSet 'ModifyPolicyParamSet'.
DEBUG: 3:23:03 PM - using account id ''...
DEBUG: 3:23:03 PM - [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: ''
DEBUG: 3:23:03 PM - [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.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - d8e29a1a-3618-40e4-b6c1-dbac0f32ec80] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - d8e29a1a-3618-40e4-b6c1-dbac0f32ec80] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - d8e29a1a-3618-40e4-b6c1-dbac0f32ec80] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - d8e29a1a-3618-40e4-b6c1-dbac0f32ec80] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - d8e29a1a-3618-40e4-b6c1-dbac0f32ec80] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - d8e29a1a-3618-40e4-b6c1-dbac0f32ec80] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - d8e29a1a-3618-40e4-b6c1-dbac0f32ec80] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - d8e29a1a-3618-40e4-b6c1-dbac0f32ec80] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z] Found 4 cache accounts and 0 broker accounts
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z] Returning 4 accounts
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - f959b5ec-a86d-4139-aa60-b560d669ea95] MSAL MSAL.Desktop with assembly version '4.46.0.0'. CorrelationId(f959b5ec-a86d-413
9-aa60-b560d669ea95)
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - f959b5ec-a86d-4139-aa60-b560d669ea95] === AcquireTokenSilent Parameters ===
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - f959b5ec-a86d-4139-aa60-b560d669ea95] LoginHint provided: False
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - f959b5ec-a86d-4139-aa60-b560d669ea95] Account provided: True
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - f959b5ec-a86d-4139-aa60-b560d669ea95] ForceRefresh: False
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - f959b5ec-a86d-4139-aa60-b560d669ea95]
=== 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 - f959b5ec-a86d-4139-aa60-b560d669ea95
UserAssertion set: False
LongRunningOboCacheKey set: False
Region configured:
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - f959b5ec-a86d-4139-aa60-b560d669ea95] === Token Acquisition (SilentRequest) started:
Scopes: https://management.core.windows.net//.default
Authority Host: login.microsoftonline.com
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - f959b5ec-a86d-4139-aa60-b560d669ea95] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - f959b5ec-a86d-4139-aa60-b560d669ea95] Access token is not expired. Returning the found cache entry. [Current time (06/01/
2023 19:23:03) - Expiration Time (06/01/2023 20:31:44 +00:00) - Extended Expiration Time (06/01/2023 20:31:44 +00:00)]
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - f959b5ec-a86d-4139-aa60-b560d669ea95] Returning access token found in cache. RefreshOn exists ? False
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - f959b5ec-a86d-4139-aa60-b560d669ea95] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - f959b5ec-a86d-4139-aa60-b560d669ea95]
=== Token Acquisition finished successfully:
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - f959b5ec-a86d-4139-aa60-b560d669ea95] AT expiration time: 6/1/2023 8:31:44 PM +00:00, scopes: https://management.core.wi
ndows.net//user_impersonation https://management.core.windows.net//.default. source: Cache
DEBUG: SharedTokenCacheCredential.GetToken succeeded. Scopes: [ https://management.core.windows.net//.default ] ParentRequestId: ExpiresOn: 2023-06-01T20:31:44.0000000+00:00
DEBUG: [Common.Authentication]: Received token with LoginType 'User', Tenant: '', UserId: ''
DEBUG: Client Created successfully
DEBUG: Input params - Policy: Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models.AzureVmPolicyRetentionPolicy:NULL, SchedulePolicy:NULL
DEBUG: [Common.Authentication]: Authenticating using Account: '', environment: 'AzureCloud', tenant: 'fde7faeb-fdf2-4737-aec7-50ff8ce93c50'
DEBUG: 3:23:03 PM - [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.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - 847e06ce-e444-47b6-a20d-0968a35657d0] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - 847e06ce-e444-47b6-a20d-0968a35657d0] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - 847e06ce-e444-47b6-a20d-0968a35657d0] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - 847e06ce-e444-47b6-a20d-0968a35657d0] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - 847e06ce-e444-47b6-a20d-0968a35657d0] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - 847e06ce-e444-47b6-a20d-0968a35657d0] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - 847e06ce-e444-47b6-a20d-0968a35657d0] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - 847e06ce-e444-47b6-a20d-0968a35657d0] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z] Found 4 cache accounts and 0 broker accounts
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z] Returning 4 accounts
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - 461e2da1-1c51-4048-9298-8830a9d5ebdc] MSAL MSAL.Desktop with assembly version '4.46.0.0'. CorrelationId(461e2da1-1c51-404
8-9298-8830a9d5ebdc)
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - 461e2da1-1c51-4048-9298-8830a9d5ebdc] === AcquireTokenSilent Parameters ===
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - 461e2da1-1c51-4048-9298-8830a9d5ebdc] LoginHint provided: False
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - 461e2da1-1c51-4048-9298-8830a9d5ebdc] Account provided: True
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - 461e2da1-1c51-4048-9298-8830a9d5ebdc] ForceRefresh: False
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - 461e2da1-1c51-4048-9298-8830a9d5ebdc]
=== 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 - 461e2da1-1c51-4048-9298-8830a9d5ebdc
UserAssertion set: False
LongRunningOboCacheKey set: False
Region configured:
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - 461e2da1-1c51-4048-9298-8830a9d5ebdc] === Token Acquisition (SilentRequest) started:
Scopes: https://management.core.windows.net//.default
Authority Host: login.microsoftonline.com
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - 461e2da1-1c51-4048-9298-8830a9d5ebdc] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - 461e2da1-1c51-4048-9298-8830a9d5ebdc] Access token is not expired. Returning the found cache entry. [Current time (06/01/
2023 19:23:03) - Expiration Time (06/01/2023 20:31:44 +00:00) - Extended Expiration Time (06/01/2023 20:31:44 +00:00)]
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - 461e2da1-1c51-4048-9298-8830a9d5ebdc] Returning access token found in cache. RefreshOn exists ? False
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - 461e2da1-1c51-4048-9298-8830a9d5ebdc] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - 461e2da1-1c51-4048-9298-8830a9d5ebdc]
=== Token Acquisition finished successfully:
DEBUG: False MSAL 4.46.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-06-01 19:23:03Z - 461e2da1-1c51-4048-9298-8830a9d5ebdc] AT expiration time: 6/1/2023 8:31:44 PM +00:00, scopes: https://management.core.wi
ndows.net//user_impersonation https://management.core.windows.net//.default. source: Cache
DEBUG: SharedTokenCacheCredential.GetToken succeeded. Scopes: [ https://management.core.windows.net//.default ] ParentRequestId: ExpiresOn: 2023-06-01T20:31:44.0000000+00:00
DEBUG: [Common.Authentication]: Received token with LoginType 'User', Tenant: 'fde7faeb-fdf2-4737-aec7-50ff8ce93c50', UserId: ''
DEBUG: ============================ HTTP REQUEST ============================
HTTP Method:
GET
Absolute Uri:
https://management.azure.com/subscriptions/backupPolicies/CDTestBUPolicy?api-version=2022-02-01
Headers:
x-ms-client-request-id : f106daae-1bb6-4bb4-92ac-62b7ed894dcc
accept-language : en-US
Body:
DEBUG: ============================ HTTP RESPONSE ============================
Status Code:
OK
Headers:
Pragma : no-cache
X-Content-Type-Options : nosniff
x-ms-request-id : 26ea7b3a-b07d-493d-be31-c6144750f9df
x-ms-client-request-id : f106daae-1bb6-4bb4-92ac-62b7ed894dcc
x-ms-ratelimit-remaining-subscription-resource-requests: 149
x-ms-correlation-request-id : 26ea7b3a-b07d-493d-be31-c6144750f9df
x-ms-routing-request-id : NORTHCENTRALUS:20230601T192303Z:26ea7b3a-b07d-493d-be31-c6144750f9df
Strict-Transport-Security : max-age=31536000; includeSubDomains
Cache-Control : no-cache
Date : Thu, 01 Jun 2023 19:23:02 GMT
Server : Kestrel
Body:
{
"id": "/backupPolicies/CDTestBUPolicy",
"name": "CDTestBUPolicy",
"type": "Microsoft.RecoveryServices/vaults/backupPolicies",
"properties": {
"backupManagementType": "AzureIaasVM",
"policyType": "V1",
"instantRPDetails": {},
"schedulePolicy": {
"schedulePolicyType": "SimpleSchedulePolicy",
"scheduleRunFrequency": "Daily",
"scheduleRunTimes": [
"2023-06-01T13:30:00Z"
],
"scheduleWeeklyFrequency": 0
},
"retentionPolicy": {
"retentionPolicyType": "LongTermRetentionPolicy",
"dailySchedule": {
"retentionTimes": [
"2023-06-01T13:30:00Z"
],
"retentionDuration": {
"count": 180,
"durationType": "Days"
}
}
},
"tieringPolicy": {
"ArchivedRP": {
"tieringMode": "DoNotTier",
"duration": 0,
"durationType": "Invalid"
}
},
"instantRpRetentionRangeInDays": 1,
"timeZone": "Eastern Standard Time",
"protectedItemsCount": 1
}
}
DEBUG: Successfully fetched policy from service: CDTestBUPolicy
DEBUG: Validation of Protection Policy is successful
DEBUG: Copy of RetentionTime from with SchedulePolicy to RetentionPolicy is successful
DEBUG: Validation of Retention policy with Schedule policy is successful
DEBUG: ============================ HTTP REQUEST ============================
HTTP Method:
PUT
Absolute Uri:
https://management.azure.com/subscriptions/backupPolicies/CDTestBUPolicy?api-version=2022-02-01
Headers:
x-ms-client-request-id : f106daae-1bb6-4bb4-92ac-62b7ed894dcc
accept-language : en-US
Body:
{
"properties": {
"backupManagementType": "AzureIaasVM",
"instantRPDetails": {},
"schedulePolicy": {
"schedulePolicyType": "SimpleSchedulePolicy",
"scheduleRunFrequency": "Daily",
"scheduleRunTimes": [
"2023-06-01T17:30:00Z"
]
},
"retentionPolicy": {
"retentionPolicyType": "LongTermRetentionPolicy",
"dailySchedule": {
"retentionTimes": [
"2023-06-01T17:30:00Z"
],
"retentionDuration": {
"count": 180,
"durationType": "Days"
}
}
},
"tieringPolicy": {
"ArchivedRP": {
"tieringMode": "DoNotTier",
"duration": 0,
"durationType": "Invalid"
}
},
"instantRpRetentionRangeInDays": 1,
"timeZone": "UTC"
}
}
DEBUG: ============================ HTTP RESPONSE ============================
Status Code:
Accepted
Headers:
Pragma : no-cache
Retry-After : 60
Azure-AsyncOperation : https://management.azure.com/subscriptions/backupPolicies/CDTestBUPoli
cy/operations/c4362716-5f8d-4413-9b8b-5997b835178a?api-version=2022-02-01
X-Content-Type-Options : nosniff
x-ms-request-id : e59663b5-53bf-47e0-8299-bf42cd45acce
x-ms-client-request-id : f106daae-1bb6-4bb4-92ac-62b7ed894dcc
x-ms-ratelimit-remaining-subscription-writes: 1199
x-ms-correlation-request-id : e59663b5-53bf-47e0-8299-bf42cd45acce
x-ms-routing-request-id : NORTHCENTRALUS:20230601T192304Z:e59663b5-53bf-47e0-8299-bf42cd45acce
Strict-Transport-Security : max-age=31536000; includeSubDomains
Cache-Control : no-cache
Date : Thu, 01 Jun 2023 19:23:03 GMT
Location : https://management.azure.com/subscriptions/backupPolicies/CDTestBUPoli
cy/operationResults/c4362716-5f8d-4413-9b8b-5997b835178a?api-version=2022-02-01
Server : Kestrel
Body:
{}
DEBUG: ModifyPolicy http response from service: Accepted
DEBUG: ============================ HTTP REQUEST ============================
HTTP Method:
GET
Absolute Uri:
https://management.azure.com/subscriptions/backupPolicies/CDTestBUPolicy/operations/c4362716-5f8d-4413
-9b8b-5997b835178a?api-version=2022-02-01
Headers:
x-ms-client-request-id : f106daae-1bb6-4bb4-92ac-62b7ed894dcc
accept-language : en-US
Body:
DEBUG: ============================ HTTP RESPONSE ============================
Status Code:
OK
Headers:
Pragma : no-cache
X-Content-Type-Options : nosniff
x-ms-request-id : 8d7b5225-2908-40ec-a7b5-3ddd9004c646
x-ms-client-request-id : f106daae-1bb6-4bb4-92ac-62b7ed894dcc
x-ms-ratelimit-remaining-subscription-resource-requests: 149
x-ms-correlation-request-id : 8d7b5225-2908-40ec-a7b5-3ddd9004c646
x-ms-routing-request-id : NORTHCENTRALUS:20230601T192304Z:8d7b5225-2908-40ec-a7b5-3ddd9004c646
Strict-Transport-Security : max-age=31536000; includeSubDomains
Cache-Control : no-cache
Date : Thu, 01 Jun 2023 19:23:03 GMT
Server : Kestrel
Body:
{
"id": "c4362716-5f8d-4413-9b8b-5997b835178a",
"name": "GetProtectionPolicyOperationStatus",
"status": "InProgress",
"startTime": "2023-06-01T19:23:04.286172Z",
"endTime": "0001-01-01T00:00:00"
}
DEBUG: ============================ HTTP REQUEST ============================
HTTP Method:
GET
Absolute Uri:
https://management.azure.com/subscriptions/backupPolicies/CDTestBUPolicy/operations/c4362716-5f8d-4413
-9b8b-5997b835178a?api-version=2022-02-01
Headers:
x-ms-client-request-id : f106daae-1bb6-4bb4-92ac-62b7ed894dcc
accept-language : en-US
Body:
DEBUG: ============================ HTTP RESPONSE ============================
Status Code:
OK
Headers:
Pragma : no-cache
X-Content-Type-Options : nosniff
x-ms-request-id : 89585a3a-692c-4144-9606-335acd2a25cc
x-ms-client-request-id : f106daae-1bb6-4bb4-92ac-62b7ed894dcc
x-ms-ratelimit-remaining-subscription-resource-requests: 148
x-ms-correlation-request-id : 89585a3a-692c-4144-9606-335acd2a25cc
x-ms-routing-request-id : NORTHCENTRALUS:20230601T192309Z:89585a3a-692c-4144-9606-335acd2a25cc
Strict-Transport-Security : max-age=31536000; includeSubDomains
Cache-Control : no-cache
Date : Thu, 01 Jun 2023 19:23:09 GMT
Server : Kestrel
Body:
{
"id": "c4362716-5f8d-4413-9b8b-5997b835178a",
"name": "GetProtectionPolicyOperationStatus",
"status": "InProgress",
"startTime": "2023-06-01T19:23:04.286172Z",
"endTime": "0001-01-01T00:00:00"
}
DEBUG: ============================ HTTP REQUEST ============================
HTTP Method:
GET
Absolute Uri:
https://management.azure.com/subscriptions/backupPolicies/CDTestBUPolicy/operations/c4362716-5f8d-4413
-9b8b-5997b835178a?api-version=2022-02-01
Headers:
x-ms-client-request-id : f106daae-1bb6-4bb4-92ac-62b7ed894dcc
accept-language : en-US
Body:
DEBUG: ============================ HTTP RESPONSE ============================
Status Code:
OK
Headers:
Pragma : no-cache
X-Content-Type-Options : nosniff
x-ms-request-id : b0e49364-0c94-4ea5-b266-de7859bc0ac1
x-ms-client-request-id : f106daae-1bb6-4bb4-92ac-62b7ed894dcc
x-ms-ratelimit-remaining-subscription-resource-requests: 147
x-ms-correlation-request-id : b0e49364-0c94-4ea5-b266-de7859bc0ac1
x-ms-routing-request-id : NORTHCENTRALUS:20230601T192315Z:b0e49364-0c94-4ea5-b266-de7859bc0ac1
Strict-Transport-Security : max-age=31536000; includeSubDomains
Cache-Control : no-cache
Date : Thu, 01 Jun 2023 19:23:14 GMT
Server : Kestrel
Body:
{
"id": "c4362716-5f8d-4413-9b8b-5997b835178a",
"name": "GetProtectionPolicyOperationStatus",
"status": "InProgress",
"startTime": "2023-06-01T19:23:04.286172Z",
"endTime": "0001-01-01T00:00:00"
}
DEBUG: ============================ HTTP REQUEST ============================
HTTP Method:
GET
Absolute Uri:
https://management.azure.com/subscriptions/backupPolicies/CDTestBUPolicy/operations/c4362716-5f8d-4413
-9b8b-5997b835178a?api-version=2022-02-01
Headers:
x-ms-client-request-id : f106daae-1bb6-4bb4-92ac-62b7ed894dcc
accept-language : en-US
Body:
DEBUG: ============================ HTTP RESPONSE ============================
Status Code:
OK
Headers:
Pragma : no-cache
X-Content-Type-Options : nosniff
x-ms-request-id : 246d1f6b-9401-422e-8cd0-7c153a923a6e
x-ms-client-request-id : f106daae-1bb6-4bb4-92ac-62b7ed894dcc
x-ms-ratelimit-remaining-subscription-resource-requests: 146
x-ms-correlation-request-id : 246d1f6b-9401-422e-8cd0-7c153a923a6e
x-ms-routing-request-id : NORTHCENTRALUS:20230601T192320Z:246d1f6b-9401-422e-8cd0-7c153a923a6e
Strict-Transport-Security : max-age=31536000; includeSubDomains
Cache-Control : no-cache
Date : Thu, 01 Jun 2023 19:23:20 GMT
Server : Kestrel
Body:
{
"id": "c4362716-5f8d-4413-9b8b-5997b835178a",
"name": "GetProtectionPolicyOperationStatus",
"status": "Succeeded",
"startTime": "2023-06-01T19:23:04.286172Z",
"endTime": "2023-06-01T19:23:04.286172Z",
"properties": {
"objectType": "OperationStatusJobsExtendedInfo",
"jobIds": [
"4ab537dc-75e8-4ff1-a65e-25fd8d52dc62"
],
"failedJobsError": {}
}
}
DEBUG: ============================ HTTP REQUEST ============================
HTTP Method:
GET
Absolute Uri:
https://management.azure.com/subscriptions/backupPolicies/CDTestBUPolicy/operations/c4362716-5f8d-4413
-9b8b-5997b835178a?api-version=2022-02-01
Headers:
x-ms-client-request-id : f106daae-1bb6-4bb4-92ac-62b7ed894dcc
accept-language : en-US
Body:
DEBUG: ============================ HTTP RESPONSE ============================
Status Code:
OK
Headers:
Pragma : no-cache
X-Content-Type-Options : nosniff
x-ms-request-id : 85078b61-dd40-4d9e-8996-47a29af279be
x-ms-client-request-id : f106daae-1bb6-4bb4-92ac-62b7ed894dcc
x-ms-ratelimit-remaining-subscription-resource-requests: 145
x-ms-correlation-request-id : 85078b61-dd40-4d9e-8996-47a29af279be
x-ms-routing-request-id : NORTHCENTRALUS:20230601T192320Z:85078b61-dd40-4d9e-8996-47a29af279be
Strict-Transport-Security : max-age=31536000; includeSubDomains
Cache-Control : no-cache
Date : Thu, 01 Jun 2023 19:23:20 GMT
Server : Kestrel
Body:
{
"id": "c4362716-5f8d-4413-9b8b-5997b835178a",
"name": "GetProtectionPolicyOperationStatus",
"status": "Succeeded",
"startTime": "2023-06-01T19:23:04.286172Z",
"endTime": "2023-06-01T19:23:04.286172Z",
"properties": {
"objectType": "OperationStatusJobsExtendedInfo",
"jobIds": [
"4ab537dc-75e8-4ff1-a65e-25fd8d52dc62"
],
"failedJobsError": {}
}
}
DEBUG: Final operation status: Succeeded
DEBUG: ============================ HTTP REQUEST ============================
HTTP Method:
GET
Absolute Uri:
https://management.azure.com/subscriptions/
=2022-02-01
Headers:
x-ms-client-request-id : f106daae-1bb6-4bb4-92ac-62b7ed894dcc
accept-language : en-US
Body:
DEBUG: ============================ HTTP RESPONSE ============================
Status Code:
OK
Headers:
Pragma : no-cache
X-Content-Type-Options : nosniff
x-ms-request-id : 24238748-4e06-452f-8d13-19f96c29726d
x-ms-client-request-id : f106daae-1bb6-4bb4-92ac-62b7ed894dcc
x-ms-ratelimit-remaining-subscription-resource-requests: 149
x-ms-correlation-request-id : 24238748-4e06-452f-8d13-19f96c29726d
x-ms-routing-request-id : NORTHCENTRALUS:20230601T192320Z:24238748-4e06-452f-8d13-19f96c29726d
Strict-Transport-Security : max-age=31536000; includeSubDomains
Cache-Control : no-cache
Date : Thu, 01 Jun 2023 19:23:20 GMT
Server : Kestrel
Body:
{
"id": "/subscriptions/",
"name": "4ab537dc-75e8-4ff1-a65e-25fd8d52dc62",
"type": "Microsoft.RecoveryServices/vaults/backupJobs",
"properties": {
"jobType": "AzureIaaSVMJob",
"containerName": "iaasvmcontainerv2;",
"duration": "PT11.0637743S",
"virtualMachineVersion": "Compute",
"extendedInfo": {
"tasksList": [],
"propertyBag": {
"VM Name": "MyTestSQL",
"Policy Name": "CDTestBUPolicy"
}
},
"entityFriendlyName": "",
"backupManagementType": "AzureIaasVM",
"operation": "ConfigureBackup",
"status": "Completed",
"startTime": "2023-06-01T19:23:04.3017715Z",
"endTime": "2023-06-01T19:23:15.3655458Z",
"activityId": "f106daae-1bb6-4bb4-92ac-62b7ed894dcc"
}
}
WorkloadName Operation Status StartTime EndTime JobID
------------ --------- ------ --------- ------- -----
ConfigureBackup Completed 6/1/2023 7:23:04 PM 6/1/2023 7:23:15 PM 4ab537dc-75e8-4ff1-a65e-25fd8d52dc62
DEBUG: 3:23:20 PM - [ConfigManager] Got [True] from [EnableDataCollection], Module = [], Cmdlet = [].
DEBUG: AzureQoSEvent: Module: Az.RecoveryServices:6.4.0; CommandName: Set-AzRecoveryServicesBackupProtectionPolicy; PSVersion: 5.1.19041.2364; IsSuccess: True; Duration: 00:00:17.5119549
DEBUG: 3:23:20 PM - SetAzureRmRecoveryServicesBackupProtectionPolicy end processing.
PS C:\WINDOWS\system32>
Environment data
Name Value
---- -----
PSVersion 5.1.19041.2364
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.19041.2364
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Module versions
PS C:\WINDOWS\system32> Get-Module AZ*
ModuleType Version Name ExportedCommands
---------- ------- ---- ----------------
Script 2.12.3 Az.Accounts {Add-AzEnvironment, Clear-AzConfig, Clear-AzContext, Clear-AzDefault...}
Script 5.0.0 Az.Compute {Add-AzImageDataDisk, Add-AzVhd, Add-AzVMAdditionalUnattendContent, Add-AzVMDataDisk...}
Script 6.4.0 Az.RecoveryServices {Add-AzRecoveryServicesAsrReplicationProtectedItemDisk, Backup-AzRecoveryServicesBackupItem, Copy-AzRecoveryServicesVault, Disable-AzRecoveryServicesBackupAut...
Error output
No output pertaining to this issue.
Metadata
Metadata
Assignees
Labels
CXP Attention[Deprecated] The Azure CXP Support Team is responsible for this issue.[Deprecated] The Azure CXP Support Team is responsible for this issue.Recovery Services BackupbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reported