Azure / Azure/azure-powershell

Set-AzLogicApp does not work properly

Open
#24,644 3 comments 0 reactions 0 assignees View on GitHub
act-observability-squad bug customer-reported Logic App Service Attention
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
3d 14h
Merged PRs (30d)
54

Description

### Description

We have a consumption logic app where the Access Control under Workflow settings is set to 'Only other logic apps'.
When we run the Set-Azlogic app command on the logic app, it changes the Access Control under Workflow settings to 'Any other IP'.

### Issue script & Debug output

```PowerShell
PS /home/prakhar> $DebugPreference='Continue'
PS /home/prakhar> Set-AzLogicApp -ResourceGroupName v-praktyagi -Name v-praktyagi-demo -State "Disabled" -Force
DEBUG: 1:45:51 PM - UpdateAzureLogicAppCommand begin processing with ParameterSet 'Consumption'.
DEBUG: 1:45:51 PM - using account id 'MSI@50342'...
DEBUG: 1:45:51 PM - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: [Common.Authentication]: Authenticating using Account: 'MSI@50342', environment: 'AzureCloud', tenant: '72f988bf-86f1-41af-91ab-2d7cd011db47'
DEBUG: 1:45:51 PM - [ConfigManager] Got nothing from [DisableInstanceDiscovery], Module = [], Cmdlet = []. Returning default value [False].
DEBUG: 1:45:51 PM - [ManagedServiceIdentityAuthenticator] Calling ManagedIdentityCredential.GetTokenAsync - TenantId:'72f988bf-86f1-41af-91ab-2d7cd011db47', Scopes:'https://management.core.windows.net/', UserId:''
DEBUG: ManagedIdentityCredential.GetToken invoked. Scopes: [ https://management.core.windows.net/ ] ParentRequestId:
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET 8.0.3 CBL-Mariner/Linux [2024-04-17 13:45:51Z - ee8ae240-febc-4107-86b7-9a5294720fbe] MSAL MSAL.CoreCLR with assembly version '4.56.0.0'. CorrelationId(ee8ae240-febc-4107-86b7-9a5294720fbe)
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET 8.0.3 CBL-Mariner/Linux [2024-04-17 13:45:51Z - ee8ae240-febc-4107-86b7-9a5294720fbe] === AcquireTokenForClientParameters ===
SendX5C: False
ForceRefresh: False

DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET 8.0.3 CBL-Mariner/Linux [2024-04-17 13:45:51Z - ee8ae240-febc-4107-86b7-9a5294720fbe]
=== Request Data ===
Authority Provided? - True
Scopes - https://management.core.windows.net/
Extra Query Params Keys (space separated) -
ApiId - AcquireTokenForClient
IsConfidentialClient - True
SendX5C - False
LoginHint ? False
IsBrokerConfigured - False
HomeAccountId - False
CorrelationId - ee8ae240-febc-4107-86b7-9a5294720fbe
UserAssertion set: False
LongRunningOboCacheKey set: False
Region configured:

DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET 8.0.3 CBL-Mariner/Linux [2024-04-17 13:45:51Z - ee8ae240-febc-4107-86b7-9a5294720fbe] === Token Acquisition (ClientCredentialRequest) started:
Scopes: https://management.core.windows.net/
Authority Host: login.microsoftonline.com
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET 8.0.3 CBL-Mariner/Linux [2024-04-17 13:45:51Z - ee8ae240-febc-4107-86b7-9a5294720fbe] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET 8.0.3 CBL-Mariner/Linux [2024-04-17 13:45:51Z - ee8ae240-febc-4107-86b7-9a5294720fbe] [Instance Discovery] Skipping Instance discovery because it is disabled.
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET 8.0.3 CBL-Mariner/Linux [2024-04-17 13:45:51Z - ee8ae240-febc-4107-86b7-9a5294720fbe] [ClientCredentialRequest] Sending Token response to client credential request endpoint ...
DEBUG: Request [f7de4024-a8bc-4564-8e41-9e7a6378c746] POST http://localhost:50342/oauth2/token
Content-Type:application/x-www-form-urlencoded
Metadata:REDACTED
x-ms-client-request-id:f7de4024-a8bc-4564-8e41-9e7a6378c746
x-ms-return-client-request-id:true
User-Agent:azsdk-net-Identity/1.10.3 (.NET 8.0.3; CBL-Mariner/Linux)
client assembly: Azure.Identity
DEBUG: Response [f7de4024-a8bc-4564-8e41-9e7a6378c746] 200 OK (00.0s)
X-Powered-By:REDACTED
ETag:W/"2438-o4tzL8FYVofe3/Qrs0XIW0TUIb4"
Date:Wed, 17 Apr 2024 13:45:51 GMT
Connection:keep-alive
Keep-Alive:REDACTED
Content-Type:application/json; charset=utf-8
Content-Length:9272

DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET 8.0.3 CBL-Mariner/Linux [2024-04-17 13:45:51Z - ee8ae240-febc-4107-86b7-9a5294720fbe] Checking client info returned from the server..
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET 8.0.3 CBL-Mariner/Linux [2024-04-17 13:45:51Z - ee8ae240-febc-4107-86b7-9a5294720fbe] Saving token response to cache..
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET 8.0.3 CBL-Mariner/Linux [2024-04-17 13:45:51Z - ee8ae240-febc-4107-86b7-9a5294720fbe] [SaveTokenResponseAsync] ID Token not present in response.
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET 8.0.3 CBL-Mariner/Linux [2024-04-17 13:45:51Z - ee8ae240-febc-4107-86b7-9a5294720fbe] Cannot determine home account id - or id token or no client info and no subject
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET 8.0.3 CBL-Mariner/Linux [2024-04-17 13:45:51Z - ee8ae240-febc-4107-86b7-9a5294720fbe] [SaveTokenResponseAsync] Saving AT in cache and removing overlapping ATs...
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET 8.0.3 CBL-Mariner/Linux [2024-04-17 13:45:51Z - ee8ae240-febc-4107-86b7-9a5294720fbe] Looking for scopes for the authority in the cache which intersect with https://management.core.windows.net/
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET 8.0.3 CBL-Mariner/Linux [2024-04-17 13:45:51Z - ee8ae240-febc-4107-86b7-9a5294720fbe] Intersecting scope entries count - 0
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET 8.0.3 CBL-Mariner/Linux [2024-04-17 13:45:51Z - ee8ae240-febc-4107-86b7-9a5294720fbe]
=== Token Acquisition finished successfully:
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET 8.0.3 CBL-Mariner/Linux [2024-04-17 13:45:51Z - ee8ae240-febc-4107-86b7-9a5294720fbe] AT expiration time: 4/17/2024 2:54:21 PM +00:00, scopes: https://management.core.windows.net/. source: IdentityProvider
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET 8.0.3 CBL-Mariner/Linux [2024-04-17 13:45:51Z - ee8ae240-febc-4107-86b7-9a5294720fbe] Fetched access token from host login.microsoftonline.com.
DEBUG: ManagedIdentityCredential.GetToken succeeded. Scopes: [ https://management.core.windows.net/ ] ParentRequestId: ExpiresOn: 2024-04-17T14:54:21.5359125+00:00
DEBUG: [Common.Authentication]: Received token with LoginType 'User', Tenant: '72f988bf-86f1-41af-91ab-2d7cd011db47', UserId: 'MSI@50342'
DEBUG: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.azure.com/subscriptions/84c199f7-1d04-4957-9034-93c275c430e9/resourceGroups/v-praktyagi/providers/Microsoft.Logic/workflows/v-praktyagi-demo?api-version=2018-07-01-preview

Headers:
Accept-Language : en-US
x-ms-client-request-id : 07a755b2-c489-4196-9b8e-ef86957184c4

Body:

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

Status Code:
OK

Headers:
Cache-Control : no-cache
Pragma : no-cache
Vary : Accept-Encoding
Set-Cookie : ARRAffinity=78161db3083b95071fb844333a452218ec109d1e83e26c31e132575e7baaffa1;Path=/;HttpOnly;Secure;Domain=management.eastus.logic.azure.com,ARRAffinitySameSite=78161db3083b95071fb844333a452218ec109d1e83e26c31e132575e7baaffa1;Path=/;HttpOnly;SameSite=None;Secure;Domain=management.eastus.logic.azure.com
Strict-Transport-Security : max-age=31536000; includeSubDomains
x-ms-request-id : eastus:f9533c72-118a-4e83-a68f-f31e9fc1b416
x-ms-ratelimit-remaining-subscription-resource-requests: 19999
x-ms-correlation-request-id : 4b117a9a-ec6a-4a28-ae1e-4b115069dcc2
x-ms-routing-request-id : JIOINDIACENTRAL:20240417T134552Z:4b117a9a-ec6a-4a28-ae1e-4b115069dcc2
X-Content-Type-Options : nosniff
X-Cache : CONFIG_NOCACHE
X-MSEdge-Ref : Ref A: BD9619742F404D978DE5B6264465E2A3 Ref B: MAA201060513029 Ref C: 2024-04-17T13:45:51Z
Date : Wed, 17 Apr 2024 13:45:51 GMT

Body:
{
"properties": {
"provisioningState": "Succeeded",
"createdTime": "2024-02-15T23:35:35.3694672Z",
"changedTime": "2024-04-17T13:39:32.9702223Z",
"state": "Disabled",
"version": "08584882457125259353",
"accessEndpoint": "https://prod-21.eastus.logic.azure.com:443/workflows/056f739e4e7e489ab832b2a8a57e5dcc",
"integrationAccount": {
"name": "sabaiia",
"id": "/subscriptions/84c199f7-1d04-4957-9034-93c275c430e9/resourceGroups/AS2/providers/Microsoft.Logic/integrationAccounts/sabaiia",
"type": "Microsoft.Logic/integrationAccounts"
},
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"contentVersion": "1.0.0.0",
"parameters": {},
"triggers": {
"manual": {
"type": "Request",
"kind": "Http",
"inputs": {
"schema": {}
}
}
},
"actions": {
"Transform_XML": {
"runAfter": {},
"type": "Xslt",
"inputs": {
"content": "@{triggerBody()}",
"integrationAccount": {
"map": {
"name": "ZMarticleMap"
}
},
"transformOptions": "DisableByteOrderMark"
}
}
},
"outputs": {}
},
"parameters": {},
"endpointsConfiguration": {
"workflow": {
"outgoingIpAddresses": [
{
"address": "13.92.98.111"
},
{
"address": "40.121.91.41"
},
{
"address": "40.114.82.191"
},
{
"address": "23.101.139.153"
},
{
"address": "23.100.29.190"
},
{
"address": "23.101.136.201"
},
{
"address": "104.45.153.81"
},
{
"address": "23.101.132.208"
},
{
"address": "52.226.216.197"
},
{
"address": "52.226.216.187"
},
{
"address": "40.76.151.25"
},
{
"address": "40.76.148.50"
},
{
"address": "20.84.29.29"
},
{
"address": "20.84.29.18"
},
{
"address": "40.76.174.83"
},
{
"address": "40.76.174.39"
}
],
"accessEndpointIpAddresses": [
{
"address": "137.135.106.54"
},
{
"address": "40.117.99.79"
},
{
"address": "40.117.100.228"
},
{
"address": "137.116.126.165"
},
{
"address": "52.226.216.209"
},
{
"address": "40.76.151.124"
},
{
"address": "20.84.29.150"
},
{
"address": "40.76.174.148"
}
]
},
"connector": {
"outgoingIpAddresses": [
{
"address": "40.71.249.139"
},
{
"address": "40.71.249.205"
},
{
"address": "40.114.40.132"
},
{
"address": "40.71.11.80/28"
},
{
"address": "40.71.15.160/27"
},
{
"address": "52.188.157.160"
},
{
"address": "20.88.153.176/28"
},
{
"address": "20.88.153.192/27"
},
{
"address": "52.151.221.184"
},
{
"address": "52.151.221.119"
}
]
}
}
},
"id": "/subscriptions/84c199f7-1d04-4957-9034-93c275c430e9/resourceGroups/v-praktyagi/providers/Microsoft.Logic/workflows/v-praktyagi-demo",
"name": "v-praktyagi-demo",
"type": "Microsoft.Logic/workflows",
"location": "eastus"
}

DEBUG: [Common.Authentication]: Authenticating using Account: 'MSI@50342', environment: 'AzureCloud', tenant: '72f988bf-86f1-41af-91ab-2d7cd011db47'
DEBUG: 1:45:52 PM - [ConfigManager] Got nothing from [DisableInstanceDiscovery], Module = [], Cmdlet = []. Returning default value [False].
DEBUG: 1:45:52 PM - [ManagedServiceIdentityAuthenticator] Calling ManagedIdentityCredential.GetTokenAsync - TenantId:'72f988bf-86f1-41af-91ab-2d7cd011db47', Scopes:'https://management.core.windows.net/', UserId:''
DEBUG: ManagedIdentityCredential.GetToken invoked. Scopes: [ https://management.core.windows.net/ ] ParentRequestId:
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET 8.0.3 CBL-Mariner/Linux [2024-04-17 13:45:52Z - 550fda6e-0b5d-4698-aabb-743d95de2602] MSAL MSAL.CoreCLR with assembly version '4.56.0.0'. CorrelationId(550fda6e-0b5d-4698-aabb-743d95de2602)
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET 8.0.3 CBL-Mariner/Linux [2024-04-17 13:45:52Z - 550fda6e-0b5d-4698-aabb-743d95de2602] === AcquireTokenForClientParameters ===
SendX5C: False
ForceRefresh: False

DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET 8.0.3 CBL-Mariner/Linux [2024-04-17 13:45:52Z - 550fda6e-0b5d-4698-aabb-743d95de2602]
=== Request Data ===
Authority Provided? - True
Scopes - https://management.core.windows.net/
Extra Query Params Keys (space separated) -
ApiId - AcquireTokenForClient
IsConfidentialClient - True
SendX5C - False
LoginHint ? False
IsBrokerConfigured - False
HomeAccountId - False
CorrelationId - 550fda6e-0b5d-4698-aabb-743d95de2602
UserAssertion set: False
LongRunningOboCacheKey set: False
Region configured:

DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET 8.0.3 CBL-Mariner/Linux [2024-04-17 13:45:52Z - 550fda6e-0b5d-4698-aabb-743d95de2602] === Token Acquisition (ClientCredentialRequest) started:
Scopes: https://management.core.windows.net/
Authority Host: login.microsoftonline.com
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET 8.0.3 CBL-Mariner/Linux [2024-04-17 13:45:52Z - 550fda6e-0b5d-4698-aabb-743d95de2602] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET 8.0.3 CBL-Mariner/Linux [2024-04-17 13:45:52Z - 550fda6e-0b5d-4698-aabb-743d95de2602] [Instance Discovery] Skipping Instance discovery because it is disabled.
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET 8.0.3 CBL-Mariner/Linux [2024-04-17 13:45:52Z - 550fda6e-0b5d-4698-aabb-743d95de2602] [ClientCredentialRequest] Sending Token response to client credential request endpoint ...
DEBUG: Request [c0b37549-72a1-4b00-b0cc-1adb97e68415] POST http://localhost:50342/oauth2/token
Content-Type:application/x-www-form-urlencoded
Metadata:REDACTED
x-ms-client-request-id:c0b37549-72a1-4b00-b0cc-1adb97e68415
x-ms-return-client-request-id:true
User-Agent:azsdk-net-Identity/1.10.3 (.NET 8.0.3; CBL-Mariner/Linux)
client assembly: Azure.Identity
DEBUG: Response [c0b37549-72a1-4b00-b0cc-1adb97e68415] 200 OK (00.0s)
X-Powered-By:REDACTED
ETag:W/"2438-TS5rMJY6U5svWbCnD3gkjSicqHc"
Date:Wed, 17 Apr 2024 13:45:52 GMT
Connection:keep-alive
Keep-Alive:REDACTED
Content-Type:application/json; charset=utf-8
Content-Length:9272

DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET 8.0.3 CBL-Mariner/Linux [2024-04-17 13:45:52Z - 550fda6e-0b5d-4698-aabb-743d95de2602] Checking client info returned from the server..
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET 8.0.3 CBL-Mariner/Linux [2024-04-17 13:45:52Z - 550fda6e-0b5d-4698-aabb-743d95de2602] Saving token response to cache..
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET 8.0.3 CBL-Mariner/Linux [2024-04-17 13:45:52Z - 550fda6e-0b5d-4698-aabb-743d95de2602] [SaveTokenResponseAsync] ID Token not present in response.
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET 8.0.3 CBL-Mariner/Linux [2024-04-17 13:45:52Z - 550fda6e-0b5d-4698-aabb-743d95de2602] Cannot determine home account id - or id token or no client info and no subject
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET 8.0.3 CBL-Mariner/Linux [2024-04-17 13:45:52Z - 550fda6e-0b5d-4698-aabb-743d95de2602] [SaveTokenResponseAsync] Saving AT in cache and removing overlapping ATs...
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET 8.0.3 CBL-Mariner/Linux [2024-04-17 13:45:52Z - 550fda6e-0b5d-4698-aabb-743d95de2602] Looking for scopes for the authority in the cache which intersect with https://management.core.windows.net/
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET 8.0.3 CBL-Mariner/Linux [2024-04-17 13:45:52Z - 550fda6e-0b5d-4698-aabb-743d95de2602] Intersecting scope entries count - 0
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET 8.0.3 CBL-Mariner/Linux [2024-04-17 13:45:52Z - 550fda6e-0b5d-4698-aabb-743d95de2602]
=== Token Acquisition finished successfully:
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET 8.0.3 CBL-Mariner/Linux [2024-04-17 13:45:52Z - 550fda6e-0b5d-4698-aabb-743d95de2602] AT expiration time: 4/17/2024 2:54:22 PM +00:00, scopes: https://management.core.windows.net/. source: IdentityProvider
DEBUG: False MSAL 4.56.0.0 MSAL.CoreCLR .NET 8.0.3 CBL-Mariner/Linux [2024-04-17 13:45:52Z - 550fda6e-0b5d-4698-aabb-743d95de2602] Fetched access token from host login.microsoftonline.com.
DEBUG: ManagedIdentityCredential.GetToken succeeded. Scopes: [ https://management.core.windows.net/ ] ParentRequestId: ExpiresOn: 2024-04-17T14:54:22.2301721+00:00
DEBUG: [Common.Authentication]: Received token with LoginType 'User', Tenant: '72f988bf-86f1-41af-91ab-2d7cd011db47', UserId: 'MSI@50342'
DEBUG: ============================ HTTP REQUEST ============================

HTTP Method:
PUT

Absolute Uri:
https://management.azure.com/subscriptions/84c199f7-1d04-4957-9034-93c275c430e9/resourceGroups/v-praktyagi/providers/Microsoft.Logic/workflows/v-praktyagi-demo?api-version=2018-07-01-preview

Headers:
Accept-Language : en-US
x-ms-client-request-id : 07a755b2-c489-4196-9b8e-ef86957184c4

Body:
{
"properties": {
"state": "Disabled",
"integrationAccount": {
"id": "/subscriptions/84c199f7-1d04-4957-9034-93c275c430e9/resourceGroups/AS2/providers/Microsoft.Logic/integrationAccounts/sabaiia"
},
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"contentVersion": "1.0.0.0",
"parameters": {},
"triggers": {
"manual": {
"type": "Request",
"kind": "Http",
"inputs": {
"schema": {}
}
}
},
"actions": {
"Transform_XML": {
"runAfter": {},
"type": "Xslt",
"inputs": {
"content": "@{triggerBody()}",
"integrationAccount": {
"map": {
"name": "ZMarticleMap"
}
},
"transformOptions": "DisableByteOrderMark"
}
}
},
"outputs": {}
},
"parameters": {}
},
"location": "eastus"
}

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

Status Code:
OK

Headers:
Cache-Control : no-cache
Pragma : no-cache
Vary : Accept-Encoding
Set-Cookie : ARRAffinity=404c30ae164cea1996847a74bb6b599076bae071bff69e3a69c7f1aed31d448b;Path=/;HttpOnly;Secure;Domain=management.eastus.logic.azure.com,ARRAffinitySameSite=404c30ae164cea1996847a74bb6b599076bae071bff69e3a69c7f1aed31d448b;Path=/;HttpOnly;SameSite=None;Secure;Domain=management.eastus.logic.azure.com
Strict-Transport-Security : max-age=31536000; includeSubDomains
x-ms-request-id : eastus:e0d2935c-e2f5-4b46-854a-b5ad2296907b
x-ms-ratelimit-remaining-subscription-writes: 1199
x-ms-correlation-request-id : 94442e6e-9dcf-4996-9444-d19d1c298d84
x-ms-routing-request-id : SOUTHINDIA:20240417T134553Z:94442e6e-9dcf-4996-9444-d19d1c298d84
X-Content-Type-Options : nosniff
X-Cache : CONFIG_NOCACHE
X-MSEdge-Ref : Ref A: 1B6A79FBD1DA4FCABD85D87315BB881E Ref B: MAA201060516037 Ref C: 2024-04-17T13:45:52Z
Date : Wed, 17 Apr 2024 13:45:52 GMT

Body:
{
"properties": {
"provisioningState": "Succeeded",
"createdTime": "2024-04-17T13:45:53.4583027Z",
"changedTime": "2024-04-17T13:45:53.4513467Z",
"state": "Disabled",
"version": "08584882453320488535",
"accessEndpoint": "https://prod-21.eastus.logic.azure.com:443/workflows/056f739e4e7e489ab832b2a8a57e5dcc",
"integrationAccount": {
"name": "sabaiia",
"id": "/subscriptions/84c199f7-1d04-4957-9034-93c275c430e9/resourceGroups/AS2/providers/Microsoft.Logic/integrationAccounts/sabaiia",
"type": "Microsoft.Logic/integrationAccounts"
},
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"contentVersion": "1.0.0.0",
"parameters": {},
"triggers": {
"manual": {
"type": "Request",
"kind": "Http",
"inputs": {
"schema": {}
}
}
},
"actions": {
"Transform_XML": {
"runAfter": {},
"type": "Xslt",
"inputs": {
"content": "@{triggerBody()}",
"integrationAccount": {
"map": {
"name": "ZMarticleMap"
}
},
"transformOptions": "DisableByteOrderMark"
}
}
},
"outputs": {}
},
"parameters": {},
"endpointsConfiguration": {
"workflow": {
"outgoingIpAddresses": [
{
"address": "13.92.98.111"
},
{
"address": "40.121.91.41"
},
{
"address": "40.114.82.191"
},
{
"address": "23.101.139.153"
},
{
"address": "23.100.29.190"
},
{
"address": "23.101.136.201"
},
{
"address": "104.45.153.81"
},
{
"address": "23.101.132.208"
},
{
"address": "52.226.216.197"
},
{
"address": "52.226.216.187"
},
{
"address": "40.76.151.25"
},
{
"address": "40.76.148.50"
},
{
"address": "20.84.29.29"
},
{
"address": "20.84.29.18"
},
{
"address": "40.76.174.83"
},
{
"address": "40.76.174.39"
}
],
"accessEndpointIpAddresses": [
{
"address": "137.135.106.54"
},
{
"address": "40.117.99.79"
},
{
"address": "40.117.100.228"
},
{
"address": "137.116.126.165"
},
{
"address": "52.226.216.209"
},
{
"address": "40.76.151.124"
},
{
"address": "20.84.29.150"
},
{
"address": "40.76.174.148"
}
]
},
"connector": {
"outgoingIpAddresses": [
{
"address": "40.71.249.139"
},
{
"address": "40.71.249.205"
},
{
"address": "40.114.40.132"
},
{
"address": "40.71.11.80/28"
},
{
"address": "40.71.15.160/27"
},
{
"address": "52.188.157.160"
},
{
"address": "20.88.153.176/28"
},
{
"address": "20.88.153.192/27"
},
{
"address": "52.151.221.184"
},
{
"address": "52.151.221.119"
}
]
}
}
},
"id": "/subscriptions/84c199f7-1d04-4957-9034-93c275c430e9/resourceGroups/v-praktyagi/providers/Microsoft.Logic/workflows/v-praktyagi-demo",
"name": "v-praktyagi-demo",
"type": "Microsoft.Logic/workflows",
"location": "eastus"
}

DEBUG: 1:45:53 PM - [ConfigManager] Got [True] from [DisplaySecretsWarning], Module = [], Cmdlet = [].

Id : /subscriptions/84c199f7-1d04-4957-9034-93c275c430e9/resourceGroups/v-praktyagi/providers/Microsoft.Logic/workflows/v-praktyagi-demo
Name : v-praktyagi-demo
Type : Microsoft.Logic/workflows
Location : eastus
ChangedTime : 4/17/2024 1:45:53 PM
CreatedTime : 4/17/2024 1:45:53 PM
AccessEndpoint : https://prod-21.eastus.logic.azure.com:443/workflows/056f739e4e7e489ab832b2a8a57e5dcc
State : Disabled
Definition : {$schema, contentVersion, parameters, triggers…}
Parameters : {}
SkuName :
AppServicePlan :
PlanType :
PlanId :
Version : 08584882453320488535

DEBUG: 1:45:53 PM - [ConfigManager] Got nothing from [DisplayRegionIdentified], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:45:53 PM - [ConfigManager] Got nothing from [CheckForUpgrade], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: Sanitizer took 5.3933ms to process the object of cmdlet Set-AzLogicApp.
DEBUG: AzureQoSEvent: Module: Az.LogicApp:1.5.1; CommandName: Set-AzLogicApp; PSVersion: 7.4.1; IsSuccess: True; Duration: 00:00:02.2818539
DEBUG: 1:45:53 PM - [ConfigManager] Got [True] from [EnableDataCollection], Module = [], Cmdlet = [].
DEBUG: 1:45:53 PM - UpdateAzureLogicAppCommand end processing.
```

### Environment data

```PowerShell
PS /home/prakhar> $PSVersionTable

Name Value
---- -----
PSVersion 7.4.1
PSEdition Core
GitCommitId 7.4.1
OS CBL-Mariner/Linux
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
```

### Module versions

```PowerShell
PS /home/prakhar> Get-Module Az*

ModuleType Version PreRelease Name ExportedCommands
---------- ------- ---------- ---- ----------------
Script 2.17.0 Az.Accounts {Add-AzEnvironment, Clear-AzConfig, Clear-AzContext, Clear-AzDefault…}
Script 7.2.0 Az.Compute {Add-AzImageDataDisk, Add-AzVhd, Add-AzVMAdditionalUnattendContent, Add-AzVMDataDisk…}
Script 1.5.1 Az.LogicApp {Get-AzIntegrationAccount, Get-AzIntegrationAccountAgreement, Get-AzIntegrationAccountAssembly, Get-AzIntegrationAccountBatchConfiguration…}
Script 7.4.1 Az.Network {Add-AzApplicationGatewayAuthenticationCertificate, Add-AzApplicationGatewayBackendAddressPool, Add-AzApplicationGatewayBackendHttpSetting, Add-AzApplicationGatewayBackendSetting…}
Script 6.16.1 Az.Resources {Export-AzResourceGroup, Export-AzTemplateSpec, Get-AzDenyAssignment, Get-AzDeployment…}
Script 6.1.3 Az.Storage {Add-AzRmStorageContainerLegalHold, Add-AzStorageAccountManagementPolicyAction, Add-AzStorageAccountNetworkRule, Close-AzStorageFileHandle…}
Script 1.1.3 Az.Tools.Predictor {Disable-AzPredictor, Enable-AzPredictor, Open-AzPredictorSurvey, Send-AzPredictorRating}
Script 0.0.0.10 AzureAD.Standard.Preview {Add-AzureADApplicationOwner, Add-AzureADDeviceRegisteredOwner, Add-AzureADDeviceRegisteredUser, Add-AzureADDirectoryRoleMember…}
Script 0.9.3 AzurePSDrive
```

### Error output

```PowerShell
PS /home/prakhar> Resolve-AzError
DEBUG: 1:49:04 PM - ResolveError begin processing with ParameterSet 'AnyErrorParameterSet'.
DEBUG: 1:49:04 PM - using account id 'MSI@50342'...
DEBUG: 1:49:04 PM - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:49:04 PM - [ConfigManager] Got [True] from [DisplaySecretsWarning], Module = [], Cmdlet = [].

HistoryId: 2

Message : You cannot call a method on a null-valued expression.
StackTrace : at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0)
at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object
scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)
at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List`1
variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)
at System.Management.Automation.ScriptBlock.DoInvokeReturnAsIs(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Object[] args)
at Microsoft.PowerShell.Commands.PSPropertyExpression.GetValue(PSObject target, Boolean eatExceptions)
Exception : System.Management.Automation.RuntimeException
InvocationInfo : {}
Line : $_.Sku.Plan.Id.ToString()
Position : At line:1 char:1
+ $_.Sku.Plan.Id.ToString()
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId : 2

DEBUG: 1:49:04 PM - [ConfigManager] Got [True] from [DisplaySecretsWarning], Module = [], Cmdlet = [].
Message : You cannot call a method on a null-valued expression.
StackTrace : at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0)
at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object
scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)
at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List`1
variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)
at System.Management.Automation.ScriptBlock.DoInvokeReturnAsIs(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Object[] args)
at Microsoft.PowerShell.Commands.PSPropertyExpression.GetValue(PSObject target, Boolean eatExceptions)
Exception : System.Management.Automation.RuntimeException
InvocationInfo : {}
Line : $_.Sku.Plan.Type.ToString()
Position : At line:1 char:1
+ $_.Sku.Plan.Type.ToString()
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId : 2

DEBUG: 1:49:04 PM - [ConfigManager] Got [True] from [DisplaySecretsWarning], Module = [], Cmdlet = [].
Message : You cannot call a method on a null-valued expression.
StackTrace : at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0)
at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object
scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)
at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List`1
variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)
at System.Management.Automation.ScriptBlock.DoInvokeReturnAsIs(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Object[] args)
at Microsoft.PowerShell.Commands.PSPropertyExpression.GetValue(PSObject target, Boolean eatExceptions)
Exception : System.Management.Automation.RuntimeException
InvocationInfo : {}
Line : $_.Sku.Plan.Name.ToString()
Position : At line:1 char:1
+ $_.Sku.Plan.Name.ToString()
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId : 2

DEBUG: 1:49:04 PM - [ConfigManager] Got [True] from [DisplaySecretsWarning], Module = [], Cmdlet = [].
Message : You cannot call a method on a null-valued expression.
StackTrace : at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0)
at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object
scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)
at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List`1
variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)
at System.Management.Automation.ScriptBlock.DoInvokeReturnAsIs(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Object[] args)
at Microsoft.PowerShell.Commands.PSPropertyExpression.GetValue(PSObject target, Boolean eatExceptions)
Exception : System.Management.Automation.RuntimeException
InvocationInfo : {}
Line : $_.Sku.Name.ToString()
Position : At line:1 char:1
+ $_.Sku.Name.ToString()
+ ~~~~~~~~~~~~~~~~~~~~~~
HistoryId : 2

DEBUG: 1:49:04 PM - [ConfigManager] Got nothing from [DisplayRegionIdentified], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 1:49:04 PM - [ConfigManager] Got nothing from [CheckForUpgrade], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: Sanitizer took 5.4034ms to process the object of cmdlet Resolve-AzError.
DEBUG: AzureQoSEvent: Module: Az.Accounts:2.17.0; CommandName: Resolve-AzError; PSVersion: 7.4.1; IsSuccess: True; Duration: 00:00:00.0357773
DEBUG: 1:49:04 PM - [ConfigManager] Got [True] from [EnableDataCollection], Module = [], Cmdlet = [].
DEBUG: 1:49:04 PM - ResolveError end processing.
```

Contributor guide

Open the contributing guide

Research direction

Start at the Set-AzLogicApp command and its Consumption parameter set, then compare the debug GET response with the update request made when changing State. Reproduce the command against a consumption Logic App whose Access Control is set to “Only other logic apps”; done means disabling or enabling it no longer changes that setting to “Any other IP”.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.