Skip to content

Commit 214cffd

Browse files
authored
Merge pull request #82 from LogicAppCollaborative/development
New release
2 parents 5c8238f + f812fd0 commit 214cffd

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

PsLogicAppExtractor/internal/tasks/All/All.task.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2367,6 +2367,10 @@ Task -Name "Set-Arm.Connections.ManagedApis.Storage.BlobOrFile.ListKey.AsArmObje
23672367
$armObj.resources[0].properties.parameters.'$connections'.value.PsObject.Properties | ForEach-Object {
23682368

23692369
if ($_.Value.id -like "*managedApis/azureblob*" -or $_.Value.id -like "*managedApis/azurefile*") {
2370+
2371+
# This should avoid Managed Identity based connections
2372+
if ($_.Value.connectionProperties.authentication.type -eq "ManagedServiceIdentity") { return }
2373+
23702374
$found = $true
23712375

23722376
# Fetch the details from the connection object

PsLogicAppExtractor/internal/tasks/Set-Arm.Connections.ManagedApis.Storage.BlobOrFile.ListKey.AsArmObject.task.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ Task -Name "Set-Arm.Connections.ManagedApis.Storage.BlobOrFile.ListKey.AsArmObje
2525
$armObj.resources[0].properties.parameters.'$connections'.value.PsObject.Properties | ForEach-Object {
2626

2727
if ($_.Value.id -like "*managedApis/azureblob*" -or $_.Value.id -like "*managedApis/azurefile*") {
28+
29+
# This should avoid Managed Identity based connections
30+
if ($_.Value.connectionProperties.authentication.type -eq "ManagedServiceIdentity") { return }
31+
2832
$found = $true
2933

3034
# Fetch the details from the connection object

0 commit comments

Comments
 (0)