<?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: Update connection , dataset credentials Using Rest API in Service</title>
    <link>https://community.fabric.microsoft.com/t5/Service/Update-connection-dataset-credentials-Using-Rest-API/m-p/4411228#M265755</link>
    <description>&lt;P&gt;Yes updating credentials is possible using the new Update Connections api ,It works for Power BI.&lt;/P&gt;&lt;P&gt;ShareableCloud connection&amp;nbsp;&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/rest/api/fabric/core/connections/update-connection?tabs=HTTP" target="_blank"&gt;Connections - Update Connection - REST API (Core) | Microsoft Learn&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Feb 2025 14:11:50 GMT</pubDate>
    <dc:creator>Amy007</dc:creator>
    <dc:date>2025-02-14T14:11:50Z</dc:date>
    <item>
      <title>Update connection , dataset credentials Using Rest API</title>
      <link>https://community.fabric.microsoft.com/t5/Service/Update-connection-dataset-credentials-Using-Rest-API/m-p/4360263#M261169</link>
      <description>&lt;P&gt;Hello dear members,&lt;BR /&gt;&lt;BR /&gt;I hope you are doing well.&lt;BR /&gt;&lt;BR /&gt;Every 90 days there is a company policy to change our passwords. Every time we need to update manually power bi connections.&lt;BR /&gt;Is there a way to use Rest Api to update the credentials programmatically? Ususally the data source is a cloud service like Aure and not on prem.&amp;nbsp;&lt;BR /&gt;If not is there any other way to achieve that?&lt;BR /&gt;&lt;BR /&gt;Thank you in advance&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jan 2025 16:45:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Service/Update-connection-dataset-credentials-Using-Rest-API/m-p/4360263#M261169</guid>
      <dc:creator>Dimitris_Kats</dc:creator>
      <dc:date>2025-01-12T16:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Update connection , dataset credentials Using Rest API</title>
      <link>https://community.fabric.microsoft.com/t5/Service/Update-connection-dataset-credentials-Using-Rest-API/m-p/4360361#M261172</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you looked at using a service principal account where the password only expires every two years? This will allow you to not have to change the password every 90 days.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL class=""&gt;
&lt;LI&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/admin/read-only-apis-service-principal-authentication" target="_blank" rel="noreferrer noopener"&gt;Enable Service Principal Authentication for Read-Only Admin API’s&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal" target="_blank" rel="noreferrer noopener"&gt;Create an Azure AD app&lt;/A&gt;
&lt;UL&gt;
&lt;LI&gt;Ensure there are no Power BI admin-consent required permissions on the application&lt;/LI&gt;
&lt;LI&gt;Create a client secret / key and copy the value for later use&lt;/LI&gt;
&lt;LI&gt;Create a new Security Group in AD, add the app to the group&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/admin/service-admin-enhanced-metadata-scanning#enabling-enhanced-metadata-scanning" target="_blank" rel="noreferrer noopener"&gt;Enable Allow Service Principals to use read-only Power BI admin API’s in the Power BI Tenant&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="324110" data-lia-user-login="Dimitris_Kats" class="lia-mention lia-mention-user"&gt;Dimitris_Kats&lt;/a&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jan 2025 22:52:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Service/Update-connection-dataset-credentials-Using-Rest-API/m-p/4360361#M261172</guid>
      <dc:creator>GilbertQ</dc:creator>
      <dc:date>2025-01-12T22:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Update connection , dataset credentials Using Rest API</title>
      <link>https://community.fabric.microsoft.com/t5/Service/Update-connection-dataset-credentials-Using-Rest-API/m-p/4360985#M261208</link>
      <description>&lt;P&gt;Thank you so much&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="38" data-lia-user-login="GilbertQ" class="lia-mention lia-mention-user"&gt;GilbertQ&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;This is very helpful. I will investigate that option for sure.&lt;BR /&gt;Since I was requested to update the credentials using Rest Api, I was wondering if this is possible and how.&lt;BR /&gt;&lt;BR /&gt;Thank you so much again &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 07:18:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Service/Update-connection-dataset-credentials-Using-Rest-API/m-p/4360985#M261208</guid>
      <dc:creator>Dimitris_Kats</dc:creator>
      <dc:date>2025-01-13T07:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: Update connection , dataset credentials Using Rest API</title>
      <link>https://community.fabric.microsoft.com/t5/Service/Update-connection-dataset-credentials-Using-Rest-API/m-p/4365067#M261537</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="324110" data-lia-user-login="Dimitris_Kats" class="lia-mention lia-mention-user"&gt;Dimitris_Kats&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to Microsoft Fabric Community Forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer to the document below for instructions on updating dataset credentials programmatically.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/update-datasources" target="_blank"&gt;https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/update-datasources&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Did I answer your question? Mark my post as a solution, this will help others!&lt;BR /&gt;If my response(s) assisted you in any way, don't forget to give "Kudos"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Vinay Pabbu&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Vinay Pabbu&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 12:41:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Service/Update-connection-dataset-credentials-Using-Rest-API/m-p/4365067#M261537</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-01-15T12:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Update connection , dataset credentials Using Rest API</title>
      <link>https://community.fabric.microsoft.com/t5/Service/Update-connection-dataset-credentials-Using-Rest-API/m-p/4375556#M262462</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="324110" data-lia-user-login="Dimitris_Kats" class="lia-mention lia-mention-user"&gt;Dimitris_Kats&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?&lt;BR /&gt;If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Vinay Pabbu&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 11:41:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Service/Update-connection-dataset-credentials-Using-Rest-API/m-p/4375556#M262462</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-01-22T11:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: Update connection , dataset credentials Using Rest API</title>
      <link>https://community.fabric.microsoft.com/t5/Service/Update-connection-dataset-credentials-Using-Rest-API/m-p/4382825#M263076</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="324110" data-lia-user-login="Dimitris_Kats" class="lia-mention lia-mention-user"&gt;Dimitris_Kats&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;May I ask if you have gotten this issue resolved?&lt;/P&gt;
&lt;P&gt;If it is solved, please mark the helpful reply or share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Vinay Pabbu&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 16:20:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Service/Update-connection-dataset-credentials-Using-Rest-API/m-p/4382825#M263076</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-01-27T16:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Update connection , dataset credentials Using Rest API</title>
      <link>https://community.fabric.microsoft.com/t5/Service/Update-connection-dataset-credentials-Using-Rest-API/m-p/4390033#M263818</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="324110" data-lia-user-login="Dimitris_Kats" class="lia-mention lia-mention-user"&gt;Dimitris_Kats&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?&lt;BR /&gt;If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Vinay Pabbu&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2025 14:15:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Service/Update-connection-dataset-credentials-Using-Rest-API/m-p/4390033#M263818</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-01-31T14:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Update connection , dataset credentials Using Rest API</title>
      <link>https://community.fabric.microsoft.com/t5/Service/Update-connection-dataset-credentials-Using-Rest-API/m-p/4411228#M265755</link>
      <description>&lt;P&gt;Yes updating credentials is possible using the new Update Connections api ,It works for Power BI.&lt;/P&gt;&lt;P&gt;ShareableCloud connection&amp;nbsp;&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/rest/api/fabric/core/connections/update-connection?tabs=HTTP" target="_blank"&gt;Connections - Update Connection - REST API (Core) | Microsoft Learn&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2025 14:11:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Service/Update-connection-dataset-credentials-Using-Rest-API/m-p/4411228#M265755</guid>
      <dc:creator>Amy007</dc:creator>
      <dc:date>2025-02-14T14:11:50Z</dc:date>
    </item>
  </channel>
</rss>

