Forum Discussion
Db111
1 year agoFrequent Visitor
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
- 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"]}}
Db111
1 year agoFrequent Visitor
Thanks but can you confirm what audience name I should use if it is a generic one for Power BI, or alternatively if it is unique per environment how I should ascertain it?
- Anonymous1 year agoNot applicable
Hi Db111,
Please try using https://management.azure.com/
your Logic App will request an access token appropriate for Azure Management API operations, resolving the authentication error you're encountering.
If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a KUDOS. Feel free to reach out if you need further assistance.
Thanks and Regards