Forum Discussion

Clampazzo's avatar
Clampazzo
Resolver I
2 years ago

How do I bind a cloud connection to a semantic model?

I have been using the bind gateway to group REST API to dynamically bind gateways to semantic models that I have created with code/XMLA Endpoint.  This has been working great so far.  

 

However, we are now introducing databricks and cloud connections to our system and I noticed that I can't seem to use bind gateway to group with cloud connections.  Since there isn't a gateway connection, just a connection...  I could be mistaken but how can I bind a cloud connection like databricks to a semantic model with code?

 

Gateways - Get Gateways - REST API (Power BI Power BI REST APIs) | Microsoft Learn

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi  Clampazzo ,

     

    According to your documentation and requirements, you have already found the PBI rest API for binding gateway and obtaining gateway, and you want to implement some automated batch operation methods? According to our research and testing, you can consider using Power Automate's ‘HTTP’ action to configure the corresponding PBI rest API connection, collate the obtained json to do the for each loop traversal operation, you can try to refer to the official document:

    HTTP actions reference - Power Automate | Microsoft Learn

     

    Best Regards,

    Liu Yang

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

    • Clampazzo's avatar
      Clampazzo
      Resolver I

      Thanks for the reply Anonymous , Yes I found the REST API's to automate binding gateways but I do not see how to bind one that is just a cloud connection.  I don't see rest api's that correspond to just connections.  

      I can easily run the commands, I'm not having problems with that.  The question is, how do I bind a cloud connection like I would an on premise gateway?