Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Logic Apps Microsoft Fabric Capacity is able to pause but not able to Resume the same. #1257

Open
TRILPOWERBI opened this issue Dec 3, 2024 · 1 comment

Comments

@TRILPOWERBI
Copy link

TRILPOWERBI commented Dec 3, 2024

Describe the Bug with repro steps

Using Logic Apps Microsoft Fabric Capacity is able to pause but not able to Resume the same.

What type of Logic App Is this happening in?

Consumption (Portal)

Which operating system are you using?

Windows

Are you using new designer or old designer

New Designer

Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg

Yes

Workflow JSON

{
    "definition": {
        "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
        "contentVersion": "1.0.0.0",
        "triggers": {
            "Recurrence": {
                "type": "Recurrence",
                "recurrence": {
                    "frequency": "Day",
                    "interval": 1,
                    "schedule": {
                        "hours": [
                            "6"
                        ],
                        "minutes": [
                            0
                        ]
                    },
                    "startTime": "2024-12-02T10:00:00Z",
                    "timeZone": "India Standard Time"
                }
            }
        },
        "actions": {
            "Condition": {
                "type": "If",
                "expression": {
                    "and": [
                        {
                            "equals": [
                                "@body('HTTP_GET_Fabric_Capacity_Status').properties.state",
                                "Active"
                            ]
                        }
                    ]
                },
                "actions": {
                    "HTTP_POST_Pause_Fabric_Capacity": {
                        "type": "Http",
                        "inputs": {
                            "uri": "https://management.azure.com/subscriptions/dc0864d7-bdb6-4bec-8179-7d8ef88f35b9/resourceGroups/fabricBI/providers/Microsoft.Fabric/capacities/trilfabric/suspend?api-version=2022-07-01-preview",
                            "method": "POST",
                            "authentication": {
                                "audience": "https://management.azure.com",
                                "type": "ManagedServiceIdentity"
                            }
                        },
                        "runtimeConfiguration": {
                            "contentTransfer": {
                                "transferMode": "Chunked"
                            }
                        }
                    }
                },
                "else": {
                    "actions": {
                        "HTTP_Post_Resume_Fabric_Capacity": {
                            "type": "Http",
                            "inputs": {
                                "uri": "https://management.azure.com/subscriptions/dc0864d7-bdb6-4bec-8179-7d8ef88f35b9/resourceGroups/fabricBI/providers/Microsoft.Fabric/capacities/trilfabric/resume?api-version=2023-11-01",
                                "method": "POST"
                            },
                            "runtimeConfiguration": {
                                "contentTransfer": {
                                    "transferMode": "Chunked"
                                }
                            }
                        }
                    }
                },
                "runAfter": {
                    "HTTP_GET_Fabric_Capacity_Status": [
                        "Succeeded"
                    ]
                }
            },
            "HTTP_GET_Fabric_Capacity_Status": {
                "type": "Http",
                "inputs": {
                    "uri": "https://management.azure.com/subscriptions/dc0864d7-bdb6-4bec-8179-7d8ef88f35b9/resourceGroups/fabricBI/providers/Microsoft.Fabric/capacities/trilfabric?api-version=2022-07-01-preview",
                    "method": "GET",
                    "authentication": {
                        "audience": "https://management.azure.com",
                        "type": "ManagedServiceIdentity"
                    }
                },
                "runAfter": {},
                "runtimeConfiguration": {
                    "contentTransfer": {
                        "transferMode": "Chunked"
                    }
                }
            }
        },
        "outputs": {},
        "parameters": {
            "$connections": {
                "type": "Object",
                "defaultValue": {}
            }
        }
    },
    "parameters": {
        "$connections": {
            "value": {}
        }
    }
}

Screenshots or Videos

Image

Browser

Image

Additional context

No response

@hartra344 hartra344 transferred this issue from Azure/LogicAppsUX Dec 4, 2024
@hartra344
Copy link
Collaborator

Moved to the backend issues list as this doesn't appear to be a UX issue

@hartra344 hartra344 closed this as not planned Won't fix, can't repro, duplicate, stale Dec 4, 2024
@hartra344 hartra344 reopened this Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants