Azure / azure-powershell

Microsoft Azure PowerShell
Other
4.24k stars 3.84k forks source link

New-AzManagedApplication - The operation failed because the operation status could not be de-serialized. #21146

Open wahyuen opened 1 year ago

wahyuen commented 1 year ago

Description

This command has been working for awhile and with no changes other than upgrading the version of Az Powershell, it now fails with the following error message

The operation failed because the operation status could not be de-serialized.

We can confirm that this command works from v9.1.1 and failing on v9.4.

We 'think' that the managed application does get created within Azure, but due to the error message, we are not sure if it has been left in an incomplete state due to the black box nature of the command itself.

Issue script & Debug output

❯ New-AzManagedApplication -Name sozewahtestapp -Kind ServiceCatalog -ResourceGroupName soze-wahtest-arg -Location australiaeast -ManagedApplicationDefinitionId /subscriptions/redacted/resourceGroups/soze-serviceconfig-rg/providers/Microsoft.Solutions/applicationDefinitions/soze-scdef -ManagedResourceGroupName soze-wahtest-mrg
DEBUG: 3:55:30 PM - NewAzureManagedApplicationCmdlet begin processing with ParameterSet '__AllParameterSets'.
DEBUG: 3:55:30 PM - using account id 'redacted'...
DEBUG: 3:55:30 PM - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: [Common.Authentication]: Authenticating using Account: 'redacted', environment: 'AzureCloud', tenant: 'redacted'
DEBUG: 3:55:30 PM - [SilentAuthenticator] Calling SharedTokenCacheCredential.GetTokenAsync - TenantId:'redacted', Scopes:'https://management.core.windows.net//.default', AuthorityHost:'https://login.microsoftonline.com/', UserId:'redacted'
DEBUG: SharedTokenCacheCredential.GetToken invoked. Scopes: [ https://management.core.windows.net//.default ] ParentRequestId:
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z - cc10a3da-d6c5-4399-a836-1bbd45624fbb] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z - cc10a3da-d6c5-4399-a836-1bbd45624fbb] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z - cc10a3da-d6c5-4399-a836-1bbd45624fbb] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z - cc10a3da-d6c5-4399-a836-1bbd45624fbb] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z - cc10a3da-d6c5-4399-a836-1bbd45624fbb] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z] Found 1 cache accounts and 0 broker accounts
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z] Returning 1 accounts
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z - 06acf435-5707-4d3a-8183-79f202b1958f] MSAL MSAL.NetCore with assembly version '4.46.0.0'. CorrelationId(06acf435-5707-4d3a-8183-79f202b1958f)
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z - 06acf435-5707-4d3a-8183-79f202b1958f] === AcquireTokenSilent Parameters ===
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z - 06acf435-5707-4d3a-8183-79f202b1958f] LoginHint provided: False
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z - 06acf435-5707-4d3a-8183-79f202b1958f] Account provided: True
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z - 06acf435-5707-4d3a-8183-79f202b1958f] ForceRefresh: False
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z - 06acf435-5707-4d3a-8183-79f202b1958f]
=== 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 - 06acf435-5707-4d3a-8183-79f202b1958f
UserAssertion set: False
LongRunningOboCacheKey set: False
Region configured:

DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z - 06acf435-5707-4d3a-8183-79f202b1958f] === Token Acquisition (SilentRequest) started:
         Scopes: https://management.core.windows.net//.default
        Authority Host: login.microsoftonline.com
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z - 06acf435-5707-4d3a-8183-79f202b1958f] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z - 06acf435-5707-4d3a-8183-79f202b1958f] Access token is not expired. Returning the found cache entry. [Current time (03/08/2023 07:55:30) - Expiration Time (03/08/2023 09:02:12 +00:00) - Extended Expiration Time (03/08/2023 09:02:12 +00:00)]
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z - 06acf435-5707-4d3a-8183-79f202b1958f] Returning access token found in cache. RefreshOn exists ? False
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z - 06acf435-5707-4d3a-8183-79f202b1958f] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z - 06acf435-5707-4d3a-8183-79f202b1958f]
        === Token Acquisition finished successfully:
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z - 06acf435-5707-4d3a-8183-79f202b1958f]  AT expiration time: 8/03/2023 9:02:12 AM +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: 2023-03-08T09:02:12.0000000+00:00
DEBUG: [Common.Authentication]: Received token with LoginType 'User', Tenant: 'redacted', UserId: 'redacted'
DEBUG: ============================ HTTP REQUEST ============================

HTTP Method:
PUT

Absolute Uri:
https://management.azure.com/subscriptions/redacted/resourcegroups/soze-wahtest-arg/providers/Microsoft.Solutions/applications/sozewahtestapp?api-version=2017-09-01

Headers:
User-Agent                    : AzurePowershell/v9.1.1,PSVersion/v7.3.3,Az.Resources/6.4.1
ParameterSetName              : __AllParameterSets
CommandName                   : New-AzManagedApplication

Body:
{
  "name": "sozewahtestapp",
  "location": "australiaeast",
  "properties": {
    "managedResourceGroupId": "/subscriptions/redacted/resourcegroups/soze-wahtest-mrg",
    "applicationDefinitionId": "/subscriptions/redacted/resourceGroups/soze-serviceconfig-rg/providers/Microsoft.Solutions/applicationDefinitions/soze-scdef"
  },
  "kind": "ServiceCatalog"
}

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

Status Code:
Created

Headers:
Cache-Control                 : no-cache
Pragma                        : no-cache
ETag                          : "ea002992-0000-1b00-0000-64083f770000"
x-ms-ratelimit-remaining-subscription-writes: 1199
x-ms-providerhub-traffic      : True
mise-correlation-id           : 63eeacae-68b2-464b-9683-cef99bffd548
x-ms-request-id               : d5fb2e1d-9fd2-4777-8e43-31414a03471a
x-ms-client-request-id        : 105f909e-afe9-4534-b007-834b6e52778b
Azure-AsyncOperation          : https://management.azure.com/subscriptions/redacted/providers/Microsoft.Solutions/locations/AUSTRALIAEAST/operationStatuses/6ada7a97-bb9c-4811-bb21-642f0ba7e4e6*549261CFD619DD855786B889300461C8CC26392E748AE12A5B2910DE2274B989?api-version=2017-09-01
x-ms-correlation-request-id   : b21dc22a-866a-4b24-a2e6-dabd402ff695
x-ms-routing-request-id       : AUSTRALIAEAST:20230308T075535Z:b21dc22a-866a-4b24-a2e6-dabd402ff695
Strict-Transport-Security     : max-age=31536000; includeSubDomains
X-Content-Type-Options        : nosniff
Date                          : Wed, 08 Mar 2023 07:55:34 GMT

Body:
{
  "id": "/subscriptions/redacted/resourceGroups/soze-wahtest-arg/providers/Microsoft.Solutions/applications/sozewahtestapp",
  "name": "sozewahtestapp",
  "type": "microsoft.solutions/applications",
  "kind": "ServiceCatalog",
  "location": "australiaeast",
  "systemData": {
    "createdBy": "redacted",
    "createdByType": "User",
    "createdAt": "2023-03-08T07:55:28.809973Z",
    "lastModifiedBy": "redacted",
    "lastModifiedByType": "User",
    "lastModifiedAt": "2023-03-08T07:55:28.809973Z"
  },
  "properties": {
    "managedResourceGroupId": "/subscriptions/redacted/resourcegroups/soze-wahtest-mrg",
    "applicationDefinitionId": "/subscriptions/redacted/resourceGroups/soze-serviceconfig-rg/providers/Microsoft.Solutions/applicationDefinitions/soze-scdef",
    "publisherPackageId": "/subscriptions/redacted/resourceGroups/soze-serviceconfig-rg/providers/Microsoft.Solutions/applicationDefinitions/soze-scdef",
    "provisioningState": "Accepted"
  }
}

DEBUG: [Common.Authentication]: Authenticating using Account: 'redacted', environment: 'AzureCloud', tenant: 'redacted'
DEBUG: 3:55:37 PM - [SilentAuthenticator] Calling SharedTokenCacheCredential.GetTokenAsync - TenantId:'redacted', Scopes:'https://management.core.windows.net//.default', AuthorityHost:'https://login.microsoftonline.com/', UserId:'redacted'
DEBUG: SharedTokenCacheCredential.GetToken invoked. Scopes: [ https://management.core.windows.net//.default ] ParentRequestId:
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - f2d9a4bd-a856-4a0f-95b5-e5f93d4948f2] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - f2d9a4bd-a856-4a0f-95b5-e5f93d4948f2] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - f2d9a4bd-a856-4a0f-95b5-e5f93d4948f2] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - f2d9a4bd-a856-4a0f-95b5-e5f93d4948f2] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - f2d9a4bd-a856-4a0f-95b5-e5f93d4948f2] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z] Found 1 cache accounts and 0 broker accounts
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z] Returning 1 accounts
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 57721ea9-6030-4ba4-97a1-fe4421cfb23d] MSAL MSAL.NetCore with assembly version '4.46.0.0'. CorrelationId(57721ea9-6030-4ba4-97a1-fe4421cfb23d)
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 57721ea9-6030-4ba4-97a1-fe4421cfb23d] === AcquireTokenSilent Parameters ===
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 57721ea9-6030-4ba4-97a1-fe4421cfb23d] LoginHint provided: False
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 57721ea9-6030-4ba4-97a1-fe4421cfb23d] Account provided: True
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 57721ea9-6030-4ba4-97a1-fe4421cfb23d] ForceRefresh: False
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 57721ea9-6030-4ba4-97a1-fe4421cfb23d]
=== 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 - 57721ea9-6030-4ba4-97a1-fe4421cfb23d
UserAssertion set: False
LongRunningOboCacheKey set: False
Region configured:

DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 57721ea9-6030-4ba4-97a1-fe4421cfb23d] === Token Acquisition (SilentRequest) started:
         Scopes: https://management.core.windows.net//.default
        Authority Host: login.microsoftonline.com
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 57721ea9-6030-4ba4-97a1-fe4421cfb23d] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 57721ea9-6030-4ba4-97a1-fe4421cfb23d] Access token is not expired. Returning the found cache entry. [Current time (03/08/2023 07:55:37) - Expiration Time (03/08/2023 09:02:12 +00:00) - Extended Expiration Time (03/08/2023 09:02:12 +00:00)]
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 57721ea9-6030-4ba4-97a1-fe4421cfb23d] Returning access token found in cache. RefreshOn exists ? False
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 57721ea9-6030-4ba4-97a1-fe4421cfb23d] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 57721ea9-6030-4ba4-97a1-fe4421cfb23d]
        === Token Acquisition finished successfully:
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 57721ea9-6030-4ba4-97a1-fe4421cfb23d]  AT expiration time: 8/03/2023 9:02:12 AM +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: 2023-03-08T09:02:12.0000000+00:00
DEBUG: [Common.Authentication]: Received token with LoginType 'User', Tenant: 'redacted', UserId: 'redacted'
DEBUG: [Common.Authentication]: Authenticating using Account: 'redacted', environment: 'AzureCloud', tenant: 'redacted'
DEBUG: 3:55:37 PM - [SilentAuthenticator] Calling SharedTokenCacheCredential.GetTokenAsync - TenantId:'redacted', Scopes:'https://management.core.windows.net//.default', AuthorityHost:'https://login.microsoftonline.com/', UserId:'redacted'
DEBUG: SharedTokenCacheCredential.GetToken invoked. Scopes: [ https://management.core.windows.net//.default ] ParentRequestId:
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 2c80b003-fcb9-4fe2-9dee-2e888bb59efd] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 2c80b003-fcb9-4fe2-9dee-2e888bb59efd] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 2c80b003-fcb9-4fe2-9dee-2e888bb59efd] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 2c80b003-fcb9-4fe2-9dee-2e888bb59efd] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 2c80b003-fcb9-4fe2-9dee-2e888bb59efd] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z] Found 1 cache accounts and 0 broker accounts
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z] Returning 1 accounts
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 11eeb922-320e-495d-9c47-cb22c11623e2] MSAL MSAL.NetCore with assembly version '4.46.0.0'. CorrelationId(11eeb922-320e-495d-9c47-cb22c11623e2)
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 11eeb922-320e-495d-9c47-cb22c11623e2] === AcquireTokenSilent Parameters ===
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 11eeb922-320e-495d-9c47-cb22c11623e2] LoginHint provided: False
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 11eeb922-320e-495d-9c47-cb22c11623e2] Account provided: True
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 11eeb922-320e-495d-9c47-cb22c11623e2] ForceRefresh: False
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 11eeb922-320e-495d-9c47-cb22c11623e2]
=== 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 - 11eeb922-320e-495d-9c47-cb22c11623e2
UserAssertion set: False
LongRunningOboCacheKey set: False
Region configured:

DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 11eeb922-320e-495d-9c47-cb22c11623e2] === Token Acquisition (SilentRequest) started:
         Scopes: https://management.core.windows.net//.default
        Authority Host: login.microsoftonline.com
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 11eeb922-320e-495d-9c47-cb22c11623e2] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 11eeb922-320e-495d-9c47-cb22c11623e2] Access token is not expired. Returning the found cache entry. [Current time (03/08/2023 07:55:37) - Expiration Time (03/08/2023 09:02:12 +00:00) - Extended Expiration Time (03/08/2023 09:02:12 +00:00)]
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 11eeb922-320e-495d-9c47-cb22c11623e2] Returning access token found in cache. RefreshOn exists ? False
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 11eeb922-320e-495d-9c47-cb22c11623e2] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 11eeb922-320e-495d-9c47-cb22c11623e2]
        === Token Acquisition finished successfully:
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 11eeb922-320e-495d-9c47-cb22c11623e2]  AT expiration time: 8/03/2023 9:02:12 AM +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: 2023-03-08T09:02:12.0000000+00:00
DEBUG: [Common.Authentication]: Received token with LoginType 'User', Tenant: 'redacted', UserId: 'redacted'
DEBUG: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.azure.com/subscriptions/redacted/providers/Microsoft.Solutions/locations/AUSTRALIAEAST/operationStatuses/6ada7a97-bb9c-4811-bb21-642f0ba7e4e6*549261CFD619DD855786B889300461C8CC26392E748AE12A5B2910DE2274B989?api-version=2017-09-01

Headers:
User-Agent                    : AzurePowershell/v9.1.1,PSVersion/v7.3.3,Az.Resources/6.4.1
ParameterSetName              : __AllParameterSets
CommandName                   : New-AzManagedApplication

Body:

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

Status Code:
OK

Headers:
Cache-Control                 : no-cache
Pragma                        : no-cache
ETag                          : "0c00e4a5-0000-1b00-0000-64083f750000"
x-ms-ratelimit-remaining-subscription-reads: 11997
x-ms-request-id               : 10725f08-6824-40f1-9ffa-cb4dccbe6fbb
x-ms-correlation-request-id   : 41fe05b1-fd1a-414d-a24f-c9ac20110f59
x-ms-routing-request-id       : AUSTRALIAEAST:20230308T075537Z:41fe05b1-fd1a-414d-a24f-c9ac20110f59
Strict-Transport-Security     : max-age=31536000; includeSubDomains
X-Content-Type-Options        : nosniff
Date                          : Wed, 08 Mar 2023 07:55:36 GMT

Body:
{
  "id": "/subscriptions/redacted/providers/Microsoft.Solutions/locations/AUSTRALIAEAST/operationStatuses/6ada7a97-bb9c-4811-bb21-642f0ba7e4e6*549261CFD619DD855786B889300461C8CC26392E748AE12A5B2910DE2274B989",
  "name": "6ada7a97-bb9c-4811-bb21-642f0ba7e4e6*549261CFD619DD855786B889300461C8CC26392E748AE12A5B2910DE2274B989",
  "resourceId": "/subscriptions/redacted/resourceGroups/soze-wahtest-arg/providers/Microsoft.Solutions/applications/sozewahtestapp",
  "status": "Accepted",
  "startTime": "2023-03-08T07:55:31.7443603Z"
}

DEBUG: [Common.Authentication]: Authenticating using Account: 'redacted', environment: 'AzureCloud', tenant: 'redacted'
DEBUG: 3:55:39 PM - [SilentAuthenticator] Calling SharedTokenCacheCredential.GetTokenAsync - TenantId:'redacted', Scopes:'https://management.core.windows.net//.default', AuthorityHost:'https://login.microsoftonline.com/', UserId:'redacted'
DEBUG: SharedTokenCacheCredential.GetToken invoked. Scopes: [ https://management.core.windows.net//.default ] ParentRequestId:
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z - 42b79f4e-4117-4986-8e5b-0af55db1d19e] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z - 42b79f4e-4117-4986-8e5b-0af55db1d19e] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z - 42b79f4e-4117-4986-8e5b-0af55db1d19e] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z - 42b79f4e-4117-4986-8e5b-0af55db1d19e] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z - 42b79f4e-4117-4986-8e5b-0af55db1d19e] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z] Found 1 cache accounts and 0 broker accounts
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z] Returning 1 accounts
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z - 16f1d4ee-4f50-4396-91f1-891741142064] MSAL MSAL.NetCore with assembly version '4.46.0.0'. CorrelationId(16f1d4ee-4f50-4396-91f1-891741142064)
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z - 16f1d4ee-4f50-4396-91f1-891741142064] === AcquireTokenSilent Parameters ===
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z - 16f1d4ee-4f50-4396-91f1-891741142064] LoginHint provided: False
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z - 16f1d4ee-4f50-4396-91f1-891741142064] Account provided: True
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z - 16f1d4ee-4f50-4396-91f1-891741142064] ForceRefresh: False
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z - 16f1d4ee-4f50-4396-91f1-891741142064]
=== 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 - 16f1d4ee-4f50-4396-91f1-891741142064
UserAssertion set: False
LongRunningOboCacheKey set: False
Region configured:

DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z - 16f1d4ee-4f50-4396-91f1-891741142064] === Token Acquisition (SilentRequest) started:
         Scopes: https://management.core.windows.net//.default
        Authority Host: login.microsoftonline.com
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z - 16f1d4ee-4f50-4396-91f1-891741142064] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z - 16f1d4ee-4f50-4396-91f1-891741142064] Access token is not expired. Returning the found cache entry. [Current time (03/08/2023 07:55:39) - Expiration Time (03/08/2023 09:02:12 +00:00) - Extended Expiration Time (03/08/2023 09:02:12 +00:00)]
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z - 16f1d4ee-4f50-4396-91f1-891741142064] Returning access token found in cache. RefreshOn exists ? False
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z - 16f1d4ee-4f50-4396-91f1-891741142064] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z - 16f1d4ee-4f50-4396-91f1-891741142064]
        === Token Acquisition finished successfully:
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z - 16f1d4ee-4f50-4396-91f1-891741142064]  AT expiration time: 8/03/2023 9:02:12 AM +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: 2023-03-08T09:02:12.0000000+00:00
DEBUG: [Common.Authentication]: Received token with LoginType 'User', Tenant: 'redacted', UserId: 'redacted'
DEBUG: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.azure.com/subscriptions/redacted/resourcegroups/soze-wahtest-arg/providers/Microsoft.Solutions/applications/sozewahtestapp?api-version=2017-09-01

Headers:
User-Agent                    : AzurePowershell/v9.1.1,PSVersion/v7.3.3,Az.Resources/6.4.1
ParameterSetName              : __AllParameterSets
CommandName                   : New-AzManagedApplication

Body:

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

Status Code:
OK

Headers:
Cache-Control                 : no-cache
Pragma                        : no-cache
ETag                          : "ea002992-0000-1b00-0000-64083f770000"
x-ms-ratelimit-remaining-subscription-resource-requests: 59999
x-ms-providerhub-traffic      : True
mise-correlation-id           : 779af036-ae63-4caa-b935-ffb0e4c52da0
x-ms-request-id               : 65e4bedb-db5b-4d50-8765-a6f48ce756eb
x-ms-client-request-id        : 782fd892-0381-442e-b03f-f2b4221082ad
x-ms-correlation-request-id   : 77d41c87-1a58-490a-b885-568b02f73337
x-ms-routing-request-id       : AUSTRALIAEAST:20230308T075541Z:77d41c87-1a58-490a-b885-568b02f73337
Strict-Transport-Security     : max-age=31536000; includeSubDomains
X-Content-Type-Options        : nosniff
Date                          : Wed, 08 Mar 2023 07:55:41 GMT

Body:
{
  "id": "/subscriptions/redacted/resourceGroups/soze-wahtest-arg/providers/Microsoft.Solutions/applications/sozewahtestapp",
  "name": "sozewahtestapp",
  "type": "Microsoft.Solutions/applications",
  "kind": "ServiceCatalog",
  "location": "australiaeast",
  "etag": "\"ea002992-0000-1b00-0000-64083f770000\"",
  "properties": {
    "managedResourceGroupId": "/subscriptions/redacted/resourcegroups/soze-wahtest-mrg",
    "applicationDefinitionId": "/subscriptions/redacted/resourceGroups/soze-serviceconfig-rg/providers/Microsoft.Solutions/applicationDefinitions/soze-scdef",
    "publisherPackageId": "/subscriptions/redacted/resourceGroups/soze-serviceconfig-rg/providers/Microsoft.Solutions/applicationDefinitions/soze-scdef",
    "provisioningState": "Accepted",
    "authorizations": [
      {
        "principalId": "ef7549a5-eecf-4a3c-8919-d5cff5be49c3",
        "roleDefinitionId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635"
      },
      {
        "principalId": "de16f07e-da30-4a02-b295-9f3add0d3ed2",
        "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c"
      },
      {
        "principalId": "b785e266-8dea-45bc-8811-f7573b895aa8",
        "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c"
      }
    ]
  }
}

DEBUG: [Common.Authentication]: Authenticating using Account: 'redacted', environment: 'AzureCloud', tenant: 'redacted'
DEBUG: 3:56:43 PM - [SilentAuthenticator] Calling SharedTokenCacheCredential.GetTokenAsync - TenantId:'redacted', Scopes:'https://management.core.windows.net//.default', AuthorityHost:'https://login.microsoftonline.com/', UserId:'redacted'
DEBUG: SharedTokenCacheCredential.GetToken invoked. Scopes: [ https://management.core.windows.net//.default ] ParentRequestId:
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z - 203e79a0-dbcc-49cb-a8cf-720f1a7f846c] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z - 203e79a0-dbcc-49cb-a8cf-720f1a7f846c] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z - 203e79a0-dbcc-49cb-a8cf-720f1a7f846c] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z - 203e79a0-dbcc-49cb-a8cf-720f1a7f846c] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z - 203e79a0-dbcc-49cb-a8cf-720f1a7f846c] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z] Found 1 cache accounts and 0 broker accounts
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z] Returning 1 accounts
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z - 7b64e735-3fb3-4f4c-9bcc-a2f4669b5f84] MSAL MSAL.NetCore with assembly version '4.46.0.0'. CorrelationId(7b64e735-3fb3-4f4c-9bcc-a2f4669b5f84)
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z - 7b64e735-3fb3-4f4c-9bcc-a2f4669b5f84] === AcquireTokenSilent Parameters ===
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z - 7b64e735-3fb3-4f4c-9bcc-a2f4669b5f84] LoginHint provided: False
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z - 7b64e735-3fb3-4f4c-9bcc-a2f4669b5f84] Account provided: True
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z - 7b64e735-3fb3-4f4c-9bcc-a2f4669b5f84] ForceRefresh: False
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z - 7b64e735-3fb3-4f4c-9bcc-a2f4669b5f84]
=== 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 - 7b64e735-3fb3-4f4c-9bcc-a2f4669b5f84
UserAssertion set: False
LongRunningOboCacheKey set: False
Region configured:

DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z - 7b64e735-3fb3-4f4c-9bcc-a2f4669b5f84] === Token Acquisition (SilentRequest) started:
         Scopes: https://management.core.windows.net//.default
        Authority Host: login.microsoftonline.com
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z - 7b64e735-3fb3-4f4c-9bcc-a2f4669b5f84] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z - 7b64e735-3fb3-4f4c-9bcc-a2f4669b5f84] Access token is not expired. Returning the found cache entry. [Current time (03/08/2023 07:56:43) - Expiration Time (03/08/2023 09:02:12 +00:00) - Extended Expiration Time (03/08/2023 09:02:12 +00:00)]
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z - 7b64e735-3fb3-4f4c-9bcc-a2f4669b5f84] Returning access token found in cache. RefreshOn exists ? False
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z - 7b64e735-3fb3-4f4c-9bcc-a2f4669b5f84] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z - 7b64e735-3fb3-4f4c-9bcc-a2f4669b5f84]
        === Token Acquisition finished successfully:
DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z - 7b64e735-3fb3-4f4c-9bcc-a2f4669b5f84]  AT expiration time: 8/03/2023 9:02:12 AM +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: 2023-03-08T09:02:12.0000000+00:00
DEBUG: [Common.Authentication]: Received token with LoginType 'User', Tenant: 'redacted', UserId: 'redacted'
DEBUG: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.azure.com/subscriptions/redacted/resourcegroups/soze-wahtest-arg/providers/Microsoft.Solutions/applications/sozewahtestapp?api-version=2017-09-01

Headers:
User-Agent                    : AzurePowershell/v9.1.1,PSVersion/v7.3.3,Az.Resources/6.4.1
ParameterSetName              : __AllParameterSets
CommandName                   : New-AzManagedApplication

Body:

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

Status Code:
OK

Headers:
Cache-Control                 : no-cache
Pragma                        : no-cache
ETag                          : "ea000293-0000-1b00-0000-64083f810000"
x-ms-ratelimit-remaining-subscription-resource-requests: 59999
x-ms-providerhub-traffic      : True
mise-correlation-id           : df64aa4e-2f7b-4dec-9b39-adb2c23023e2
x-ms-request-id               : 6e185ef2-7962-4807-aba1-6821ef9b30e5
x-ms-client-request-id        : 3b91e1b4-a732-4606-918a-e6fd7fdba808
x-ms-correlation-request-id   : b26e04b8-aada-4fec-a3f9-292407207b77
x-ms-routing-request-id       : AUSTRALIAEAST:20230308T075644Z:b26e04b8-aada-4fec-a3f9-292407207b77
Strict-Transport-Security     : max-age=31536000; includeSubDomains
X-Content-Type-Options        : nosniff
Date                          : Wed, 08 Mar 2023 07:56:44 GMT

Body:
{
  "id": "/subscriptions/redacted/resourceGroups/soze-wahtest-arg/providers/Microsoft.Solutions/applications/sozewahtestapp",
  "name": "sozewahtestapp",
  "type": "Microsoft.Solutions/applications",
  "kind": "ServiceCatalog",
  "location": "australiaeast",
  "etag": "\"ea000293-0000-1b00-0000-64083f810000\"",
  "properties": {
    "managedResourceGroupId": "/subscriptions/redacted/resourcegroups/soze-wahtest-mrg",
    "applicationDefinitionId": "/subscriptions/redacted/resourceGroups/soze-serviceconfig-rg/providers/Microsoft.Solutions/applicationDefinitions/soze-scdef",
    "publisherPackageId": "/subscriptions/redacted/resourceGroups/soze-serviceconfig-rg/providers/Microsoft.Solutions/applicationDefinitions/soze-scdef",
    "provisioningState": "Failed",
    "authorizations": [
      {
        "principalId": "ef7549a5-eecf-4a3c-8919-d5cff5be49c3",
        "roleDefinitionId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635"
      },
      {
        "principalId": "de16f07e-da30-4a02-b295-9f3add0d3ed2",
        "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c"
      },
      {
        "principalId": "b785e266-8dea-45bc-8811-f7573b895aa8",
        "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c"
      }
    ]
  }
}

DEBUG: 3:56:46 PM - [ConfigManager] Got [True] from [EnableDataCollection], Module = [], Cmdlet = [].
New-AzManagedApplication: The operation failed because resource is in the: 'Failed' state. Please check the logs for more details.
DEBUG: 3:56:46 PM - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: AzureQoSEvent:  Module: Az.Resources:6.4.1; CommandName: New-AzManagedApplication; PSVersion: 7.3.3; IsSuccess: False; Duration: 00:01:16.4826351; Exception: The operation failed because resource is in the: 'Failed' state. Please check the logs for more details.;
DEBUG: 3:56:46 PM - NewAzureManagedApplicationCmdlet end processing.

Environment data

❯ $PSVersionTable

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

Module versions

❯ Get-Module -ListAvailable

    Directory: C:\Users\wahyu\Documents\PowerShell\Modules

ModuleType Version    PreRelease Name                                PSEdition ExportedCommands
---------- -------    ---------- ----                                --------- ----------------
Script     9.4.0                 Az                                  Core,Desk
Script     9.1.1                 Az                                  Core,Desk
Script     2.11.2                Az.Accounts                         Core,Desk {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCollection, Enable-AzContextAutosave…}
Script     2.10.3                Az.Accounts                         Core,Desk {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCollection, Enable-AzContextAutosave…}
Script     2.10.1                Az.Accounts                         Core,Desk {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCollection, Enable-AzContextAutosave…}
Script     2.9.1                 Az.Accounts                         Core,Desk {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCollection, Enable-AzContextAutosave…}
Script     2.0.0                 Az.Advisor                          Core,Desk {Disable-AzAdvisorRecommendation, Enable-AzAdvisorRecommendation, Get-AzAdvisorConfiguration, Get-AzAdvisorRecommendation…}
Script     5.3.0                 Az.Aks                              Core,Desk {Get-AzAksCluster, New-AzAksCluster, Remove-AzAksCluster, Import-AzAksCredential…}
Script     5.0.1                 Az.Aks                              Core,Desk {Get-AzAksCluster, New-AzAksCluster, Remove-AzAksCluster, Import-AzAksCredential…}
Script     1.1.4                 Az.AnalysisServices                 Core,Desk {Resume-AzAnalysisServicesServer, Suspend-AzAnalysisServicesServer, Get-AzAnalysisServicesServer, Remove-AzAnalysisServicesServer…}
Script     4.0.2                 Az.ApiManagement                    Core,Desk {Add-AzApiManagementApiToGateway, Add-AzApiManagementApiToProduct, Add-AzApiManagementProductToGroup, Add-AzApiManagementRegion…}
Script     4.0.1                 Az.ApiManagement                    Core,Desk {Add-AzApiManagementApiToGateway, Add-AzApiManagementApiToProduct, Add-AzApiManagementProductToGroup, Add-AzApiManagementRegion…}
Script     1.2.0                 Az.AppConfiguration                 Core,Desk {Get-AzAppConfigurationStore, Get-AzAppConfigurationStoreKey, New-AzAppConfigurationStore, New-AzAppConfigurationStoreKey…}
Script     2.2.2                 Az.ApplicationInsights              Core,Desk {Get-AzApplicationInsights, Get-AzApplicationInsightsApiKey, Get-AzApplicationInsightsContinuousExport, Get-AzApplicationInsightsLinkedStorageAccount…}
Script     2.1.0                 Az.ApplicationInsights              Core,Desk {Get-AzApplicationInsights, Get-AzApplicationInsightsApiKey, Get-AzApplicationInsightsContinuousExport, Get-AzApplicationInsightsLinkedStorageAccount…}
Script     2.0.0                 Az.Attestation                      Core,Desk {Get-AzAttestationPolicy, Set-AzAttestationPolicy, Reset-AzAttestationPolicy, Get-AzAttestationPolicySigners…}
Script     1.9.0                 Az.Automation                       Core,Desk {Set-AzAutomationPython3Package, New-AzAutomationPython3Package, Remove-AzAutomationPython3Package, Get-AzAutomationPython3Package…}
Script     1.8.0                 Az.Automation                       Core,Desk {Move-AzAutomationHybridRunbookWorker, Remove-AzAutomationHybridRunbookWorker, New-AzAutomationHybridRunbookWorker, Get-AzAutomationHybridRunbookWorker…}
Script     3.3.0                 Az.Batch                            Core,Desk {Remove-AzBatchAccount, Get-AzBatchAccount, Get-AzBatchAccountKey, New-AzBatchAccount…}
Script     3.2.1                 Az.Batch                            Core,Desk {Remove-AzBatchAccount, Get-AzBatchAccount, Get-AzBatchAccountKey, New-AzBatchAccount…}
Script     2.0.0                 Az.Billing                          Core,Desk {Get-AzBillingInvoice, Get-AzBillingPeriod, Get-AzEnrollmentAccount, Get-AzConsumptionBudget…}
Script     2.1.0                 Az.Cdn                              Core,Desk {Clear-AzCdnEndpointContent, Clear-AzFrontDoorCdnEndpointContent, Disable-AzCdnCustomDomainCustomHttps, Enable-AzCdnCustomDomainCustomHttps…}
Script     1.1.0                 Az.CloudService                     Core,Desk {Get-AzCloudService, Get-AzCloudServiceInstanceView, Get-AzCloudServiceNetworkInterface, Get-AzCloudServiceOSFamily…}
Script     1.12.0                Az.CognitiveServices                Core,Desk {Get-AzCognitiveServicesAccount, Get-AzCognitiveServicesAccountKey, Get-AzCognitiveServicesAccountSku, Get-AzCognitiveServicesAccountType…}
Script     5.4.0                 Az.Compute                          Core,Desk {Remove-AzAvailabilitySet, Get-AzAvailabilitySet, New-AzAvailabilitySet, Update-AzAvailabilitySet…}
Script     5.1.1                 Az.Compute                          Core,Desk {Remove-AzAvailabilitySet, Get-AzAvailabilitySet, New-AzAvailabilitySet, Update-AzAvailabilitySet…}
Script     1.0.0                 Az.ConfidentialLedger               Core,Desk {Get-AzConfidentialLedger, New-AzConfidentialLedger, New-AzConfidentialLedgerAADBasedSecurityPrincipalObject, New-AzConfidentialLedgerCertBasedSecurityPrincipalObject…}
Script     3.1.0                 Az.ContainerInstance                Core,Desk {Add-AzContainerInstanceOutput, Get-AzContainerGroup, Get-AzContainerInstanceCachedImage, Get-AzContainerInstanceCapability…}
Script     3.0.1                 Az.ContainerRegistry                Core,Desk {New-AzContainerRegistry, Get-AzContainerRegistry, Update-AzContainerRegistry, Remove-AzContainerRegistry…}
Script     3.0.0                 Az.ContainerRegistry                Core,Desk {New-AzContainerRegistry, Get-AzContainerRegistry, Update-AzContainerRegistry, Remove-AzContainerRegistry…}
Script     1.9.0                 Az.CosmosDB                         Core,Desk {Get-AzCosmosDBSqlContainer, Get-AzCosmosDBSqlContainerThroughput, Get-AzCosmosDBSqlDatabase, Get-AzCosmosDBSqlDatabaseThroughput…}
Script     1.8.2                 Az.CosmosDB                         Core,Desk {Get-AzCosmosDBSqlContainer, Get-AzCosmosDBSqlContainerThroughput, Get-AzCosmosDBSqlDatabase, Get-AzCosmosDBSqlDatabaseThroughput…}
Script     1.1.0                 Az.DataBoxEdge                      Core,Desk {Get-AzDataBoxEdgeJob, Get-AzDataBoxEdgeDevice, Invoke-AzDataBoxEdgeDevice, New-AzDataBoxEdgeDevice…}
Script     1.4.0                 Az.Databricks                       Core,Desk {Get-AzDatabricksAccessConnector, Get-AzDatabricksOutboundNetworkDependenciesEndpoint, Get-AzDatabricksVNetPeering, Get-AzDatabricksWorkspace…}
Script     1.16.12               Az.DataFactory                      Core,Desk {Set-AzDataFactoryV2, Update-AzDataFactoryV2, Get-AzDataFactoryV2, Remove-AzDataFactoryV2…}
Script     1.16.10               Az.DataFactory                      Core,Desk {Set-AzDataFactoryV2, Update-AzDataFactoryV2, Get-AzDataFactoryV2, Remove-AzDataFactoryV2…}
Script     1.0.2                 Az.DataLakeAnalytics                Core,Desk {Get-AzDataLakeAnalyticsDataSource, New-AzDataLakeAnalyticsCatalogCredential, Remove-AzDataLakeAnalyticsCatalogCredential, Set-AzDataLakeAnalyticsCatalogCredential…}
Script     1.3.0                 Az.DataLakeStore                    Core,Desk {Get-AzDataLakeStoreTrustedIdProvider, Remove-AzDataLakeStoreTrustedIdProvider, Remove-AzDataLakeStoreFirewallRule, Set-AzDataLakeStoreTrustedIdProvider…}
Script     1.1.0                 Az.DataProtection                   Core,Desk {Backup-AzDataProtectionBackupInstanceAdhoc, Edit-AzDataProtectionPolicyRetentionRuleClientObject, Edit-AzDataProtectionPolicyTagClientObject, Edit-AzDataProtectionPolicyTriggerClientObject…}
Script     1.0.0                 Az.DataProtection                   Core,Desk {Backup-AzDataProtectionBackupInstanceAdhoc, Edit-AzDataProtectionPolicyRetentionRuleClientObject, Edit-AzDataProtectionPolicyTagClientObject, Edit-AzDataProtectionPolicyTriggerClientObject…}
Script     1.0.1                 Az.DataShare                        Core,Desk {New-AzDataShareAccount, Get-AzDataShareAccount, Remove-AzDataShareAccount, New-AzDataShare…}
Script     1.1.0                 Az.DeploymentManager                Core,Desk {Get-AzDeploymentManagerArtifactSource, New-AzDeploymentManagerArtifactSource, Set-AzDeploymentManagerArtifactSource, Remove-AzDeploymentManagerArtifactSource…}
Script     3.1.1                 Az.DesktopVirtualization            Core,Desk {Disconnect-AzWvdUserSession, Expand-AzWvdMsixImage, Get-AzWvdApplication, Get-AzWvdApplicationGroup…}
Script     1.0.2                 Az.DevTestLabs                      Core,Desk {Get-AzDtlAllowedVMSizesPolicy, Get-AzDtlAutoShutdownPolicy, Get-AzDtlAutoStartPolicy, Get-AzDtlVMsPerLabPolicy…}
Script     1.1.2                 Az.Dns                              Core,Desk {Get-AzDnsRecordSet, New-AzDnsRecordConfig, Remove-AzDnsRecordSet, Set-AzDnsRecordSet…}
Script     1.5.0                 Az.EventGrid                        Core,Desk {New-AzEventGridTopic, Get-AzEventGridTopic, Set-AzEventGridTopic, New-AzEventGridTopicKey…}
Script     3.2.1                 Az.EventHub                         Core,Desk {New-AzEventHubNamespace, Get-AzEventHubNamespace, Set-AzEventHubNamespace, Remove-AzEventHubNamespace…}
Script     3.1.0                 Az.EventHub                         Core,Desk {New-AzEventHubNamespace, Get-AzEventHubNamespace, Set-AzEventHubNamespace, Remove-AzEventHubNamespace…}
Script     1.9.0                 Az.FrontDoor                        Core,Desk {New-AzFrontDoor, Get-AzFrontDoor, Set-AzFrontDoor, Remove-AzFrontDoor…}
Script     4.0.6                 Az.Functions                        Core,Desk {Get-AzFunctionApp, Get-AzFunctionAppAvailableLocation, Get-AzFunctionAppPlan, Get-AzFunctionAppSetting…}
Script     5.0.1                 Az.HDInsight                        Core,Desk {Get-AzHDInsightJob, New-AzHDInsightSqoopJobDefinition, Wait-AzHDInsightJob, New-AzHDInsightStreamingMapReduceJobDefinition…}
Script     2.0.0                 Az.HealthcareApis                   Core,Desk {Get-AzHealthcareApisService, Get-AzHealthcareApisWorkspace, Get-AzHealthcareDicomService, Get-AzHealthcareFhirDestination…}
Script     2.7.4                 Az.IotHub                           Core,Desk {Add-AzIotHubKey, Get-AzIotHubEventHubConsumerGroup, Get-AzIotHubConnectionString, Get-AzIotHubJob…}
Script     4.9.1                 Az.KeyVault                         Core,Desk {Add-AzKeyVaultCertificate, Update-AzKeyVaultCertificate, Stop-AzKeyVaultCertificateOperation, Get-AzKeyVaultCertificateOperation…}
Script     4.9.0                 Az.KeyVault                         Core,Desk {Add-AzKeyVaultCertificate, Update-AzKeyVaultCertificate, Stop-AzKeyVaultCertificateOperation, Get-AzKeyVaultCertificateOperation…}
Script     2.1.0                 Az.Kusto                            Core,Desk {Add-AzKustoClusterLanguageExtension, Add-AzKustoDatabasePrincipal, Get-AzKustoAttachedDatabaseConfiguration, Get-AzKustoCluster…}
Script     1.5.0                 Az.LogicApp                         Core,Desk {Get-AzIntegrationAccountAgreement, Get-AzIntegrationAccountAssembly, Get-AzIntegrationAccountBatchConfiguration, Get-AzIntegrationAccountCallbackUrl…}
Script     1.1.3                 Az.MachineLearning                  Core,Desk {Move-AzMlCommitmentAssociation, Get-AzMlCommitmentAssociation, Get-AzMlCommitmentPlanUsageHistory, Remove-AzMlCommitmentPlan…}
Script     1.2.1                 Az.Maintenance                      Core,Desk {Get-AzApplyUpdate, Get-AzConfigurationAssignment, Get-AzMaintenanceConfiguration, Get-AzMaintenanceUpdate…}
Script     1.1.0                 Az.ManagedServiceIdentity           Core,Desk {Get-AzFederatedIdentityCredentials, Get-AzSystemAssignedIdentity, Get-AzUserAssignedIdentity, Get-AzUserAssignedIdentityAssociatedResource…}
Script     3.0.0                 Az.ManagedServices                  Core,Desk {Get-AzManagedServicesAssignment, Get-AzManagedServicesDefinition, Get-AzManagedServicesMarketplaceDefinition, New-AzManagedServicesAssignment…}
Script     2.0.0                 Az.MarketplaceOrdering              Core,Desk {Get-AzMarketplaceTerms, Invoke-AzMarketplaceSignTerms, Set-AzMarketplaceTerms, Stop-AzMarketplaceTerms}
Script     1.1.1                 Az.Media                            Core,Desk {Sync-AzMediaServiceStorageKey, Set-AzMediaServiceKey, Get-AzMediaServiceKey, Get-AzMediaServiceNameAvailability…}
Script     2.1.0                 Az.Migrate                          Core,Desk {Get-AzMigrateDiscoveredServer, Get-AzMigrateJob, Get-AzMigrateProject, Get-AzMigrateReplicationFabric…}
Script     4.4.1                 Az.Monitor                          Core,Desk {Get-AzMetricDefinition, Get-AzMetric, Remove-AzLogProfile, Get-AzLogProfile…}
Script     4.2.1                 Az.Monitor                          Core,Desk {Get-AzMetricDefinition, Get-AzMetric, Remove-AzLogProfile, Get-AzLogProfile…}
Script     1.1.0                 Az.MySql                            Core,Desk {Get-AzMySqlConfiguration, Get-AzMySqlConnectionString, Get-AzMySqlFirewallRule, Get-AzMySqlFlexibleServer…}
Script     5.4.0                 Az.Network                          Core,Desk {Add-AzApplicationGatewayAuthenticationCertificate, Get-AzApplicationGatewayAuthenticationCertificate, New-AzApplicationGatewayAuthenticationCertificate, Remove-AzApplicationGatewayAuthenticationCert…
Script     5.1.2                 Az.Network                          Core,Desk {Add-AzApplicationGatewayAuthenticationCertificate, Get-AzApplicationGatewayAuthenticationCertificate, New-AzApplicationGatewayAuthenticationCertificate, Remove-AzApplicationGatewayAuthenticationCert…
Script     1.1.1                 Az.NotificationHubs                 Core,Desk {Get-AzNotificationHub, Get-AzNotificationHubAuthorizationRule, Get-AzNotificationHubListKey, Get-AzNotificationHubPNSCredential…}
Script     3.2.0                 Az.OperationalInsights              Core,Desk {New-AzOperationalInsightsAzureActivityLogDataSource, New-AzOperationalInsightsCustomLogDataSource, Disable-AzOperationalInsightsLinuxCustomLogCollection, Disable-AzOperationalInsightsIISLogCollectio…
Script     1.5.1                 Az.PolicyInsights                   Core,Desk {Get-AzPolicyEvent, Get-AzPolicyState, Get-AzPolicyStateSummary, Get-AzPolicyRemediation…}
Script     1.1.0                 Az.PostgreSql                       Core,Desk {Get-AzPostgreSqlConfiguration, Get-AzPostgreSqlConnectionString, Get-AzPostgreSqlFirewallRule, Get-AzPostgreSqlFlexibleServer…}
Script     1.2.0                 Az.PowerBIEmbedded                  Core,Desk {Remove-AzPowerBIWorkspaceCollection, Get-AzPowerBIWorkspaceCollection, Get-AzPowerBIWorkspaceCollectionAccessKey, Get-AzPowerBIWorkspace…}
Script     1.0.3                 Az.PrivateDns                       Core,Desk {Get-AzPrivateDnsZone, Remove-AzPrivateDnsZone, Set-AzPrivateDnsZone, New-AzPrivateDnsZone…}
Script     6.2.0                 Az.RecoveryServices                 Core,Desk {Get-AzRecoveryServicesBackupProperty, Get-AzRecoveryServicesVault, Get-AzRecoveryServicesVaultSettingsFile, New-AzRecoveryServicesVault…}
Script     6.1.1                 Az.RecoveryServices                 Core,Desk {Get-AzRecoveryServicesBackupProperty, Get-AzRecoveryServicesVault, Get-AzRecoveryServicesVaultSettingsFile, New-AzRecoveryServicesVault…}
Script     1.7.1                 Az.RedisCache                       Core,Desk {Remove-AzRedisCachePatchSchedule, New-AzRedisCacheScheduleEntry, Get-AzRedisCachePatchSchedule, New-AzRedisCachePatchSchedule…}
Script     1.6.0                 Az.RedisCache                       Core,Desk {Remove-AzRedisCachePatchSchedule, New-AzRedisCacheScheduleEntry, Get-AzRedisCachePatchSchedule, New-AzRedisCachePatchSchedule…}
Script     1.1.0                 Az.RedisEnterpriseCache             Core,Desk {Export-AzRedisEnterpriseCache, Get-AzRedisEnterpriseCache, Get-AzRedisEnterpriseCacheDatabase, Get-AzRedisEnterpriseCacheKey…}
Script     1.0.3                 Az.Relay                            Core,Desk {New-AzRelayNamespace, Get-AzRelayNamespace, Set-AzRelayNamespace, Remove-AzRelayNamespace…}
Script     1.1.0                 Az.ResourceMover                    Core,Desk {Add-AzResourceMoverMoveResource, Get-AzResourceMoverMoveCollection, Get-AzResourceMoverMoveResource, Get-AzResourceMoverRequiredForResources…}
Script     6.5.2                 Az.Resources                        Core,Desk {Get-AzProviderOperation, Remove-AzRoleAssignment, Get-AzRoleAssignment, New-AzRoleAssignment…}
Script     6.4.1                 Az.Resources                        Core,Desk {Get-AzProviderOperation, Remove-AzRoleAssignment, Get-AzRoleAssignment, New-AzRoleAssignment…}
Script     1.3.0                 Az.Security                         Core,Desk {Get-AzSecuritySolution, Get-AzSecuritySolutionsReferenceData, New-AzAlertsSuppressionRuleScope, Get-AzAlertsSuppressionRule…}
Script     3.0.1                 Az.SecurityInsights                 Core,Desk {Get-AzSentinelAlertRule, Get-AzSentinelAlertRuleAction, Get-AzSentinelAlertRuleTemplate, Get-AzSentinelAutomationRule…}
Script     3.0.0                 Az.SecurityInsights                 Core,Desk {Get-AzSentinelAlertRule, Get-AzSentinelAlertRuleAction, Get-AzSentinelAlertRuleTemplate, Get-AzSentinelAutomationRule…}
Script     2.1.0                 Az.ServiceBus                       Core,Desk {New-AzServiceBusNamespace, Get-AzServiceBusNamespace, Set-AzServiceBusNamespace, Remove-AzServiceBusNamespace…}
Script     2.0.0                 Az.ServiceBus                       Core,Desk {New-AzServiceBusNamespace, Get-AzServiceBusNamespace, Set-AzServiceBusNamespace, Remove-AzServiceBusNamespace…}
Script     3.1.0                 Az.ServiceFabric                    Core,Desk {Add-AzServiceFabricClientCertificate, Add-AzServiceFabricNode, Add-AzServiceFabricNodeType, Get-AzServiceFabricCluster…}
Script     1.5.0                 Az.SignalR                          Core,Desk {New-AzSignalR, Get-AzSignalR, Get-AzSignalRKey, New-AzSignalRKey…}
Script     1.4.1                 Az.SignalR                          Core,Desk {New-AzSignalR, Get-AzSignalR, Get-AzSignalRKey, New-AzSignalRKey…}
Script     4.3.0                 Az.Sql                              Core,Desk {Get-AzSqlDatabaseTransparentDataEncryption, Get-AzSqlDatabaseTransparentDataEncryptionActivity, Set-AzSqlDatabaseTransparentDataEncryption, Get-AzSqlDatabaseUpgradeHint…}
Script     4.1.0                 Az.Sql                              Core,Desk {Get-AzSqlDatabaseTransparentDataEncryption, Get-AzSqlDatabaseTransparentDataEncryptionActivity, Set-AzSqlDatabaseTransparentDataEncryption, Get-AzSqlDatabaseUpgradeHint…}
Script     1.1.0                 Az.SqlVirtualMachine                Core,Desk {New-AzSqlVM, Get-AzSqlVM, Update-AzSqlVM, Remove-AzSqlVM…}
Script     1.4.2                 Az.StackHCI                         Core,Desk {Add-AzStackHCIVMAttestation, Disable-AzStackHCIAttestation, Disable-AzStackHCIRemoteSupport, Enable-AzStackHCIAttestation…}
Script     1.3.2                 Az.StackHCI                         Core,Desk {Add-AzStackHCIVMAttestation, Disable-AzStackHCIAttestation, Disable-AzStackHCIRemoteSupport, Enable-AzStackHCIAttestation…}
Script     5.4.0                 Az.Storage                          Core,Desk {Get-AzStorageAccount, Get-AzStorageAccountKey, New-AzStorageAccount, New-AzStorageAccountKey…}
Script     5.1.0                 Az.Storage                          Core,Desk {Get-AzStorageAccount, Get-AzStorageAccountKey, New-AzStorageAccount, New-AzStorageAccountKey…}
Script     1.7.0                 Az.StorageSync                      Core,Desk {Invoke-AzStorageSyncCompatibilityCheck, New-AzStorageSyncService, Get-AzStorageSyncService, Set-AzStorageSyncService…}
Script     2.0.0                 Az.StreamAnalytics                  Core,Desk {Get-AzStreamAnalyticsCluster, Get-AzStreamAnalyticsClusterStreamingJob, Get-AzStreamAnalyticsDefaultFunctionDefinition, Get-AzStreamAnalyticsFunction…}
Script     1.0.0                 Az.Support                          Core,Desk {Get-AzSupportService, Get-AzSupportProblemClassification, Get-AzSupportTicket, Get-AzSupportTicketCommunication…}
Script     2.2.0                 Az.Synapse                          Core,Desk {Get-AzSynapseSparkJob, Stop-AzSynapseSparkJob, Submit-AzSynapseSparkJob, Wait-AzSynapseSparkJob…}
Script     2.0.0                 Az.Synapse                          Core,Desk {Get-AzSynapseSparkJob, Stop-AzSynapseSparkJob, Submit-AzSynapseSparkJob, Wait-AzSynapseSparkJob…}
Script     1.0.2                 Az.Tools.Predictor                  Core      {Enable-AzPredictor, Disable-AzPredictor, Open-AzPredictorSurvey, Send-AzPredictorRating}
Script     1.2.0                 Az.TrafficManager                   Core,Desk {Add-AzTrafficManagerCustomHeaderToEndpoint, Remove-AzTrafficManagerCustomHeaderFromEndpoint, Add-AzTrafficManagerCustomHeaderToProfile, Remove-AzTrafficManagerCustomHeaderFromProfile…}
Script     1.1.0                 Az.TrafficManager                   Core,Desk {Add-AzTrafficManagerCustomHeaderToEndpoint, Remove-AzTrafficManagerCustomHeaderFromEndpoint, Add-AzTrafficManagerCustomHeaderToProfile, Remove-AzTrafficManagerCustomHeaderFromProfile…}
Script     2.12.1                Az.Websites                         Core,Desk {Get-AzAppServicePlan, Set-AzAppServicePlan, New-AzAppServicePlan, Remove-AzAppServicePlan…}
Script     2.11.5                Az.Websites                         Core,Desk {Get-AzAppServicePlan, Set-AzAppServicePlan, New-AzAppServicePlan, Remove-AzAppServicePlan…}
Script     3.62.1     beta       oh-my-posh                          Desk      {Get-PoshThemes, Set-PoshPrompt, Write-PoshTheme, Set-PoshContext}
Script     2.0.325               oh-my-posh                          Desk      {Show-Colors, Show-ThemeColors, Show-ThemeSymbols, Get-Theme…}
Script     0.7.3                 posh-git                            Desk      {Invoke-NullCoalescing, Add-PoshGitToProfile, Get-PromptPath, Write-GitStatus…}
Script     2.2.4.1               PowerShellGet                       Desk      {Find-Command, Find-DSCResource, Find-Module, Find-RoleCapability…}
Script     2.2.6                 PSReadLine                          Desk      {Get-PSReadLineKeyHandler, Set-PSReadLineKeyHandler, Remove-PSReadLineKeyHandler, Get-PSReadLineOption…}
Script     0.3.1                 Terminal-Icons                      Desk      {Add-TerminalIconsColorTheme, Add-TerminalIconsIconTheme, Format-TerminalIcons, Get-TerminalIconsColorTheme…}

Error output

Message        : The operation failed because resource is in the: 'Failed' state. Please check the logs for more details.
StackTrace     :    at Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.ResourceManagerCmdletBase.HandleException(ExceptionDispatchInfo capturedException)
                    at Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.ResourceManagerCmdletBase.ExecuteCmdlet()
                    at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.ProcessRecord()
Exception      : System.InvalidOperationException
InvocationInfo : {New-AzManagedApplication}
Line           : New-AzManagedApplication -Name sozewahtestapp -Kind ServiceCatalog -ResourceGroupName soze-wahtest-arg -Location australiaeast -ManagedApplicationDefinitionId
                 /subscriptions/redacted/resourceGroups/soze-serviceconfig-rg/providers/Microsoft.Solutions/applicationDefinitions/soze-scdef -ManagedResourceGroupName soze-wahtest-mrg
Position       : At line:1 char:1
                 + New-AzManagedApplication -Name sozewahtestapp -Kind ServiceCatalog -R …
                 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId      : 45
isra-fel commented 1 year ago

Hi @wahyuen thanks for reporting. I noticed that the "operation status could not be de-serialized" error you mentioned did not show up in the debug output. Instead, the debug output was about "The operation failed because resource is in the: 'Failed' state.". Were they two different issues with different reproduce steps? If so, could you share the reproduce steps and debug log of the "could not be de-serialized" error?

wahyuen commented 1 year ago

@isra-fel I'm not entirely sure why it doesn't show up in the debug log. This is what we get as output when debug log is NOT turned on. These are not separate issues from our perspective, we just ran the same command with debug output turned on

image

davidsmatlak commented 1 year ago

@isra-fel I mentioned this error to the Managed Applications product team and they will also review this issue.

I verified the same error when I deployed a managed application with the -Debug parameter. The command returned the error New-AzManagedApplication: The operation failed because the operation status could not be de-serialized in the debug log and on the command line. The managed application's deployment appeared to be successful. There were no resources that showed being in a failed state and I didn't find any deployment errors in the Azure Activity Logs.

Version    Name
-------    ----
6.5.1      Az.Resources
9.3.0      Az

Name       Value
----       -----
PSVersion  7.3.3
wahyuen commented 1 year ago

Noting this is still broken in v9.5.0

isra-fel commented 1 year ago

Anyone can share the full debug log? I cannot reproduce the could not be de-serialized issue.

wahyuen commented 1 year ago

Rerun today on v9.5.0, sensitive information sanitised

❯ New-AzManagedApplication -Name sozewahtestapp -Kind ServiceCatalog -ResourceGroupName soze-wahtest-arg -Location australiaeast -ManagedApplicationDefinitionId /subscriptions/sanitised/resourceGroups/soze-serviceconfig-rg/providers/Microsoft.Solutions/applicationDefinitions/soze-scdef -ManagedResourceGroupName soze-wahtest-mrg
DEBUG: 1:02:52 PM - NewAzureManagedApplicationCmdlet begin processing with ParameterSet '__AllParameterSets'.
DEBUG: 1:02:52 PM - using account id 'sanitised'...
DEBUG: 1:02:52 PM - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: [Common.Authentication]: Authenticating using Account: 'sanitised', environment: 'AzureCloud', tenant: '11c4bafa-00bb-43f4-a42d-ed6f2663fbaf'
DEBUG: 1:02:52 PM - [ConfigManager] Got [True] from [EnableLoginByWam], Module = [], Cmdlet = [].
DEBUG: 1:02:52 PM - [SilentAuthenticator] Calling SharedTokenCacheCredential.GetTokenAsync - TenantId:'11c4bafa-00bb-43f4-a42d-ed6f2663fbaf', Scopes:'https://management.core.windows.net//.default', AuthorityHost:'https://login.microsoftonline.com/', UserId:'sanitised'
DEBUG: SharedTokenCacheCredential.GetToken invoked. Scopes: [ https://management.core.windows.net//.default ] ParentRequestId:
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:52Z - 4e7d6329-511c-4ed8-ae81-248561520d67] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:52Z - 4e7d6329-511c-4ed8-ae81-248561520d67] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:52Z - 4e7d6329-511c-4ed8-ae81-248561520d67] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:52Z - 4e7d6329-511c-4ed8-ae81-248561520d67] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:52Z - 4e7d6329-511c-4ed8-ae81-248561520d67] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:52Z] [WamBroker] WAM supported OS.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:52Z] [WamBroker] ListWindowsWorkAndSchoolAccounts option was not enabled.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:52Z - ce987109-7408-4571-aec4-8329e0118f8d] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:52Z] Found 1 cache accounts and 0 broker accounts
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:52Z] Returning 1 accounts
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:52Z - 0d8b7648-2d1c-4fee-8812-5a24b0328c75] MSAL MSAL.NetCore with assembly version '4.49.1.0'. CorrelationId(0d8b7648-2d1c-4fee-8812-5a24b0328c75)
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:52Z - 0d8b7648-2d1c-4fee-8812-5a24b0328c75] === AcquireTokenSilent Parameters ===
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:52Z - 0d8b7648-2d1c-4fee-8812-5a24b0328c75] LoginHint provided: False
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:52Z - 0d8b7648-2d1c-4fee-8812-5a24b0328c75] Account provided: True
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:52Z - 0d8b7648-2d1c-4fee-8812-5a24b0328c75] ForceRefresh: False
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:52Z - 0d8b7648-2d1c-4fee-8812-5a24b0328c75]
=== 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 - True
HomeAccountId - False
CorrelationId - 0d8b7648-2d1c-4fee-8812-5a24b0328c75
UserAssertion set: False
LongRunningOboCacheKey set: False
Region configured:

DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:52Z - 0d8b7648-2d1c-4fee-8812-5a24b0328c75] === Token Acquisition (SilentRequest) started:
         Scopes: https://management.core.windows.net//.default
        Authority Host: login.microsoftonline.com
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:52Z - 0d8b7648-2d1c-4fee-8812-5a24b0328c75] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:52Z - 0d8b7648-2d1c-4fee-8812-5a24b0328c75] Access token is not expired. Returning the found cache entry. [Current time (03/20/2023 05:02:52) - Expiration Time (03/20/2023 05:34:54 +00:00) - Extended Expiration Time (03/20/2023 04:14:03 +00:00)]
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:52Z - 0d8b7648-2d1c-4fee-8812-5a24b0328c75] Returning access token found in cache. RefreshOn exists ? False
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:52Z - 0d8b7648-2d1c-4fee-8812-5a24b0328c75] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:52Z - 0d8b7648-2d1c-4fee-8812-5a24b0328c75]
        === Token Acquisition finished successfully:
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:52Z - 0d8b7648-2d1c-4fee-8812-5a24b0328c75]  AT expiration time: 20/03/2023 5:34:54 AM +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: 2023-03-20T05:34:54.0000000+00:00
DEBUG: [Common.Authentication]: Received token with LoginType 'User', Tenant: '11c4bafa-00bb-43f4-a42d-ed6f2663fbaf', UserId: 'sanitised'
DEBUG: ============================ HTTP REQUEST ============================

HTTP Method:
PUT

Absolute Uri:
https://management.azure.com/subscriptions/sanitised/resourcegroups/soze-wahtest-arg/providers/Microsoft.Solutions/applications/sozewahtestapp?api-version=2017-09-01

Headers:
User-Agent                    : PSVersion/v7.3.3,AzurePowershell/v9.5.0,Az.Resources/6.5.3
ParameterSetName              : __AllParameterSets
CommandName                   : New-AzManagedApplication

Body:
{
  "name": "sozewahtestapp",
  "location": "australiaeast",
  "properties": {
    "managedResourceGroupId": "/subscriptions/sanitised/resourcegroups/soze-wahtest-mrg",
    "applicationDefinitionId": "/subscriptions/sanitised/resourceGroups/soze-serviceconfig-rg/providers/Microsoft.Solutions/applicationDefinitions/soze-scdef"
  },
  "kind": "ServiceCatalog"
}

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

Status Code:
Created

Headers:
Cache-Control                 : no-cache
Pragma                        : no-cache
ETag                          : "22022ac4-0000-1b00-0000-6417e9030000"
x-ms-ratelimit-remaining-subscription-writes: 1199
x-ms-providerhub-traffic      : True
mise-correlation-id           : 914e33bb-1fed-4a4d-a515-5f0b6768d93e
x-ms-request-id               : 0bf8a1c6-02ca-4945-88b1-a3066bc8ba50
x-ms-client-request-id        : 263b7f68-9cd3-4500-9fd2-0da45be43b5b
Azure-AsyncOperation          : https://management.azure.com/subscriptions/sanitised/providers/Microsoft.Solutions/locations/AUSTRALIAEAST/operationStatuses/5be76d27-9e10-4fd7-a262-a8d43e93ae2d*549261CFD619DD855786B889300461C8CC26392E748AE12A5B2910DE2274B989?api-version=2017-09-01
x-ms-correlation-request-id   : 3746b76e-1a32-4cba-b3d6-c2e25291a350
x-ms-routing-request-id       : AUSTRALIASOUTHEAST:20230320T050259Z:3746b76e-1a32-4cba-b3d6-c2e25291a350
Strict-Transport-Security     : max-age=31536000; includeSubDomains
X-Content-Type-Options        : nosniff
Date                          : Mon, 20 Mar 2023 05:02:59 GMT

Body:
{
  "id": "/subscriptions/sanitised/resourceGroups/soze-wahtest-arg/providers/Microsoft.Solutions/applications/sozewahtestapp",
  "name": "sozewahtestapp",
  "type": "microsoft.solutions/applications",
  "kind": "ServiceCatalog",
  "location": "australiaeast",
  "etag": "\"2202c5ba-0000-1b00-0000-6417de260000\"",
  "systemData": {
    "createdBy": "hong.wahyuen@modis.com",
    "createdByType": "User",
    "createdAt": "2023-03-17T02:09:10.4045195Z",
    "lastModifiedBy": "hong.wahyuen@modis.com",
    "lastModifiedByType": "User",
    "lastModifiedAt": "2023-03-20T05:02:53.3917561Z"
  },
  "properties": {
    "managedResourceGroupId": "/subscriptions/sanitised/resourcegroups/soze-wahtest-mrg",
    "applicationDefinitionId": "/subscriptions/sanitised/resourceGroups/soze-serviceconfig-rg/providers/Microsoft.Solutions/applicationDefinitions/soze-scdef",
    "publisherPackageId": "/subscriptions/sanitised/resourceGroups/soze-serviceconfig-rg/providers/Microsoft.Solutions/applicationDefinitions/soze-scdef",
    "provisioningState": "Accepted"
  }
}

DEBUG: [Common.Authentication]: Authenticating using Account: 'sanitised', environment: 'AzureCloud', tenant: '11c4bafa-00bb-43f4-a42d-ed6f2663fbaf'
DEBUG: 1:02:59 PM - [ConfigManager] Got [True] from [EnableLoginByWam], Module = [], Cmdlet = [].
DEBUG: 1:02:59 PM - [SilentAuthenticator] Calling SharedTokenCacheCredential.GetTokenAsync - TenantId:'11c4bafa-00bb-43f4-a42d-ed6f2663fbaf', Scopes:'https://management.core.windows.net//.default', AuthorityHost:'https://login.microsoftonline.com/', UserId:'sanitised'
DEBUG: SharedTokenCacheCredential.GetToken invoked. Scopes: [ https://management.core.windows.net//.default ] ParentRequestId:
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - dec1a393-82b1-4a86-bd5f-fe8e7294e380] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - dec1a393-82b1-4a86-bd5f-fe8e7294e380] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - dec1a393-82b1-4a86-bd5f-fe8e7294e380] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - dec1a393-82b1-4a86-bd5f-fe8e7294e380] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - dec1a393-82b1-4a86-bd5f-fe8e7294e380] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z] [WamBroker] WAM supported OS.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z] [WamBroker] ListWindowsWorkAndSchoolAccounts option was not enabled.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - 592b0bbc-e4ea-446a-a69e-5004ed04d91a] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z] Found 1 cache accounts and 0 broker accounts
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z] Returning 1 accounts
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - 0001daf0-77c6-40c1-8a43-c15df7f9696b] MSAL MSAL.NetCore with assembly version '4.49.1.0'. CorrelationId(0001daf0-77c6-40c1-8a43-c15df7f9696b)
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - 0001daf0-77c6-40c1-8a43-c15df7f9696b] === AcquireTokenSilent Parameters ===
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - 0001daf0-77c6-40c1-8a43-c15df7f9696b] LoginHint provided: False
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - 0001daf0-77c6-40c1-8a43-c15df7f9696b] Account provided: True
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - 0001daf0-77c6-40c1-8a43-c15df7f9696b] ForceRefresh: False
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - 0001daf0-77c6-40c1-8a43-c15df7f9696b]
=== 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 - True
HomeAccountId - False
CorrelationId - 0001daf0-77c6-40c1-8a43-c15df7f9696b
UserAssertion set: False
LongRunningOboCacheKey set: False
Region configured:

DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - 0001daf0-77c6-40c1-8a43-c15df7f9696b] === Token Acquisition (SilentRequest) started:
         Scopes: https://management.core.windows.net//.default
        Authority Host: login.microsoftonline.com
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - 0001daf0-77c6-40c1-8a43-c15df7f9696b] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - 0001daf0-77c6-40c1-8a43-c15df7f9696b] Access token is not expired. Returning the found cache entry. [Current time (03/20/2023 05:02:59) - Expiration Time (03/20/2023 05:34:54 +00:00) - Extended Expiration Time (03/20/2023 04:14:03 +00:00)]
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - 0001daf0-77c6-40c1-8a43-c15df7f9696b] Returning access token found in cache. RefreshOn exists ? False
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - 0001daf0-77c6-40c1-8a43-c15df7f9696b] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - 0001daf0-77c6-40c1-8a43-c15df7f9696b]
        === Token Acquisition finished successfully:
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - 0001daf0-77c6-40c1-8a43-c15df7f9696b]  AT expiration time: 20/03/2023 5:34:54 AM +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: 2023-03-20T05:34:54.0000000+00:00
DEBUG: [Common.Authentication]: Received token with LoginType 'User', Tenant: '11c4bafa-00bb-43f4-a42d-ed6f2663fbaf', UserId: 'sanitised'
DEBUG: [Common.Authentication]: Authenticating using Account: 'sanitised', environment: 'AzureCloud', tenant: '11c4bafa-00bb-43f4-a42d-ed6f2663fbaf'
DEBUG: 1:02:59 PM - [ConfigManager] Got [True] from [EnableLoginByWam], Module = [], Cmdlet = [].
DEBUG: 1:02:59 PM - [SilentAuthenticator] Calling SharedTokenCacheCredential.GetTokenAsync - TenantId:'11c4bafa-00bb-43f4-a42d-ed6f2663fbaf', Scopes:'https://management.core.windows.net//.default', AuthorityHost:'https://login.microsoftonline.com/', UserId:'sanitised'
DEBUG: SharedTokenCacheCredential.GetToken invoked. Scopes: [ https://management.core.windows.net//.default ] ParentRequestId:
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - 41b15c7a-95a4-41d7-84d5-29c9de18e3f9] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - 41b15c7a-95a4-41d7-84d5-29c9de18e3f9] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - 41b15c7a-95a4-41d7-84d5-29c9de18e3f9] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - 41b15c7a-95a4-41d7-84d5-29c9de18e3f9] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - 41b15c7a-95a4-41d7-84d5-29c9de18e3f9] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z] [WamBroker] WAM supported OS.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z] [WamBroker] ListWindowsWorkAndSchoolAccounts option was not enabled.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - 98b46fb7-2274-41c7-8752-5b3d1cc79202] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z] Found 1 cache accounts and 0 broker accounts
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z] Returning 1 accounts
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - 4a861142-6d3e-44af-93dc-e1769eb1758b] MSAL MSAL.NetCore with assembly version '4.49.1.0'. CorrelationId(4a861142-6d3e-44af-93dc-e1769eb1758b)
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - 4a861142-6d3e-44af-93dc-e1769eb1758b] === AcquireTokenSilent Parameters ===
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - 4a861142-6d3e-44af-93dc-e1769eb1758b] LoginHint provided: False
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - 4a861142-6d3e-44af-93dc-e1769eb1758b] Account provided: True
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - 4a861142-6d3e-44af-93dc-e1769eb1758b] ForceRefresh: False
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - 4a861142-6d3e-44af-93dc-e1769eb1758b]
=== 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 - True
HomeAccountId - False
CorrelationId - 4a861142-6d3e-44af-93dc-e1769eb1758b
UserAssertion set: False
LongRunningOboCacheKey set: False
Region configured:

DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - 4a861142-6d3e-44af-93dc-e1769eb1758b] === Token Acquisition (SilentRequest) started:
         Scopes: https://management.core.windows.net//.default
        Authority Host: login.microsoftonline.com
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - 4a861142-6d3e-44af-93dc-e1769eb1758b] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - 4a861142-6d3e-44af-93dc-e1769eb1758b] Access token is not expired. Returning the found cache entry. [Current time (03/20/2023 05:02:59) - Expiration Time (03/20/2023 05:34:54 +00:00) - Extended Expiration Time (03/20/2023 04:14:03 +00:00)]
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - 4a861142-6d3e-44af-93dc-e1769eb1758b] Returning access token found in cache. RefreshOn exists ? False
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - 4a861142-6d3e-44af-93dc-e1769eb1758b] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - 4a861142-6d3e-44af-93dc-e1769eb1758b]
        === Token Acquisition finished successfully:
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:02:59Z - 4a861142-6d3e-44af-93dc-e1769eb1758b]  AT expiration time: 20/03/2023 5:34:54 AM +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: 2023-03-20T05:34:54.0000000+00:00
DEBUG: [Common.Authentication]: Received token with LoginType 'User', Tenant: '11c4bafa-00bb-43f4-a42d-ed6f2663fbaf', UserId: 'sanitised'
DEBUG: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.azure.com/subscriptions/sanitised/providers/Microsoft.Solutions/locations/AUSTRALIAEAST/operationStatuses/5be76d27-9e10-4fd7-a262-a8d43e93ae2d*549261CFD619DD855786B889300461C8CC26392E748AE12A5B2910DE2274B989?api-version=2017-09-01
Headers:
User-Agent                    : PSVersion/v7.3.3,AzurePowershell/v9.5.0,Az.Resources/6.5.3
ParameterSetName              : __AllParameterSets
CommandName                   : New-AzManagedApplication

Body:

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

Status Code:
OK

Headers:
Cache-Control                 : no-cache
Pragma                        : no-cache
ETag                          : "1c00e6fb-0000-1b00-0000-6417e9010000"
x-ms-ratelimit-remaining-subscription-reads: 11996
x-ms-request-id               : 062cabe7-eada-47c2-82ad-edb060924097
x-ms-correlation-request-id   : 30d999b2-85a2-4d1e-be13-ca5229868d44
x-ms-routing-request-id       : AUSTRALIASOUTHEAST:20230320T050300Z:30d999b2-85a2-4d1e-be13-ca5229868d44
Strict-Transport-Security     : max-age=31536000; includeSubDomains
X-Content-Type-Options        : nosniff
Date                          : Mon, 20 Mar 2023 05:02:59 GMT

Body:
{
  "id": "/subscriptions/sanitised/providers/Microsoft.Solutions/locations/AUSTRALIAEAST/operationStatuses/5be76d27-9e10-4fd7-a262-a8d43e93ae2d*549261CFD619DD855786B889300461C8CC26392E748AE12A5B2910DE2274B989",
  "name": "5be76d27-9e10-4fd7-a262-a8d43e93ae2d*549261CFD619DD855786B889300461C8CC26392E748AE12A5B2910DE2274B989",
  "resourceId": "/subscriptions/sanitised/resourceGroups/soze-wahtest-arg/providers/Microsoft.Solutions/applications/sozewahtestapp",
  "status": "Accepted",
  "startTime": "2023-03-20T05:02:56.7891367Z"
}

DEBUG: [Common.Authentication]: Authenticating using Account: 'sanitised', environment: 'AzureCloud', tenant: '11c4bafa-00bb-43f4-a42d-ed6f2663fbaf'
DEBUG: 1:03:00 PM - [ConfigManager] Got [True] from [EnableLoginByWam], Module = [], Cmdlet = [].
DEBUG: 1:03:00 PM - [SilentAuthenticator] Calling SharedTokenCacheCredential.GetTokenAsync - TenantId:'11c4bafa-00bb-43f4-a42d-ed6f2663fbaf', Scopes:'https://management.core.windows.net//.default', AuthorityHost:'https://login.microsoftonline.com/', UserId:'sanitised'
DEBUG: SharedTokenCacheCredential.GetToken invoked. Scopes: [ https://management.core.windows.net//.default ] ParentRequestId:
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:03:00Z - 31bf89dc-2fa1-4f98-8a1c-3fa663593431] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:03:00Z - 31bf89dc-2fa1-4f98-8a1c-3fa663593431] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:03:00Z - 31bf89dc-2fa1-4f98-8a1c-3fa663593431] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:03:00Z - 31bf89dc-2fa1-4f98-8a1c-3fa663593431] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:03:00Z - 31bf89dc-2fa1-4f98-8a1c-3fa663593431] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:03:00Z] [WamBroker] WAM supported OS.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:03:00Z] [WamBroker] ListWindowsWorkAndSchoolAccounts option was not enabled.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:03:00Z - 8b5a7fab-f0f9-4fd0-87a5-ded086c880d5] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:03:00Z] Found 1 cache accounts and 0 broker accounts
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:03:00Z] Returning 1 accounts
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:03:00Z - 854f14eb-9b93-4c3c-a802-714c29b5da03] MSAL MSAL.NetCore with assembly version '4.49.1.0'. CorrelationId(854f14eb-9b93-4c3c-a802-714c29b5da03)
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:03:00Z - 854f14eb-9b93-4c3c-a802-714c29b5da03] === AcquireTokenSilent Parameters ===
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:03:00Z - 854f14eb-9b93-4c3c-a802-714c29b5da03] LoginHint provided: False
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:03:00Z - 854f14eb-9b93-4c3c-a802-714c29b5da03] Account provided: True
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:03:00Z - 854f14eb-9b93-4c3c-a802-714c29b5da03] ForceRefresh: False
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:03:00Z - 854f14eb-9b93-4c3c-a802-714c29b5da03]
=== 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 - True
HomeAccountId - False
CorrelationId - 854f14eb-9b93-4c3c-a802-714c29b5da03
UserAssertion set: False
LongRunningOboCacheKey set: False
Region configured:

DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:03:00Z - 854f14eb-9b93-4c3c-a802-714c29b5da03] === Token Acquisition (SilentRequest) started:
         Scopes: https://management.core.windows.net//.default
        Authority Host: login.microsoftonline.com
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:03:00Z - 854f14eb-9b93-4c3c-a802-714c29b5da03] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:03:00Z - 854f14eb-9b93-4c3c-a802-714c29b5da03] Access token is not expired. Returning the found cache entry. [Current time (03/20/2023 05:03:00) - Expiration Time (03/20/2023 05:34:54 +00:00) - Extended Expiration Time (03/20/2023 04:14:03 +00:00)]
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:03:00Z - 854f14eb-9b93-4c3c-a802-714c29b5da03] Returning access token found in cache. RefreshOn exists ? False
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:03:00Z - 854f14eb-9b93-4c3c-a802-714c29b5da03] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:03:00Z - 854f14eb-9b93-4c3c-a802-714c29b5da03]
        === Token Acquisition finished successfully:
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:03:00Z - 854f14eb-9b93-4c3c-a802-714c29b5da03]  AT expiration time: 20/03/2023 5:34:54 AM +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: 2023-03-20T05:34:54.0000000+00:00
DEBUG: [Common.Authentication]: Received token with LoginType 'User', Tenant: '11c4bafa-00bb-43f4-a42d-ed6f2663fbaf', UserId: 'sanitised'
DEBUG: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.azure.com/subscriptions/sanitised/resourcegroups/soze-wahtest-arg/providers/Microsoft.Solutions/applications/sozewahtestapp?api-version=2017-09-01

Headers:
User-Agent                    : PSVersion/v7.3.3,AzurePowershell/v9.5.0,Az.Resources/6.5.3
ParameterSetName              : __AllParameterSets
CommandName                   : New-AzManagedApplication

Body:

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

Status Code:
OK

Headers:
Cache-Control                 : no-cache
Pragma                        : no-cache
ETag                          : "22022ac4-0000-1b00-0000-6417e9030000"
x-ms-ratelimit-remaining-subscription-resource-requests: 59999
x-ms-providerhub-traffic      : True
mise-correlation-id           : e8f31830-d542-4e6b-955f-57ef48adeb75
x-ms-request-id               : 646d812f-1355-4834-958c-b4e85448a9a1
x-ms-client-request-id        : f2e4b377-0a6b-41c2-946e-ed799b80e1d7
x-ms-correlation-request-id   : 0bc20188-b641-48a7-8afc-6dbf52f39bf4
x-ms-routing-request-id       : AUSTRALIASOUTHEAST:20230320T050304Z:0bc20188-b641-48a7-8afc-6dbf52f39bf4
Strict-Transport-Security     : max-age=31536000; includeSubDomains
X-Content-Type-Options        : nosniff
Date                          : Mon, 20 Mar 2023 05:03:04 GMT

Body:
{
  "id": "/subscriptions/sanitised/resourceGroups/soze-wahtest-arg/providers/Microsoft.Solutions/applications/sozewahtestapp",
  "name": "sozewahtestapp",
  "type": "Microsoft.Solutions/applications",
  "kind": "ServiceCatalog",
  "location": "australiaeast",
  "etag": "\"22022ac4-0000-1b00-0000-6417e9030000\"",
  "properties": {
    "managedResourceGroupId": "/subscriptions/sanitised/resourcegroups/soze-wahtest-mrg",
    "applicationDefinitionId": "/subscriptions/sanitised/resourceGroups/soze-serviceconfig-rg/providers/Microsoft.Solutions/applicationDefinitions/soze-scdef",
    "publisherPackageId": "/subscriptions/sanitised/resourceGroups/soze-serviceconfig-rg/providers/Microsoft.Solutions/applicationDefinitions/soze-scdef",
    "provisioningState": "Accepted",
    "authorizations": [
      {
        "principalId": "34abc34a-48e0-4b68-b1d4-b2a5b7eed769",
        "roleDefinitionId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635"
      },
      {
        "principalId": "887744d9-e64a-4269-b659-444026834a5e",
        "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c"
      },
      {
        "principalId": "b785e266-8dea-45bc-8811-f7573b895aa8",
        "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c"
      }
    ]
  }
}

DEBUG: [Common.Authentication]: Authenticating using Account: 'sanitised', environment: 'AzureCloud', tenant: '11c4bafa-00bb-43f4-a42d-ed6f2663fbaf'
DEBUG: 1:04:04 PM - [ConfigManager] Got [True] from [EnableLoginByWam], Module = [], Cmdlet = [].
DEBUG: 1:04:04 PM - [SilentAuthenticator] Calling SharedTokenCacheCredential.GetTokenAsync - TenantId:'11c4bafa-00bb-43f4-a42d-ed6f2663fbaf', Scopes:'https://management.core.windows.net//.default', AuthorityHost:'https://login.microsoftonline.com/', UserId:'sanitised'
DEBUG: SharedTokenCacheCredential.GetToken invoked. Scopes: [ https://management.core.windows.net//.default ] ParentRequestId:
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:04:04Z - 2dd805af-0f68-4db2-9fcb-1571441082a9] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:04:04Z - 2dd805af-0f68-4db2-9fcb-1571441082a9] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:04:04Z - 2dd805af-0f68-4db2-9fcb-1571441082a9] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:04:04Z - 2dd805af-0f68-4db2-9fcb-1571441082a9] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:04:04Z - 2dd805af-0f68-4db2-9fcb-1571441082a9] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:04:04Z] [WamBroker] WAM supported OS.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:04:04Z] [WamBroker] ListWindowsWorkAndSchoolAccounts option was not enabled.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:04:04Z - bb4e37aa-59eb-475b-85bc-882cabbd0838] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:04:04Z] Found 1 cache accounts and 0 broker accounts
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:04:04Z] Returning 1 accounts
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:04:04Z - c211d8ae-7543-47e0-8145-8e73419d9a38] MSAL MSAL.NetCore with assembly version '4.49.1.0'. CorrelationId(c211d8ae-7543-47e0-8145-8e73419d9a38)
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:04:04Z - c211d8ae-7543-47e0-8145-8e73419d9a38] === AcquireTokenSilent Parameters ===
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:04:04Z - c211d8ae-7543-47e0-8145-8e73419d9a38] LoginHint provided: False
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:04:04Z - c211d8ae-7543-47e0-8145-8e73419d9a38] Account provided: True
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:04:04Z - c211d8ae-7543-47e0-8145-8e73419d9a38] ForceRefresh: False
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:04:04Z - c211d8ae-7543-47e0-8145-8e73419d9a38]
=== 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 - True
HomeAccountId - False
CorrelationId - c211d8ae-7543-47e0-8145-8e73419d9a38
UserAssertion set: False
LongRunningOboCacheKey set: False
Region configured:

DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:04:04Z - c211d8ae-7543-47e0-8145-8e73419d9a38] === Token Acquisition (SilentRequest) started:
         Scopes: https://management.core.windows.net//.default
        Authority Host: login.microsoftonline.com
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:04:04Z - c211d8ae-7543-47e0-8145-8e73419d9a38] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:04:04Z - c211d8ae-7543-47e0-8145-8e73419d9a38] Access token is not expired. Returning the found cache entry. [Current time (03/20/2023 05:04:04) - Expiration Time (03/20/2023 05:34:54 +00:00) - Extended Expiration Time (03/20/2023 04:14:03 +00:00)]
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:04:04Z - c211d8ae-7543-47e0-8145-8e73419d9a38] Returning access token found in cache. RefreshOn exists ? False
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:04:04Z - c211d8ae-7543-47e0-8145-8e73419d9a38] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:04:04Z - c211d8ae-7543-47e0-8145-8e73419d9a38]
        === Token Acquisition finished successfully:
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:04:04Z - c211d8ae-7543-47e0-8145-8e73419d9a38]  AT expiration time: 20/03/2023 5:34:54 AM +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: 2023-03-20T05:34:54.0000000+00:00
DEBUG: [Common.Authentication]: Received token with LoginType 'User', Tenant: '11c4bafa-00bb-43f4-a42d-ed6f2663fbaf', UserId: 'sanitised'
DEBUG: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.azure.com/subscriptions/sanitised/resourcegroups/soze-wahtest-arg/providers/Microsoft.Solutions/applications/sozewahtestapp?api-version=2017-09-01

Headers:
User-Agent                    : PSVersion/v7.3.3,AzurePowershell/v9.5.0,Az.Resources/6.5.3
ParameterSetName              : __AllParameterSets
CommandName                   : New-AzManagedApplication

Body:

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

Status Code:
OK

Headers:
Cache-Control                 : no-cache
Pragma                        : no-cache
ETag                          : "22025bc4-0000-1b00-0000-6417e9370000"
x-ms-ratelimit-remaining-subscription-resource-requests: 59999
x-ms-providerhub-traffic      : True
mise-correlation-id           : 0a435776-2a96-4bdc-a34f-76203c34b7d7
x-ms-request-id               : ed2dcab8-2134-481f-bf51-6b95c88ba76b
x-ms-client-request-id        : f8585fda-c6ec-42fc-bf87-873249fcec25
x-ms-correlation-request-id   : 4ffaed1a-46b4-403f-a43f-e06377e25582
x-ms-routing-request-id       : AUSTRALIASOUTHEAST:20230320T050409Z:4ffaed1a-46b4-403f-a43f-e06377e25582
Strict-Transport-Security     : max-age=31536000; includeSubDomains
X-Content-Type-Options        : nosniff
Date                          : Mon, 20 Mar 2023 05:04:09 GMT

Body:
{
  "id": "/subscriptions/sanitised/resourceGroups/soze-wahtest-arg/providers/Microsoft.Solutions/applications/sozewahtestapp",
  "name": "sozewahtestapp",
  "type": "Microsoft.Solutions/applications",
  "kind": "ServiceCatalog",
  "location": "australiaeast",
  "etag": "\"22025bc4-0000-1b00-0000-6417e9370000\"",
  "properties": {
    "managedResourceGroupId": "/subscriptions/sanitised/resourcegroups/soze-wahtest-mrg",
    "applicationDefinitionId": "/subscriptions/sanitised/resourceGroups/soze-serviceconfig-rg/providers/Microsoft.Solutions/applicationDefinitions/soze-scdef",
    "publisherPackageId": "/subscriptions/sanitised/resourceGroups/soze-serviceconfig-rg/providers/Microsoft.Solutions/applicationDefinitions/soze-scdef",
    "parameters": {},
    "provisioningState": "Accepted",
    "authorizations": [
      {
        "principalId": "34abc34a-48e0-4b68-b1d4-b2a5b7eed769",
        "roleDefinitionId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635"
      },
      {
        "principalId": "887744d9-e64a-4269-b659-444026834a5e",
        "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c"
      },
      {
        "principalId": "b785e266-8dea-45bc-8811-f7573b895aa8",
        "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c"
      }
    ]
  }
}

DEBUG: [Common.Authentication]: Authenticating using Account: 'sanitised', environment: 'AzureCloud', tenant: '11c4bafa-00bb-43f4-a42d-ed6f2663fbaf'
DEBUG: 1:05:09 PM - [ConfigManager] Got [True] from [EnableLoginByWam], Module = [], Cmdlet = [].
DEBUG: 1:05:09 PM - [SilentAuthenticator] Calling SharedTokenCacheCredential.GetTokenAsync - TenantId:'11c4bafa-00bb-43f4-a42d-ed6f2663fbaf', Scopes:'https://management.core.windows.net//.default', AuthorityHost:'https://login.microsoftonline.com/', UserId:'sanitised'
DEBUG: SharedTokenCacheCredential.GetToken invoked. Scopes: [ https://management.core.windows.net//.default ] ParentRequestId:
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:05:09Z - c8df2856-2771-418f-9680-dd887f39aea7] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:05:09Z - c8df2856-2771-418f-9680-dd887f39aea7] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:05:09Z - c8df2856-2771-418f-9680-dd887f39aea7] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:05:09Z - c8df2856-2771-418f-9680-dd887f39aea7] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:05:09Z - c8df2856-2771-418f-9680-dd887f39aea7] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:05:09Z] [WamBroker] WAM supported OS.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:05:09Z] [WamBroker] ListWindowsWorkAndSchoolAccounts option was not enabled.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:05:09Z - fb12bedb-974b-4cfd-bff0-05dd48f51fc5] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:05:09Z] Found 1 cache accounts and 0 broker accounts
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:05:09Z] Returning 1 accounts
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:05:09Z - 83df1048-3cf8-4e2c-a387-8b4258ad6734] MSAL MSAL.NetCore with assembly version '4.49.1.0'. CorrelationId(83df1048-3cf8-4e2c-a387-8b4258ad6734)
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:05:09Z - 83df1048-3cf8-4e2c-a387-8b4258ad6734] === AcquireTokenSilent Parameters ===
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:05:09Z - 83df1048-3cf8-4e2c-a387-8b4258ad6734] LoginHint provided: False
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:05:09Z - 83df1048-3cf8-4e2c-a387-8b4258ad6734] Account provided: True
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:05:09Z - 83df1048-3cf8-4e2c-a387-8b4258ad6734] ForceRefresh: False
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:05:09Z - 83df1048-3cf8-4e2c-a387-8b4258ad6734]
=== 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 - True
HomeAccountId - False
CorrelationId - 83df1048-3cf8-4e2c-a387-8b4258ad6734
UserAssertion set: False
LongRunningOboCacheKey set: False
Region configured:

DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:05:09Z - 83df1048-3cf8-4e2c-a387-8b4258ad6734] === Token Acquisition (SilentRequest) started:
         Scopes: https://management.core.windows.net//.default
        Authority Host: login.microsoftonline.com
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:05:09Z - 83df1048-3cf8-4e2c-a387-8b4258ad6734] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:05:09Z - 83df1048-3cf8-4e2c-a387-8b4258ad6734] Access token is not expired. Returning the found cache entry. [Current time (03/20/2023 05:05:09) - Expiration Time (03/20/2023 05:34:54 +00:00) - Extended Expiration Time (03/20/2023 04:14:03 +00:00)]
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:05:09Z - 83df1048-3cf8-4e2c-a387-8b4258ad6734] Returning access token found in cache. RefreshOn exists ? False
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:05:09Z - 83df1048-3cf8-4e2c-a387-8b4258ad6734] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:05:09Z - 83df1048-3cf8-4e2c-a387-8b4258ad6734]
        === Token Acquisition finished successfully:
DEBUG: False MSAL 4.49.1.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-20 05:05:09Z - 83df1048-3cf8-4e2c-a387-8b4258ad6734]  AT expiration time: 20/03/2023 5:34:54 AM +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: 2023-03-20T05:34:54.0000000+00:00
DEBUG: [Common.Authentication]: Received token with LoginType 'User', Tenant: '11c4bafa-00bb-43f4-a42d-ed6f2663fbaf', UserId: 'sanitised'
DEBUG: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.azure.com/subscriptions/sanitised/resourcegroups/soze-wahtest-arg/providers/Microsoft.Solutions/applications/sozewahtestapp?api-version=2017-09-01

Headers:
User-Agent                    : PSVersion/v7.3.3,AzurePowershell/v9.5.0,Az.Resources/6.5.3
ParameterSetName              : __AllParameterSets
CommandName                   : New-AzManagedApplication

Body:

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

Status Code:
OK

Headers:
Cache-Control                 : no-cache
Pragma                        : no-cache
ETag                          : "220284c4-0000-1b00-0000-6417e9530000"
x-ms-ratelimit-remaining-subscription-resource-requests: 59999
x-ms-providerhub-traffic      : True
mise-correlation-id           : 70fc8ff0-82fe-45c5-8360-e86f1b5b4969
x-ms-request-id               : df45f192-5cc0-4ef2-ac39-4fb826e974cd
x-ms-client-request-id        : 41168398-9b8d-4eeb-8363-60d452e68e4d
x-ms-correlation-request-id   : 45f2ca78-51a0-4f1f-abe0-af3700250043
x-ms-routing-request-id       : AUSTRALIASOUTHEAST:20230320T050511Z:45f2ca78-51a0-4f1f-abe0-af3700250043
Strict-Transport-Security     : max-age=31536000; includeSubDomains
X-Content-Type-Options        : nosniff
Date                          : Mon, 20 Mar 2023 05:05:10 GMT

Body:
{
  "id": "/subscriptions/sanitised/resourceGroups/soze-wahtest-arg/providers/Microsoft.Solutions/applications/sozewahtestapp",
  "name": "sozewahtestapp",
  "type": "Microsoft.Solutions/applications",
  "kind": "ServiceCatalog",
  "location": "australiaeast",
  "etag": "\"220284c4-0000-1b00-0000-6417e9530000\"",
  "properties": {
    "managedResourceGroupId": "/subscriptions/sanitised/resourcegroups/soze-wahtest-mrg",
    "applicationDefinitionId": "/subscriptions/sanitised/resourceGroups/soze-serviceconfig-rg/providers/Microsoft.Solutions/applicationDefinitions/soze-scdef",
    "publisherPackageId": "/subscriptions/sanitised/resourceGroups/soze-serviceconfig-rg/providers/Microsoft.Solutions/applicationDefinitions/soze-scdef",
    "parameters": {},
    "provisioningState": "Succeeded",
    "authorizations": [
      {
        "principalId": "34abc34a-48e0-4b68-b1d4-b2a5b7eed769",
        "roleDefinitionId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635"
      },
      {
        "principalId": "887744d9-e64a-4269-b659-444026834a5e",
        "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c"
      },
      {
        "principalId": "b785e266-8dea-45bc-8811-f7573b895aa8",
        "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c"
      }
    ]
  }
}

DEBUG: 1:05:11 PM - [ConfigManager] Got [True] from [EnableDataCollection], Module = [], Cmdlet = [].
New-AzManagedApplication: The operation failed because the operation status could not be de-serialized.
DEBUG: 1:05:11 PM - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:05:11 PM - [ConfigManager] Got nothing from [DisplayRegionIdentified], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: AzureQoSEvent:  Module: Az.Resources:6.5.3; CommandName: New-AzManagedApplication; PSVersion: 7.3.3; IsSuccess: False; Duration: 00:02:19.8094956; Exception: The operation failed because the operation status could not be de-serialized.;
DEBUG: 1:05:11 PM - NewAzureManagedApplicationCmdlet end processing.
isra-fel commented 1 year ago

This is caused by a behavior breaking change of the polling API. I'll involve in service team.

Details: after the first PUT request to create the application, we'll send continuous polling request to query whether the operation has finished. Old behavior of the polling request is to return 202 Accepted when it's in progress, and 200 OK when it's finished. New behavior always return 200 OK (you can see it in the attached debug logs). This change of behavior breaks client code and cauesd the response being deserialized against a wrong model. Hence the error.

P.S. according to my test and investigation, the issue is not related to the version of the PS module.

ghost commented 1 year ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @MSEvanhi.

Issue Details
### Description This command has been working for awhile and with no changes other than upgrading the version of Az Powershell, it now fails with the following error message `The operation failed because the operation status could not be de-serialized.` We can confirm that this command works from v9.1.1 and failing on v9.4. We 'think' that the managed application does get created within Azure, but due to the error message, we are not sure if it has been left in an incomplete state due to the black box nature of the command itself. ### Issue script & Debug output ```PowerShell ❯ New-AzManagedApplication -Name sozewahtestapp -Kind ServiceCatalog -ResourceGroupName soze-wahtest-arg -Location australiaeast -ManagedApplicationDefinitionId /subscriptions/redacted/resourceGroups/soze-serviceconfig-rg/providers/Microsoft.Solutions/applicationDefinitions/soze-scdef -ManagedResourceGroupName soze-wahtest-mrg DEBUG: 3:55:30 PM - NewAzureManagedApplicationCmdlet begin processing with ParameterSet '__AllParameterSets'. DEBUG: 3:55:30 PM - using account id 'redacted'... DEBUG: 3:55:30 PM - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [], Cmdlet = []. Returning default value [True]. DEBUG: [Common.Authentication]: Authenticating using Account: 'redacted', environment: 'AzureCloud', tenant: 'redacted' DEBUG: 3:55:30 PM - [SilentAuthenticator] Calling SharedTokenCacheCredential.GetTokenAsync - TenantId:'redacted', Scopes:'https://management.core.windows.net//.default', AuthorityHost:'https://login.microsoftonline.com/', UserId:'redacted' DEBUG: SharedTokenCacheCredential.GetToken invoked. Scopes: [ https://management.core.windows.net//.default ] ParentRequestId: DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z - cc10a3da-d6c5-4399-a836-1bbd45624fbb] IsLegacyAdalCacheEnabled: yes DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z - cc10a3da-d6c5-4399-a836-1bbd45624fbb] [Region discovery] Not using a regional authority. DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z - cc10a3da-d6c5-4399-a836-1bbd45624fbb] [Region discovery] Not using a regional authority. DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z - cc10a3da-d6c5-4399-a836-1bbd45624fbb] IsLegacyAdalCacheEnabled: yes DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z - cc10a3da-d6c5-4399-a836-1bbd45624fbb] IsLegacyAdalCacheEnabled: yes DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z] Found 1 cache accounts and 0 broker accounts DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z] Returning 1 accounts DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z - 06acf435-5707-4d3a-8183-79f202b1958f] MSAL MSAL.NetCore with assembly version '4.46.0.0'. CorrelationId(06acf435-5707-4d3a-8183-79f202b1958f) DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z - 06acf435-5707-4d3a-8183-79f202b1958f] === AcquireTokenSilent Parameters === DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z - 06acf435-5707-4d3a-8183-79f202b1958f] LoginHint provided: False DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z - 06acf435-5707-4d3a-8183-79f202b1958f] Account provided: True DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z - 06acf435-5707-4d3a-8183-79f202b1958f] ForceRefresh: False DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z - 06acf435-5707-4d3a-8183-79f202b1958f] === 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 - 06acf435-5707-4d3a-8183-79f202b1958f UserAssertion set: False LongRunningOboCacheKey set: False Region configured: DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z - 06acf435-5707-4d3a-8183-79f202b1958f] === Token Acquisition (SilentRequest) started: Scopes: https://management.core.windows.net//.default Authority Host: login.microsoftonline.com DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z - 06acf435-5707-4d3a-8183-79f202b1958f] [Region discovery] Not using a regional authority. DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z - 06acf435-5707-4d3a-8183-79f202b1958f] Access token is not expired. Returning the found cache entry. [Current time (03/08/2023 07:55:30) - Expiration Time (03/08/2023 09:02:12 +00:00) - Extended Expiration Time (03/08/2023 09:02:12 +00:00)] DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z - 06acf435-5707-4d3a-8183-79f202b1958f] Returning access token found in cache. RefreshOn exists ? False DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z - 06acf435-5707-4d3a-8183-79f202b1958f] [Region discovery] Not using a regional authority. DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z - 06acf435-5707-4d3a-8183-79f202b1958f] === Token Acquisition finished successfully: DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:30Z - 06acf435-5707-4d3a-8183-79f202b1958f] AT expiration time: 8/03/2023 9:02:12 AM +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: 2023-03-08T09:02:12.0000000+00:00 DEBUG: [Common.Authentication]: Received token with LoginType 'User', Tenant: 'redacted', UserId: 'redacted' DEBUG: ============================ HTTP REQUEST ============================ HTTP Method: PUT Absolute Uri: https://management.azure.com/subscriptions/redacted/resourcegroups/soze-wahtest-arg/providers/Microsoft.Solutions/applications/sozewahtestapp?api-version=2017-09-01 Headers: User-Agent : AzurePowershell/v9.1.1,PSVersion/v7.3.3,Az.Resources/6.4.1 ParameterSetName : __AllParameterSets CommandName : New-AzManagedApplication Body: { "name": "sozewahtestapp", "location": "australiaeast", "properties": { "managedResourceGroupId": "/subscriptions/redacted/resourcegroups/soze-wahtest-mrg", "applicationDefinitionId": "/subscriptions/redacted/resourceGroups/soze-serviceconfig-rg/providers/Microsoft.Solutions/applicationDefinitions/soze-scdef" }, "kind": "ServiceCatalog" } DEBUG: ============================ HTTP RESPONSE ============================ Status Code: Created Headers: Cache-Control : no-cache Pragma : no-cache ETag : "ea002992-0000-1b00-0000-64083f770000" x-ms-ratelimit-remaining-subscription-writes: 1199 x-ms-providerhub-traffic : True mise-correlation-id : 63eeacae-68b2-464b-9683-cef99bffd548 x-ms-request-id : d5fb2e1d-9fd2-4777-8e43-31414a03471a x-ms-client-request-id : 105f909e-afe9-4534-b007-834b6e52778b Azure-AsyncOperation : https://management.azure.com/subscriptions/redacted/providers/Microsoft.Solutions/locations/AUSTRALIAEAST/operationStatuses/6ada7a97-bb9c-4811-bb21-642f0ba7e4e6*549261CFD619DD855786B889300461C8CC26392E748AE12A5B2910DE2274B989?api-version=2017-09-01 x-ms-correlation-request-id : b21dc22a-866a-4b24-a2e6-dabd402ff695 x-ms-routing-request-id : AUSTRALIAEAST:20230308T075535Z:b21dc22a-866a-4b24-a2e6-dabd402ff695 Strict-Transport-Security : max-age=31536000; includeSubDomains X-Content-Type-Options : nosniff Date : Wed, 08 Mar 2023 07:55:34 GMT Body: { "id": "/subscriptions/redacted/resourceGroups/soze-wahtest-arg/providers/Microsoft.Solutions/applications/sozewahtestapp", "name": "sozewahtestapp", "type": "microsoft.solutions/applications", "kind": "ServiceCatalog", "location": "australiaeast", "systemData": { "createdBy": "redacted", "createdByType": "User", "createdAt": "2023-03-08T07:55:28.809973Z", "lastModifiedBy": "redacted", "lastModifiedByType": "User", "lastModifiedAt": "2023-03-08T07:55:28.809973Z" }, "properties": { "managedResourceGroupId": "/subscriptions/redacted/resourcegroups/soze-wahtest-mrg", "applicationDefinitionId": "/subscriptions/redacted/resourceGroups/soze-serviceconfig-rg/providers/Microsoft.Solutions/applicationDefinitions/soze-scdef", "publisherPackageId": "/subscriptions/redacted/resourceGroups/soze-serviceconfig-rg/providers/Microsoft.Solutions/applicationDefinitions/soze-scdef", "provisioningState": "Accepted" } } DEBUG: [Common.Authentication]: Authenticating using Account: 'redacted', environment: 'AzureCloud', tenant: 'redacted' DEBUG: 3:55:37 PM - [SilentAuthenticator] Calling SharedTokenCacheCredential.GetTokenAsync - TenantId:'redacted', Scopes:'https://management.core.windows.net//.default', AuthorityHost:'https://login.microsoftonline.com/', UserId:'redacted' DEBUG: SharedTokenCacheCredential.GetToken invoked. Scopes: [ https://management.core.windows.net//.default ] ParentRequestId: DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - f2d9a4bd-a856-4a0f-95b5-e5f93d4948f2] IsLegacyAdalCacheEnabled: yes DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - f2d9a4bd-a856-4a0f-95b5-e5f93d4948f2] [Region discovery] Not using a regional authority. DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - f2d9a4bd-a856-4a0f-95b5-e5f93d4948f2] [Region discovery] Not using a regional authority. DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - f2d9a4bd-a856-4a0f-95b5-e5f93d4948f2] IsLegacyAdalCacheEnabled: yes DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - f2d9a4bd-a856-4a0f-95b5-e5f93d4948f2] IsLegacyAdalCacheEnabled: yes DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z] Found 1 cache accounts and 0 broker accounts DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z] Returning 1 accounts DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 57721ea9-6030-4ba4-97a1-fe4421cfb23d] MSAL MSAL.NetCore with assembly version '4.46.0.0'. CorrelationId(57721ea9-6030-4ba4-97a1-fe4421cfb23d) DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 57721ea9-6030-4ba4-97a1-fe4421cfb23d] === AcquireTokenSilent Parameters === DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 57721ea9-6030-4ba4-97a1-fe4421cfb23d] LoginHint provided: False DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 57721ea9-6030-4ba4-97a1-fe4421cfb23d] Account provided: True DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 57721ea9-6030-4ba4-97a1-fe4421cfb23d] ForceRefresh: False DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 57721ea9-6030-4ba4-97a1-fe4421cfb23d] === 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 - 57721ea9-6030-4ba4-97a1-fe4421cfb23d UserAssertion set: False LongRunningOboCacheKey set: False Region configured: DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 57721ea9-6030-4ba4-97a1-fe4421cfb23d] === Token Acquisition (SilentRequest) started: Scopes: https://management.core.windows.net//.default Authority Host: login.microsoftonline.com DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 57721ea9-6030-4ba4-97a1-fe4421cfb23d] [Region discovery] Not using a regional authority. DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 57721ea9-6030-4ba4-97a1-fe4421cfb23d] Access token is not expired. Returning the found cache entry. [Current time (03/08/2023 07:55:37) - Expiration Time (03/08/2023 09:02:12 +00:00) - Extended Expiration Time (03/08/2023 09:02:12 +00:00)] DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 57721ea9-6030-4ba4-97a1-fe4421cfb23d] Returning access token found in cache. RefreshOn exists ? False DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 57721ea9-6030-4ba4-97a1-fe4421cfb23d] [Region discovery] Not using a regional authority. DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 57721ea9-6030-4ba4-97a1-fe4421cfb23d] === Token Acquisition finished successfully: DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 57721ea9-6030-4ba4-97a1-fe4421cfb23d] AT expiration time: 8/03/2023 9:02:12 AM +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: 2023-03-08T09:02:12.0000000+00:00 DEBUG: [Common.Authentication]: Received token with LoginType 'User', Tenant: 'redacted', UserId: 'redacted' DEBUG: [Common.Authentication]: Authenticating using Account: 'redacted', environment: 'AzureCloud', tenant: 'redacted' DEBUG: 3:55:37 PM - [SilentAuthenticator] Calling SharedTokenCacheCredential.GetTokenAsync - TenantId:'redacted', Scopes:'https://management.core.windows.net//.default', AuthorityHost:'https://login.microsoftonline.com/', UserId:'redacted' DEBUG: SharedTokenCacheCredential.GetToken invoked. Scopes: [ https://management.core.windows.net//.default ] ParentRequestId: DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 2c80b003-fcb9-4fe2-9dee-2e888bb59efd] IsLegacyAdalCacheEnabled: yes DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 2c80b003-fcb9-4fe2-9dee-2e888bb59efd] [Region discovery] Not using a regional authority. DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 2c80b003-fcb9-4fe2-9dee-2e888bb59efd] [Region discovery] Not using a regional authority. DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 2c80b003-fcb9-4fe2-9dee-2e888bb59efd] IsLegacyAdalCacheEnabled: yes DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 2c80b003-fcb9-4fe2-9dee-2e888bb59efd] IsLegacyAdalCacheEnabled: yes DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z] Found 1 cache accounts and 0 broker accounts DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z] Returning 1 accounts DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 11eeb922-320e-495d-9c47-cb22c11623e2] MSAL MSAL.NetCore with assembly version '4.46.0.0'. CorrelationId(11eeb922-320e-495d-9c47-cb22c11623e2) DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 11eeb922-320e-495d-9c47-cb22c11623e2] === AcquireTokenSilent Parameters === DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 11eeb922-320e-495d-9c47-cb22c11623e2] LoginHint provided: False DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 11eeb922-320e-495d-9c47-cb22c11623e2] Account provided: True DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 11eeb922-320e-495d-9c47-cb22c11623e2] ForceRefresh: False DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 11eeb922-320e-495d-9c47-cb22c11623e2] === 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 - 11eeb922-320e-495d-9c47-cb22c11623e2 UserAssertion set: False LongRunningOboCacheKey set: False Region configured: DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 11eeb922-320e-495d-9c47-cb22c11623e2] === Token Acquisition (SilentRequest) started: Scopes: https://management.core.windows.net//.default Authority Host: login.microsoftonline.com DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 11eeb922-320e-495d-9c47-cb22c11623e2] [Region discovery] Not using a regional authority. DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 11eeb922-320e-495d-9c47-cb22c11623e2] Access token is not expired. Returning the found cache entry. [Current time (03/08/2023 07:55:37) - Expiration Time (03/08/2023 09:02:12 +00:00) - Extended Expiration Time (03/08/2023 09:02:12 +00:00)] DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 11eeb922-320e-495d-9c47-cb22c11623e2] Returning access token found in cache. RefreshOn exists ? False DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 11eeb922-320e-495d-9c47-cb22c11623e2] [Region discovery] Not using a regional authority. DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 11eeb922-320e-495d-9c47-cb22c11623e2] === Token Acquisition finished successfully: DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:37Z - 11eeb922-320e-495d-9c47-cb22c11623e2] AT expiration time: 8/03/2023 9:02:12 AM +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: 2023-03-08T09:02:12.0000000+00:00 DEBUG: [Common.Authentication]: Received token with LoginType 'User', Tenant: 'redacted', UserId: 'redacted' DEBUG: ============================ HTTP REQUEST ============================ HTTP Method: GET Absolute Uri: https://management.azure.com/subscriptions/redacted/providers/Microsoft.Solutions/locations/AUSTRALIAEAST/operationStatuses/6ada7a97-bb9c-4811-bb21-642f0ba7e4e6*549261CFD619DD855786B889300461C8CC26392E748AE12A5B2910DE2274B989?api-version=2017-09-01 Headers: User-Agent : AzurePowershell/v9.1.1,PSVersion/v7.3.3,Az.Resources/6.4.1 ParameterSetName : __AllParameterSets CommandName : New-AzManagedApplication Body: DEBUG: ============================ HTTP RESPONSE ============================ Status Code: OK Headers: Cache-Control : no-cache Pragma : no-cache ETag : "0c00e4a5-0000-1b00-0000-64083f750000" x-ms-ratelimit-remaining-subscription-reads: 11997 x-ms-request-id : 10725f08-6824-40f1-9ffa-cb4dccbe6fbb x-ms-correlation-request-id : 41fe05b1-fd1a-414d-a24f-c9ac20110f59 x-ms-routing-request-id : AUSTRALIAEAST:20230308T075537Z:41fe05b1-fd1a-414d-a24f-c9ac20110f59 Strict-Transport-Security : max-age=31536000; includeSubDomains X-Content-Type-Options : nosniff Date : Wed, 08 Mar 2023 07:55:36 GMT Body: { "id": "/subscriptions/redacted/providers/Microsoft.Solutions/locations/AUSTRALIAEAST/operationStatuses/6ada7a97-bb9c-4811-bb21-642f0ba7e4e6*549261CFD619DD855786B889300461C8CC26392E748AE12A5B2910DE2274B989", "name": "6ada7a97-bb9c-4811-bb21-642f0ba7e4e6*549261CFD619DD855786B889300461C8CC26392E748AE12A5B2910DE2274B989", "resourceId": "/subscriptions/redacted/resourceGroups/soze-wahtest-arg/providers/Microsoft.Solutions/applications/sozewahtestapp", "status": "Accepted", "startTime": "2023-03-08T07:55:31.7443603Z" } DEBUG: [Common.Authentication]: Authenticating using Account: 'redacted', environment: 'AzureCloud', tenant: 'redacted' DEBUG: 3:55:39 PM - [SilentAuthenticator] Calling SharedTokenCacheCredential.GetTokenAsync - TenantId:'redacted', Scopes:'https://management.core.windows.net//.default', AuthorityHost:'https://login.microsoftonline.com/', UserId:'redacted' DEBUG: SharedTokenCacheCredential.GetToken invoked. Scopes: [ https://management.core.windows.net//.default ] ParentRequestId: DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z - 42b79f4e-4117-4986-8e5b-0af55db1d19e] IsLegacyAdalCacheEnabled: yes DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z - 42b79f4e-4117-4986-8e5b-0af55db1d19e] [Region discovery] Not using a regional authority. DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z - 42b79f4e-4117-4986-8e5b-0af55db1d19e] [Region discovery] Not using a regional authority. DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z - 42b79f4e-4117-4986-8e5b-0af55db1d19e] IsLegacyAdalCacheEnabled: yes DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z - 42b79f4e-4117-4986-8e5b-0af55db1d19e] IsLegacyAdalCacheEnabled: yes DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z] Found 1 cache accounts and 0 broker accounts DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z] Returning 1 accounts DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z - 16f1d4ee-4f50-4396-91f1-891741142064] MSAL MSAL.NetCore with assembly version '4.46.0.0'. CorrelationId(16f1d4ee-4f50-4396-91f1-891741142064) DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z - 16f1d4ee-4f50-4396-91f1-891741142064] === AcquireTokenSilent Parameters === DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z - 16f1d4ee-4f50-4396-91f1-891741142064] LoginHint provided: False DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z - 16f1d4ee-4f50-4396-91f1-891741142064] Account provided: True DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z - 16f1d4ee-4f50-4396-91f1-891741142064] ForceRefresh: False DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z - 16f1d4ee-4f50-4396-91f1-891741142064] === 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 - 16f1d4ee-4f50-4396-91f1-891741142064 UserAssertion set: False LongRunningOboCacheKey set: False Region configured: DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z - 16f1d4ee-4f50-4396-91f1-891741142064] === Token Acquisition (SilentRequest) started: Scopes: https://management.core.windows.net//.default Authority Host: login.microsoftonline.com DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z - 16f1d4ee-4f50-4396-91f1-891741142064] [Region discovery] Not using a regional authority. DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z - 16f1d4ee-4f50-4396-91f1-891741142064] Access token is not expired. Returning the found cache entry. [Current time (03/08/2023 07:55:39) - Expiration Time (03/08/2023 09:02:12 +00:00) - Extended Expiration Time (03/08/2023 09:02:12 +00:00)] DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z - 16f1d4ee-4f50-4396-91f1-891741142064] Returning access token found in cache. RefreshOn exists ? False DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z - 16f1d4ee-4f50-4396-91f1-891741142064] [Region discovery] Not using a regional authority. DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z - 16f1d4ee-4f50-4396-91f1-891741142064] === Token Acquisition finished successfully: DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:55:39Z - 16f1d4ee-4f50-4396-91f1-891741142064] AT expiration time: 8/03/2023 9:02:12 AM +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: 2023-03-08T09:02:12.0000000+00:00 DEBUG: [Common.Authentication]: Received token with LoginType 'User', Tenant: 'redacted', UserId: 'redacted' DEBUG: ============================ HTTP REQUEST ============================ HTTP Method: GET Absolute Uri: https://management.azure.com/subscriptions/redacted/resourcegroups/soze-wahtest-arg/providers/Microsoft.Solutions/applications/sozewahtestapp?api-version=2017-09-01 Headers: User-Agent : AzurePowershell/v9.1.1,PSVersion/v7.3.3,Az.Resources/6.4.1 ParameterSetName : __AllParameterSets CommandName : New-AzManagedApplication Body: DEBUG: ============================ HTTP RESPONSE ============================ Status Code: OK Headers: Cache-Control : no-cache Pragma : no-cache ETag : "ea002992-0000-1b00-0000-64083f770000" x-ms-ratelimit-remaining-subscription-resource-requests: 59999 x-ms-providerhub-traffic : True mise-correlation-id : 779af036-ae63-4caa-b935-ffb0e4c52da0 x-ms-request-id : 65e4bedb-db5b-4d50-8765-a6f48ce756eb x-ms-client-request-id : 782fd892-0381-442e-b03f-f2b4221082ad x-ms-correlation-request-id : 77d41c87-1a58-490a-b885-568b02f73337 x-ms-routing-request-id : AUSTRALIAEAST:20230308T075541Z:77d41c87-1a58-490a-b885-568b02f73337 Strict-Transport-Security : max-age=31536000; includeSubDomains X-Content-Type-Options : nosniff Date : Wed, 08 Mar 2023 07:55:41 GMT Body: { "id": "/subscriptions/redacted/resourceGroups/soze-wahtest-arg/providers/Microsoft.Solutions/applications/sozewahtestapp", "name": "sozewahtestapp", "type": "Microsoft.Solutions/applications", "kind": "ServiceCatalog", "location": "australiaeast", "etag": "\"ea002992-0000-1b00-0000-64083f770000\"", "properties": { "managedResourceGroupId": "/subscriptions/redacted/resourcegroups/soze-wahtest-mrg", "applicationDefinitionId": "/subscriptions/redacted/resourceGroups/soze-serviceconfig-rg/providers/Microsoft.Solutions/applicationDefinitions/soze-scdef", "publisherPackageId": "/subscriptions/redacted/resourceGroups/soze-serviceconfig-rg/providers/Microsoft.Solutions/applicationDefinitions/soze-scdef", "provisioningState": "Accepted", "authorizations": [ { "principalId": "ef7549a5-eecf-4a3c-8919-d5cff5be49c3", "roleDefinitionId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635" }, { "principalId": "de16f07e-da30-4a02-b295-9f3add0d3ed2", "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c" }, { "principalId": "b785e266-8dea-45bc-8811-f7573b895aa8", "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c" } ] } } DEBUG: [Common.Authentication]: Authenticating using Account: 'redacted', environment: 'AzureCloud', tenant: 'redacted' DEBUG: 3:56:43 PM - [SilentAuthenticator] Calling SharedTokenCacheCredential.GetTokenAsync - TenantId:'redacted', Scopes:'https://management.core.windows.net//.default', AuthorityHost:'https://login.microsoftonline.com/', UserId:'redacted' DEBUG: SharedTokenCacheCredential.GetToken invoked. Scopes: [ https://management.core.windows.net//.default ] ParentRequestId: DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z - 203e79a0-dbcc-49cb-a8cf-720f1a7f846c] IsLegacyAdalCacheEnabled: yes DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z - 203e79a0-dbcc-49cb-a8cf-720f1a7f846c] [Region discovery] Not using a regional authority. DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z - 203e79a0-dbcc-49cb-a8cf-720f1a7f846c] [Region discovery] Not using a regional authority. DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z - 203e79a0-dbcc-49cb-a8cf-720f1a7f846c] IsLegacyAdalCacheEnabled: yes DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z - 203e79a0-dbcc-49cb-a8cf-720f1a7f846c] IsLegacyAdalCacheEnabled: yes DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z] Found 1 cache accounts and 0 broker accounts DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z] Returning 1 accounts DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z - 7b64e735-3fb3-4f4c-9bcc-a2f4669b5f84] MSAL MSAL.NetCore with assembly version '4.46.0.0'. CorrelationId(7b64e735-3fb3-4f4c-9bcc-a2f4669b5f84) DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z - 7b64e735-3fb3-4f4c-9bcc-a2f4669b5f84] === AcquireTokenSilent Parameters === DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z - 7b64e735-3fb3-4f4c-9bcc-a2f4669b5f84] LoginHint provided: False DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z - 7b64e735-3fb3-4f4c-9bcc-a2f4669b5f84] Account provided: True DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z - 7b64e735-3fb3-4f4c-9bcc-a2f4669b5f84] ForceRefresh: False DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z - 7b64e735-3fb3-4f4c-9bcc-a2f4669b5f84] === 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 - 7b64e735-3fb3-4f4c-9bcc-a2f4669b5f84 UserAssertion set: False LongRunningOboCacheKey set: False Region configured: DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z - 7b64e735-3fb3-4f4c-9bcc-a2f4669b5f84] === Token Acquisition (SilentRequest) started: Scopes: https://management.core.windows.net//.default Authority Host: login.microsoftonline.com DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z - 7b64e735-3fb3-4f4c-9bcc-a2f4669b5f84] [Region discovery] Not using a regional authority. DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z - 7b64e735-3fb3-4f4c-9bcc-a2f4669b5f84] Access token is not expired. Returning the found cache entry. [Current time (03/08/2023 07:56:43) - Expiration Time (03/08/2023 09:02:12 +00:00) - Extended Expiration Time (03/08/2023 09:02:12 +00:00)] DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z - 7b64e735-3fb3-4f4c-9bcc-a2f4669b5f84] Returning access token found in cache. RefreshOn exists ? False DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z - 7b64e735-3fb3-4f4c-9bcc-a2f4669b5f84] [Region discovery] Not using a regional authority. DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z - 7b64e735-3fb3-4f4c-9bcc-a2f4669b5f84] === Token Acquisition finished successfully: DEBUG: False MSAL 4.46.0.0 MSAL.NetCore .NET 7.0.3 Microsoft Windows 10.0.19044 [2023-03-08 07:56:43Z - 7b64e735-3fb3-4f4c-9bcc-a2f4669b5f84] AT expiration time: 8/03/2023 9:02:12 AM +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: 2023-03-08T09:02:12.0000000+00:00 DEBUG: [Common.Authentication]: Received token with LoginType 'User', Tenant: 'redacted', UserId: 'redacted' DEBUG: ============================ HTTP REQUEST ============================ HTTP Method: GET Absolute Uri: https://management.azure.com/subscriptions/redacted/resourcegroups/soze-wahtest-arg/providers/Microsoft.Solutions/applications/sozewahtestapp?api-version=2017-09-01 Headers: User-Agent : AzurePowershell/v9.1.1,PSVersion/v7.3.3,Az.Resources/6.4.1 ParameterSetName : __AllParameterSets CommandName : New-AzManagedApplication Body: DEBUG: ============================ HTTP RESPONSE ============================ Status Code: OK Headers: Cache-Control : no-cache Pragma : no-cache ETag : "ea000293-0000-1b00-0000-64083f810000" x-ms-ratelimit-remaining-subscription-resource-requests: 59999 x-ms-providerhub-traffic : True mise-correlation-id : df64aa4e-2f7b-4dec-9b39-adb2c23023e2 x-ms-request-id : 6e185ef2-7962-4807-aba1-6821ef9b30e5 x-ms-client-request-id : 3b91e1b4-a732-4606-918a-e6fd7fdba808 x-ms-correlation-request-id : b26e04b8-aada-4fec-a3f9-292407207b77 x-ms-routing-request-id : AUSTRALIAEAST:20230308T075644Z:b26e04b8-aada-4fec-a3f9-292407207b77 Strict-Transport-Security : max-age=31536000; includeSubDomains X-Content-Type-Options : nosniff Date : Wed, 08 Mar 2023 07:56:44 GMT Body: { "id": "/subscriptions/redacted/resourceGroups/soze-wahtest-arg/providers/Microsoft.Solutions/applications/sozewahtestapp", "name": "sozewahtestapp", "type": "Microsoft.Solutions/applications", "kind": "ServiceCatalog", "location": "australiaeast", "etag": "\"ea000293-0000-1b00-0000-64083f810000\"", "properties": { "managedResourceGroupId": "/subscriptions/redacted/resourcegroups/soze-wahtest-mrg", "applicationDefinitionId": "/subscriptions/redacted/resourceGroups/soze-serviceconfig-rg/providers/Microsoft.Solutions/applicationDefinitions/soze-scdef", "publisherPackageId": "/subscriptions/redacted/resourceGroups/soze-serviceconfig-rg/providers/Microsoft.Solutions/applicationDefinitions/soze-scdef", "provisioningState": "Failed", "authorizations": [ { "principalId": "ef7549a5-eecf-4a3c-8919-d5cff5be49c3", "roleDefinitionId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635" }, { "principalId": "de16f07e-da30-4a02-b295-9f3add0d3ed2", "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c" }, { "principalId": "b785e266-8dea-45bc-8811-f7573b895aa8", "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c" } ] } } DEBUG: 3:56:46 PM - [ConfigManager] Got [True] from [EnableDataCollection], Module = [], Cmdlet = []. New-AzManagedApplication: The operation failed because resource is in the: 'Failed' state. Please check the logs for more details. DEBUG: 3:56:46 PM - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [], Cmdlet = []. Returning default value [True]. DEBUG: AzureQoSEvent: Module: Az.Resources:6.4.1; CommandName: New-AzManagedApplication; PSVersion: 7.3.3; IsSuccess: False; Duration: 00:01:16.4826351; Exception: The operation failed because resource is in the: 'Failed' state. Please check the logs for more details.; DEBUG: 3:56:46 PM - NewAzureManagedApplicationCmdlet end processing. ``` ### Environment data ```PowerShell ❯ $PSVersionTable Name Value ---- ----- PSVersion 7.3.3 PSEdition Core GitCommitId 7.3.3 OS Microsoft Windows 10.0.19044 Platform Win32NT PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…} PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 WSManStackVersion 3.0 ``` ### Module versions ```PowerShell ❯ Get-Module -ListAvailable Directory: C:\Users\wahyu\Documents\PowerShell\Modules ModuleType Version PreRelease Name PSEdition ExportedCommands ---------- ------- ---------- ---- --------- ---------------- Script 9.4.0 Az Core,Desk Script 9.1.1 Az Core,Desk Script 2.11.2 Az.Accounts Core,Desk {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCollection, Enable-AzContextAutosave…} Script 2.10.3 Az.Accounts Core,Desk {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCollection, Enable-AzContextAutosave…} Script 2.10.1 Az.Accounts Core,Desk {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCollection, Enable-AzContextAutosave…} Script 2.9.1 Az.Accounts Core,Desk {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCollection, Enable-AzContextAutosave…} Script 2.0.0 Az.Advisor Core,Desk {Disable-AzAdvisorRecommendation, Enable-AzAdvisorRecommendation, Get-AzAdvisorConfiguration, Get-AzAdvisorRecommendation…} Script 5.3.0 Az.Aks Core,Desk {Get-AzAksCluster, New-AzAksCluster, Remove-AzAksCluster, Import-AzAksCredential…} Script 5.0.1 Az.Aks Core,Desk {Get-AzAksCluster, New-AzAksCluster, Remove-AzAksCluster, Import-AzAksCredential…} Script 1.1.4 Az.AnalysisServices Core,Desk {Resume-AzAnalysisServicesServer, Suspend-AzAnalysisServicesServer, Get-AzAnalysisServicesServer, Remove-AzAnalysisServicesServer…} Script 4.0.2 Az.ApiManagement Core,Desk {Add-AzApiManagementApiToGateway, Add-AzApiManagementApiToProduct, Add-AzApiManagementProductToGroup, Add-AzApiManagementRegion…} Script 4.0.1 Az.ApiManagement Core,Desk {Add-AzApiManagementApiToGateway, Add-AzApiManagementApiToProduct, Add-AzApiManagementProductToGroup, Add-AzApiManagementRegion…} Script 1.2.0 Az.AppConfiguration Core,Desk {Get-AzAppConfigurationStore, Get-AzAppConfigurationStoreKey, New-AzAppConfigurationStore, New-AzAppConfigurationStoreKey…} Script 2.2.2 Az.ApplicationInsights Core,Desk {Get-AzApplicationInsights, Get-AzApplicationInsightsApiKey, Get-AzApplicationInsightsContinuousExport, Get-AzApplicationInsightsLinkedStorageAccount…} Script 2.1.0 Az.ApplicationInsights Core,Desk {Get-AzApplicationInsights, Get-AzApplicationInsightsApiKey, Get-AzApplicationInsightsContinuousExport, Get-AzApplicationInsightsLinkedStorageAccount…} Script 2.0.0 Az.Attestation Core,Desk {Get-AzAttestationPolicy, Set-AzAttestationPolicy, Reset-AzAttestationPolicy, Get-AzAttestationPolicySigners…} Script 1.9.0 Az.Automation Core,Desk {Set-AzAutomationPython3Package, New-AzAutomationPython3Package, Remove-AzAutomationPython3Package, Get-AzAutomationPython3Package…} Script 1.8.0 Az.Automation Core,Desk {Move-AzAutomationHybridRunbookWorker, Remove-AzAutomationHybridRunbookWorker, New-AzAutomationHybridRunbookWorker, Get-AzAutomationHybridRunbookWorker…} Script 3.3.0 Az.Batch Core,Desk {Remove-AzBatchAccount, Get-AzBatchAccount, Get-AzBatchAccountKey, New-AzBatchAccount…} Script 3.2.1 Az.Batch Core,Desk {Remove-AzBatchAccount, Get-AzBatchAccount, Get-AzBatchAccountKey, New-AzBatchAccount…} Script 2.0.0 Az.Billing Core,Desk {Get-AzBillingInvoice, Get-AzBillingPeriod, Get-AzEnrollmentAccount, Get-AzConsumptionBudget…} Script 2.1.0 Az.Cdn Core,Desk {Clear-AzCdnEndpointContent, Clear-AzFrontDoorCdnEndpointContent, Disable-AzCdnCustomDomainCustomHttps, Enable-AzCdnCustomDomainCustomHttps…} Script 1.1.0 Az.CloudService Core,Desk {Get-AzCloudService, Get-AzCloudServiceInstanceView, Get-AzCloudServiceNetworkInterface, Get-AzCloudServiceOSFamily…} Script 1.12.0 Az.CognitiveServices Core,Desk {Get-AzCognitiveServicesAccount, Get-AzCognitiveServicesAccountKey, Get-AzCognitiveServicesAccountSku, Get-AzCognitiveServicesAccountType…} Script 5.4.0 Az.Compute Core,Desk {Remove-AzAvailabilitySet, Get-AzAvailabilitySet, New-AzAvailabilitySet, Update-AzAvailabilitySet…} Script 5.1.1 Az.Compute Core,Desk {Remove-AzAvailabilitySet, Get-AzAvailabilitySet, New-AzAvailabilitySet, Update-AzAvailabilitySet…} Script 1.0.0 Az.ConfidentialLedger Core,Desk {Get-AzConfidentialLedger, New-AzConfidentialLedger, New-AzConfidentialLedgerAADBasedSecurityPrincipalObject, New-AzConfidentialLedgerCertBasedSecurityPrincipalObject…} Script 3.1.0 Az.ContainerInstance Core,Desk {Add-AzContainerInstanceOutput, Get-AzContainerGroup, Get-AzContainerInstanceCachedImage, Get-AzContainerInstanceCapability…} Script 3.0.1 Az.ContainerRegistry Core,Desk {New-AzContainerRegistry, Get-AzContainerRegistry, Update-AzContainerRegistry, Remove-AzContainerRegistry…} Script 3.0.0 Az.ContainerRegistry Core,Desk {New-AzContainerRegistry, Get-AzContainerRegistry, Update-AzContainerRegistry, Remove-AzContainerRegistry…} Script 1.9.0 Az.CosmosDB Core,Desk {Get-AzCosmosDBSqlContainer, Get-AzCosmosDBSqlContainerThroughput, Get-AzCosmosDBSqlDatabase, Get-AzCosmosDBSqlDatabaseThroughput…} Script 1.8.2 Az.CosmosDB Core,Desk {Get-AzCosmosDBSqlContainer, Get-AzCosmosDBSqlContainerThroughput, Get-AzCosmosDBSqlDatabase, Get-AzCosmosDBSqlDatabaseThroughput…} Script 1.1.0 Az.DataBoxEdge Core,Desk {Get-AzDataBoxEdgeJob, Get-AzDataBoxEdgeDevice, Invoke-AzDataBoxEdgeDevice, New-AzDataBoxEdgeDevice…} Script 1.4.0 Az.Databricks Core,Desk {Get-AzDatabricksAccessConnector, Get-AzDatabricksOutboundNetworkDependenciesEndpoint, Get-AzDatabricksVNetPeering, Get-AzDatabricksWorkspace…} Script 1.16.12 Az.DataFactory Core,Desk {Set-AzDataFactoryV2, Update-AzDataFactoryV2, Get-AzDataFactoryV2, Remove-AzDataFactoryV2…} Script 1.16.10 Az.DataFactory Core,Desk {Set-AzDataFactoryV2, Update-AzDataFactoryV2, Get-AzDataFactoryV2, Remove-AzDataFactoryV2…} Script 1.0.2 Az.DataLakeAnalytics Core,Desk {Get-AzDataLakeAnalyticsDataSource, New-AzDataLakeAnalyticsCatalogCredential, Remove-AzDataLakeAnalyticsCatalogCredential, Set-AzDataLakeAnalyticsCatalogCredential…} Script 1.3.0 Az.DataLakeStore Core,Desk {Get-AzDataLakeStoreTrustedIdProvider, Remove-AzDataLakeStoreTrustedIdProvider, Remove-AzDataLakeStoreFirewallRule, Set-AzDataLakeStoreTrustedIdProvider…} Script 1.1.0 Az.DataProtection Core,Desk {Backup-AzDataProtectionBackupInstanceAdhoc, Edit-AzDataProtectionPolicyRetentionRuleClientObject, Edit-AzDataProtectionPolicyTagClientObject, Edit-AzDataProtectionPolicyTriggerClientObject…} Script 1.0.0 Az.DataProtection Core,Desk {Backup-AzDataProtectionBackupInstanceAdhoc, Edit-AzDataProtectionPolicyRetentionRuleClientObject, Edit-AzDataProtectionPolicyTagClientObject, Edit-AzDataProtectionPolicyTriggerClientObject…} Script 1.0.1 Az.DataShare Core,Desk {New-AzDataShareAccount, Get-AzDataShareAccount, Remove-AzDataShareAccount, New-AzDataShare…} Script 1.1.0 Az.DeploymentManager Core,Desk {Get-AzDeploymentManagerArtifactSource, New-AzDeploymentManagerArtifactSource, Set-AzDeploymentManagerArtifactSource, Remove-AzDeploymentManagerArtifactSource…} Script 3.1.1 Az.DesktopVirtualization Core,Desk {Disconnect-AzWvdUserSession, Expand-AzWvdMsixImage, Get-AzWvdApplication, Get-AzWvdApplicationGroup…} Script 1.0.2 Az.DevTestLabs Core,Desk {Get-AzDtlAllowedVMSizesPolicy, Get-AzDtlAutoShutdownPolicy, Get-AzDtlAutoStartPolicy, Get-AzDtlVMsPerLabPolicy…} Script 1.1.2 Az.Dns Core,Desk {Get-AzDnsRecordSet, New-AzDnsRecordConfig, Remove-AzDnsRecordSet, Set-AzDnsRecordSet…} Script 1.5.0 Az.EventGrid Core,Desk {New-AzEventGridTopic, Get-AzEventGridTopic, Set-AzEventGridTopic, New-AzEventGridTopicKey…} Script 3.2.1 Az.EventHub Core,Desk {New-AzEventHubNamespace, Get-AzEventHubNamespace, Set-AzEventHubNamespace, Remove-AzEventHubNamespace…} Script 3.1.0 Az.EventHub Core,Desk {New-AzEventHubNamespace, Get-AzEventHubNamespace, Set-AzEventHubNamespace, Remove-AzEventHubNamespace…} Script 1.9.0 Az.FrontDoor Core,Desk {New-AzFrontDoor, Get-AzFrontDoor, Set-AzFrontDoor, Remove-AzFrontDoor…} Script 4.0.6 Az.Functions Core,Desk {Get-AzFunctionApp, Get-AzFunctionAppAvailableLocation, Get-AzFunctionAppPlan, Get-AzFunctionAppSetting…} Script 5.0.1 Az.HDInsight Core,Desk {Get-AzHDInsightJob, New-AzHDInsightSqoopJobDefinition, Wait-AzHDInsightJob, New-AzHDInsightStreamingMapReduceJobDefinition…} Script 2.0.0 Az.HealthcareApis Core,Desk {Get-AzHealthcareApisService, Get-AzHealthcareApisWorkspace, Get-AzHealthcareDicomService, Get-AzHealthcareFhirDestination…} Script 2.7.4 Az.IotHub Core,Desk {Add-AzIotHubKey, Get-AzIotHubEventHubConsumerGroup, Get-AzIotHubConnectionString, Get-AzIotHubJob…} Script 4.9.1 Az.KeyVault Core,Desk {Add-AzKeyVaultCertificate, Update-AzKeyVaultCertificate, Stop-AzKeyVaultCertificateOperation, Get-AzKeyVaultCertificateOperation…} Script 4.9.0 Az.KeyVault Core,Desk {Add-AzKeyVaultCertificate, Update-AzKeyVaultCertificate, Stop-AzKeyVaultCertificateOperation, Get-AzKeyVaultCertificateOperation…} Script 2.1.0 Az.Kusto Core,Desk {Add-AzKustoClusterLanguageExtension, Add-AzKustoDatabasePrincipal, Get-AzKustoAttachedDatabaseConfiguration, Get-AzKustoCluster…} Script 1.5.0 Az.LogicApp Core,Desk {Get-AzIntegrationAccountAgreement, Get-AzIntegrationAccountAssembly, Get-AzIntegrationAccountBatchConfiguration, Get-AzIntegrationAccountCallbackUrl…} Script 1.1.3 Az.MachineLearning Core,Desk {Move-AzMlCommitmentAssociation, Get-AzMlCommitmentAssociation, Get-AzMlCommitmentPlanUsageHistory, Remove-AzMlCommitmentPlan…} Script 1.2.1 Az.Maintenance Core,Desk {Get-AzApplyUpdate, Get-AzConfigurationAssignment, Get-AzMaintenanceConfiguration, Get-AzMaintenanceUpdate…} Script 1.1.0 Az.ManagedServiceIdentity Core,Desk {Get-AzFederatedIdentityCredentials, Get-AzSystemAssignedIdentity, Get-AzUserAssignedIdentity, Get-AzUserAssignedIdentityAssociatedResource…} Script 3.0.0 Az.ManagedServices Core,Desk {Get-AzManagedServicesAssignment, Get-AzManagedServicesDefinition, Get-AzManagedServicesMarketplaceDefinition, New-AzManagedServicesAssignment…} Script 2.0.0 Az.MarketplaceOrdering Core,Desk {Get-AzMarketplaceTerms, Invoke-AzMarketplaceSignTerms, Set-AzMarketplaceTerms, Stop-AzMarketplaceTerms} Script 1.1.1 Az.Media Core,Desk {Sync-AzMediaServiceStorageKey, Set-AzMediaServiceKey, Get-AzMediaServiceKey, Get-AzMediaServiceNameAvailability…} Script 2.1.0 Az.Migrate Core,Desk {Get-AzMigrateDiscoveredServer, Get-AzMigrateJob, Get-AzMigrateProject, Get-AzMigrateReplicationFabric…} Script 4.4.1 Az.Monitor Core,Desk {Get-AzMetricDefinition, Get-AzMetric, Remove-AzLogProfile, Get-AzLogProfile…} Script 4.2.1 Az.Monitor Core,Desk {Get-AzMetricDefinition, Get-AzMetric, Remove-AzLogProfile, Get-AzLogProfile…} Script 1.1.0 Az.MySql Core,Desk {Get-AzMySqlConfiguration, Get-AzMySqlConnectionString, Get-AzMySqlFirewallRule, Get-AzMySqlFlexibleServer…} Script 5.4.0 Az.Network Core,Desk {Add-AzApplicationGatewayAuthenticationCertificate, Get-AzApplicationGatewayAuthenticationCertificate, New-AzApplicationGatewayAuthenticationCertificate, Remove-AzApplicationGatewayAuthenticationCert… Script 5.1.2 Az.Network Core,Desk {Add-AzApplicationGatewayAuthenticationCertificate, Get-AzApplicationGatewayAuthenticationCertificate, New-AzApplicationGatewayAuthenticationCertificate, Remove-AzApplicationGatewayAuthenticationCert… Script 1.1.1 Az.NotificationHubs Core,Desk {Get-AzNotificationHub, Get-AzNotificationHubAuthorizationRule, Get-AzNotificationHubListKey, Get-AzNotificationHubPNSCredential…} Script 3.2.0 Az.OperationalInsights Core,Desk {New-AzOperationalInsightsAzureActivityLogDataSource, New-AzOperationalInsightsCustomLogDataSource, Disable-AzOperationalInsightsLinuxCustomLogCollection, Disable-AzOperationalInsightsIISLogCollectio… Script 1.5.1 Az.PolicyInsights Core,Desk {Get-AzPolicyEvent, Get-AzPolicyState, Get-AzPolicyStateSummary, Get-AzPolicyRemediation…} Script 1.1.0 Az.PostgreSql Core,Desk {Get-AzPostgreSqlConfiguration, Get-AzPostgreSqlConnectionString, Get-AzPostgreSqlFirewallRule, Get-AzPostgreSqlFlexibleServer…} Script 1.2.0 Az.PowerBIEmbedded Core,Desk {Remove-AzPowerBIWorkspaceCollection, Get-AzPowerBIWorkspaceCollection, Get-AzPowerBIWorkspaceCollectionAccessKey, Get-AzPowerBIWorkspace…} Script 1.0.3 Az.PrivateDns Core,Desk {Get-AzPrivateDnsZone, Remove-AzPrivateDnsZone, Set-AzPrivateDnsZone, New-AzPrivateDnsZone…} Script 6.2.0 Az.RecoveryServices Core,Desk {Get-AzRecoveryServicesBackupProperty, Get-AzRecoveryServicesVault, Get-AzRecoveryServicesVaultSettingsFile, New-AzRecoveryServicesVault…} Script 6.1.1 Az.RecoveryServices Core,Desk {Get-AzRecoveryServicesBackupProperty, Get-AzRecoveryServicesVault, Get-AzRecoveryServicesVaultSettingsFile, New-AzRecoveryServicesVault…} Script 1.7.1 Az.RedisCache Core,Desk {Remove-AzRedisCachePatchSchedule, New-AzRedisCacheScheduleEntry, Get-AzRedisCachePatchSchedule, New-AzRedisCachePatchSchedule…} Script 1.6.0 Az.RedisCache Core,Desk {Remove-AzRedisCachePatchSchedule, New-AzRedisCacheScheduleEntry, Get-AzRedisCachePatchSchedule, New-AzRedisCachePatchSchedule…} Script 1.1.0 Az.RedisEnterpriseCache Core,Desk {Export-AzRedisEnterpriseCache, Get-AzRedisEnterpriseCache, Get-AzRedisEnterpriseCacheDatabase, Get-AzRedisEnterpriseCacheKey…} Script 1.0.3 Az.Relay Core,Desk {New-AzRelayNamespace, Get-AzRelayNamespace, Set-AzRelayNamespace, Remove-AzRelayNamespace…} Script 1.1.0 Az.ResourceMover Core,Desk {Add-AzResourceMoverMoveResource, Get-AzResourceMoverMoveCollection, Get-AzResourceMoverMoveResource, Get-AzResourceMoverRequiredForResources…} Script 6.5.2 Az.Resources Core,Desk {Get-AzProviderOperation, Remove-AzRoleAssignment, Get-AzRoleAssignment, New-AzRoleAssignment…} Script 6.4.1 Az.Resources Core,Desk {Get-AzProviderOperation, Remove-AzRoleAssignment, Get-AzRoleAssignment, New-AzRoleAssignment…} Script 1.3.0 Az.Security Core,Desk {Get-AzSecuritySolution, Get-AzSecuritySolutionsReferenceData, New-AzAlertsSuppressionRuleScope, Get-AzAlertsSuppressionRule…} Script 3.0.1 Az.SecurityInsights Core,Desk {Get-AzSentinelAlertRule, Get-AzSentinelAlertRuleAction, Get-AzSentinelAlertRuleTemplate, Get-AzSentinelAutomationRule…} Script 3.0.0 Az.SecurityInsights Core,Desk {Get-AzSentinelAlertRule, Get-AzSentinelAlertRuleAction, Get-AzSentinelAlertRuleTemplate, Get-AzSentinelAutomationRule…} Script 2.1.0 Az.ServiceBus Core,Desk {New-AzServiceBusNamespace, Get-AzServiceBusNamespace, Set-AzServiceBusNamespace, Remove-AzServiceBusNamespace…} Script 2.0.0 Az.ServiceBus Core,Desk {New-AzServiceBusNamespace, Get-AzServiceBusNamespace, Set-AzServiceBusNamespace, Remove-AzServiceBusNamespace…} Script 3.1.0 Az.ServiceFabric Core,Desk {Add-AzServiceFabricClientCertificate, Add-AzServiceFabricNode, Add-AzServiceFabricNodeType, Get-AzServiceFabricCluster…} Script 1.5.0 Az.SignalR Core,Desk {New-AzSignalR, Get-AzSignalR, Get-AzSignalRKey, New-AzSignalRKey…} Script 1.4.1 Az.SignalR Core,Desk {New-AzSignalR, Get-AzSignalR, Get-AzSignalRKey, New-AzSignalRKey…} Script 4.3.0 Az.Sql Core,Desk {Get-AzSqlDatabaseTransparentDataEncryption, Get-AzSqlDatabaseTransparentDataEncryptionActivity, Set-AzSqlDatabaseTransparentDataEncryption, Get-AzSqlDatabaseUpgradeHint…} Script 4.1.0 Az.Sql Core,Desk {Get-AzSqlDatabaseTransparentDataEncryption, Get-AzSqlDatabaseTransparentDataEncryptionActivity, Set-AzSqlDatabaseTransparentDataEncryption, Get-AzSqlDatabaseUpgradeHint…} Script 1.1.0 Az.SqlVirtualMachine Core,Desk {New-AzSqlVM, Get-AzSqlVM, Update-AzSqlVM, Remove-AzSqlVM…} Script 1.4.2 Az.StackHCI Core,Desk {Add-AzStackHCIVMAttestation, Disable-AzStackHCIAttestation, Disable-AzStackHCIRemoteSupport, Enable-AzStackHCIAttestation…} Script 1.3.2 Az.StackHCI Core,Desk {Add-AzStackHCIVMAttestation, Disable-AzStackHCIAttestation, Disable-AzStackHCIRemoteSupport, Enable-AzStackHCIAttestation…} Script 5.4.0 Az.Storage Core,Desk {Get-AzStorageAccount, Get-AzStorageAccountKey, New-AzStorageAccount, New-AzStorageAccountKey…} Script 5.1.0 Az.Storage Core,Desk {Get-AzStorageAccount, Get-AzStorageAccountKey, New-AzStorageAccount, New-AzStorageAccountKey…} Script 1.7.0 Az.StorageSync Core,Desk {Invoke-AzStorageSyncCompatibilityCheck, New-AzStorageSyncService, Get-AzStorageSyncService, Set-AzStorageSyncService…} Script 2.0.0 Az.StreamAnalytics Core,Desk {Get-AzStreamAnalyticsCluster, Get-AzStreamAnalyticsClusterStreamingJob, Get-AzStreamAnalyticsDefaultFunctionDefinition, Get-AzStreamAnalyticsFunction…} Script 1.0.0 Az.Support Core,Desk {Get-AzSupportService, Get-AzSupportProblemClassification, Get-AzSupportTicket, Get-AzSupportTicketCommunication…} Script 2.2.0 Az.Synapse Core,Desk {Get-AzSynapseSparkJob, Stop-AzSynapseSparkJob, Submit-AzSynapseSparkJob, Wait-AzSynapseSparkJob…} Script 2.0.0 Az.Synapse Core,Desk {Get-AzSynapseSparkJob, Stop-AzSynapseSparkJob, Submit-AzSynapseSparkJob, Wait-AzSynapseSparkJob…} Script 1.0.2 Az.Tools.Predictor Core {Enable-AzPredictor, Disable-AzPredictor, Open-AzPredictorSurvey, Send-AzPredictorRating} Script 1.2.0 Az.TrafficManager Core,Desk {Add-AzTrafficManagerCustomHeaderToEndpoint, Remove-AzTrafficManagerCustomHeaderFromEndpoint, Add-AzTrafficManagerCustomHeaderToProfile, Remove-AzTrafficManagerCustomHeaderFromProfile…} Script 1.1.0 Az.TrafficManager Core,Desk {Add-AzTrafficManagerCustomHeaderToEndpoint, Remove-AzTrafficManagerCustomHeaderFromEndpoint, Add-AzTrafficManagerCustomHeaderToProfile, Remove-AzTrafficManagerCustomHeaderFromProfile…} Script 2.12.1 Az.Websites Core,Desk {Get-AzAppServicePlan, Set-AzAppServicePlan, New-AzAppServicePlan, Remove-AzAppServicePlan…} Script 2.11.5 Az.Websites Core,Desk {Get-AzAppServicePlan, Set-AzAppServicePlan, New-AzAppServicePlan, Remove-AzAppServicePlan…} Script 3.62.1 beta oh-my-posh Desk {Get-PoshThemes, Set-PoshPrompt, Write-PoshTheme, Set-PoshContext} Script 2.0.325 oh-my-posh Desk {Show-Colors, Show-ThemeColors, Show-ThemeSymbols, Get-Theme…} Script 0.7.3 posh-git Desk {Invoke-NullCoalescing, Add-PoshGitToProfile, Get-PromptPath, Write-GitStatus…} Script 2.2.4.1 PowerShellGet Desk {Find-Command, Find-DSCResource, Find-Module, Find-RoleCapability…} Script 2.2.6 PSReadLine Desk {Get-PSReadLineKeyHandler, Set-PSReadLineKeyHandler, Remove-PSReadLineKeyHandler, Get-PSReadLineOption…} Script 0.3.1 Terminal-Icons Desk {Add-TerminalIconsColorTheme, Add-TerminalIconsIconTheme, Format-TerminalIcons, Get-TerminalIconsColorTheme…} ``` ### Error output ```PowerShell Message : The operation failed because resource is in the: 'Failed' state. Please check the logs for more details. StackTrace : at Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.ResourceManagerCmdletBase.HandleException(ExceptionDispatchInfo capturedException) at Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.ResourceManagerCmdletBase.ExecuteCmdlet() at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.ProcessRecord() Exception : System.InvalidOperationException InvocationInfo : {New-AzManagedApplication} Line : New-AzManagedApplication -Name sozewahtestapp -Kind ServiceCatalog -ResourceGroupName soze-wahtest-arg -Location australiaeast -ManagedApplicationDefinitionId /subscriptions/redacted/resourceGroups/soze-serviceconfig-rg/providers/Microsoft.Solutions/applicationDefinitions/soze-scdef -ManagedResourceGroupName soze-wahtest-mrg Position : At line:1 char:1 + New-AzManagedApplication -Name sozewahtestapp -Kind ServiceCatalog -R … + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ HistoryId : 45 ```
Author: wahyuen
Assignees: -
Labels: `Service Attention`, `bug`, `ARM - Managed Applications`, `customer-reported`
Milestone: -