Forum Discussion

Db111's avatar
Db111
Frequent Visitor
1 year ago
Solved

What is the Logic App audience name for Power Bi fabric

I see Fabric Change the Game: Revolutionizing Fabric with REST API, Part 1 | Microsoft Fabric Blog | Microsoft Fabric but it doesn;t mention the audience name. Thanks David
  • Db111's avatar
    Db111
    1 year ago

    You can't do the via HTTP but need to use the in built Azure resource manager 'Invoke resource operation' and set the action name to e.g. resume 

     
      "type": "ApiConnection",
      "inputs": {
        "host": {
          "connection": {
            "referenceName": "arm"
          }
        },
        "method": "post",
        "path": "/subscriptions/@{encodeURIComponent('xxxx-xxxx-xxxxx-xxxexxxxx')}/resourcegroups/@{encodeURIComponent('YourFabric')}/providers/@{encodeURIComponent('Microsoft.Fabric')}/@{encodeURIComponent('capacities/fabric1')}/@{encodeURIComponent('resume')}",
        "queries": {
          "x-ms-api-version": "2023-11-01"
        }
      },
      "runAfter": {
        "For_each": [
          "Succeeded",
          "Failed"
        ]
      }
    }