<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Create Cloud Connection via Rest Api in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Create-Cloud-Connection-via-Rest-Api/m-p/4241955#M57844</link>
    <description>&lt;P&gt;The connection that is created, does not have credentials in it so Semantic Model cannot refresh itself. This is the message you get on the Semantic Model.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="udione_0-1728935872820.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1182979iDD76CA27166FF500/image-size/medium?v=v2&amp;amp;px=400" role="button" title="udione_0-1728935872820.png" alt="udione_0-1728935872820.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You need to create anoother connection manually and set for example service principal credentials to make the Semantic Model refresh data automatically.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Connection I'm using here is to of type Lakehouse Sql Endpoint.&lt;/P&gt;</description>
    <pubDate>Mon, 14 Oct 2024 20:02:57 GMT</pubDate>
    <dc:creator>udione</dc:creator>
    <dc:date>2024-10-14T20:02:57Z</dc:date>
    <item>
      <title>Create Cloud Connection via Rest Api</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Create-Cloud-Connection-via-Rest-Api/m-p/4240699#M57822</link>
      <description>&lt;P&gt;I'd like to create Cloud Connection to my lakehouse via REST api. The feature I'm referring to is described here&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/power-bi/connect-data/service-create-share-cloud-data-sources#create-a-shareable-cloud-connection" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/power-bi/connect-data/service-create-share-cloud-data-sources#create-a-shareable-cloud-connection&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to use this in automated multiple workspace createon as when recreating Semantic model from deployment pipeline, default connection is linked which does not have service principal details and semantic model cannot refresh itself.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've checked number of methods on the api that create datasources but they all require passing gatewayId, which I don't have as this is not a gateway connection. (I've tried to use guid from sniffed&amp;nbsp;gatewayCluster that is used by web ui - but no luck).&lt;/P&gt;&lt;P&gt;Is my scenario supported by rest api or this has to be done manually?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 14:54:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Create-Cloud-Connection-via-Rest-Api/m-p/4240699#M57822</guid>
      <dc:creator>udione</dc:creator>
      <dc:date>2024-10-14T14:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Create Cloud Connection via Rest Api</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Create-Cloud-Connection-via-Rest-Api/m-p/4241945#M57841</link>
      <description>&lt;P&gt;Why do you need to "create"&amp;nbsp; that cloud connection?&amp;nbsp; It is automatically "created"&amp;nbsp; in the service, if you want it or not.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 19:42:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Create-Cloud-Connection-via-Rest-Api/m-p/4241945#M57841</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-10-14T19:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Create Cloud Connection via Rest Api</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Create-Cloud-Connection-via-Rest-Api/m-p/4241955#M57844</link>
      <description>&lt;P&gt;The connection that is created, does not have credentials in it so Semantic Model cannot refresh itself. This is the message you get on the Semantic Model.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="udione_0-1728935872820.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1182979iDD76CA27166FF500/image-size/medium?v=v2&amp;amp;px=400" role="button" title="udione_0-1728935872820.png" alt="udione_0-1728935872820.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You need to create anoother connection manually and set for example service principal credentials to make the Semantic Model refresh data automatically.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Connection I'm using here is to of type Lakehouse Sql Endpoint.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 20:02:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Create-Cloud-Connection-via-Rest-Api/m-p/4241955#M57844</guid>
      <dc:creator>udione</dc:creator>
      <dc:date>2024-10-14T20:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Create Cloud Connection via Rest Api</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Create-Cloud-Connection-via-Rest-Api/m-p/4390066#M59293</link>
      <description>&lt;P&gt;I am having the same issue, did someone manage to get a solution for this?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2025 14:30:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Create-Cloud-Connection-via-Rest-Api/m-p/4390066#M59293</guid>
      <dc:creator>sdemei</dc:creator>
      <dc:date>2025-01-31T14:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: Create Cloud Connection via Rest Api</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Create-Cloud-Connection-via-Rest-Api/m-p/4390206#M59295</link>
      <description>&lt;P&gt;Post json in this format:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"connectionDetails": {&lt;BR /&gt;"type": "SQL",&lt;BR /&gt;"creationMethod": "SQL",&lt;BR /&gt;"parameters": [&lt;BR /&gt;{&lt;BR /&gt;"dataType": "Text",&lt;BR /&gt;"name": "server",&lt;BR /&gt;"value": "Lakehouse CONNECTIONSTRING"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"dataType": "Text",&lt;BR /&gt;"name": "database",&lt;BR /&gt;"value": "LAKEHOUSENAME"&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;},&lt;BR /&gt;"connectivityType": "ShareableCloud",&lt;BR /&gt;"credentialDetails": {&lt;BR /&gt;"singleSignOnType": "None",&lt;BR /&gt;"connectionEncryption": "NotEncrypted",&lt;BR /&gt;"skipTestConnection": false,&lt;BR /&gt;"credentials": {&lt;BR /&gt;"credentialType": "ServicePrincipal",&lt;BR /&gt;"servicePrincipalClientId": "CLIENTID",&lt;BR /&gt;"tenantId": "TENANTID",&lt;BR /&gt;"servicePrincipalSecret": "SECRET"&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"displayName": "CONNECTIONNAME",&lt;BR /&gt;"privacyLevel": "Organizational"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to&amp;nbsp;&lt;A href="https://api.fabric.microsoft.com/v1/connections" target="_blank" rel="noopener"&gt;https://api.fabric.microsoft.com/v1/connections&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2025 15:37:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Create-Cloud-Connection-via-Rest-Api/m-p/4390206#M59295</guid>
      <dc:creator>udione</dc:creator>
      <dc:date>2025-01-31T15:37:31Z</dc:date>
    </item>
  </channel>
</rss>

