<?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: Service Principal for Semantic model Refresh Issue in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Service-Principal-for-Semantic-model-Refresh-Issue/m-p/4918826#M14567</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1380740"&gt;@JibinSebastian&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;H3&gt;Please find the steps to Fix the issue&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Recreate the connection&lt;/STRONG&gt;:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Go to the workspace → Create new connection&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Use:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Tenant ID&lt;/STRONG&gt; = Directory ID&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Service Principal ID&lt;/STRONG&gt; = Application (Client) ID&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Service Principal Key&lt;/STRONG&gt; = Client secret value&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Verify permissions&lt;/STRONG&gt;:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;The SP must be assigned to the &lt;STRONG&gt;workspace&lt;/STRONG&gt; (Contributor or Member role)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Ensure the SP is allowed under tenant settings:&lt;BR /&gt;&lt;STRONG&gt;Admin portal → Tenant settings → Service principals&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Use the SP to bind the semantic model&lt;/STRONG&gt;:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;When using the SP for scheduled refresh, make sure it’s added as a &lt;STRONG&gt;Gateway Connection credential&lt;/STRONG&gt; (if applicable).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;HR /&gt;&lt;P&gt;If everything is configured correctly and the token issue persists, you might also want to:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Generate a new client secret&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Clear and reconfigure&lt;/STRONG&gt; the connection using updated credentials&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If this post helps, then please appreciate giving a &lt;STRONG&gt;Kudos&lt;/STRONG&gt; or accepting as a &lt;STRONG&gt;Solution&lt;/STRONG&gt; to help the other members find it more quickly.&lt;BR /&gt;If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Jan 2026 17:39:46 GMT</pubDate>
    <dc:creator>ssrithar</dc:creator>
    <dc:date>2026-01-15T17:39:46Z</dc:date>
    <item>
      <title>Service Principal for Semantic model Refresh Issue</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Service-Principal-for-Semantic-model-Refresh-Issue/m-p/4918216#M14563</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;We are trying to set up a service principal for semantic model refresh. We have created the service principal ID, a security group, and added the service principal to all the required workspaces.&lt;/P&gt;&lt;P&gt;However, when we try to create a new connection for the semantic model to the Gold Fabric Warehouse using the service principal, we encounter the following error:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;“Unable to create connection for the following reason: It looks like the refresh token expired. Please go to this dataset’s settings page and re-enter the credentials for the data source.”&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Are we missing something in the setup?&lt;/P&gt;&lt;P&gt;Specifically, what value should be provided in the &lt;STRONG&gt;Service Principal ID&lt;/STRONG&gt; field?&lt;/P&gt;&lt;P&gt;Could someone help me understand the correct way to configure this? I am new to Fabric and currently managing Fabric on my own in the organization. We do have a tenant admin who has already created the service principal.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JibinSebastian_0-1768406463779.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1320980i1C85BBD4276AE3E1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JibinSebastian_0-1768406463779.png" alt="JibinSebastian_0-1768406463779.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jan 2026 16:05:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Service-Principal-for-Semantic-model-Refresh-Issue/m-p/4918216#M14563</guid>
      <dc:creator>JibinSebastian</dc:creator>
      <dc:date>2026-01-14T16:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Service Principal for Semantic model Refresh Issue</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Service-Principal-for-Semantic-model-Refresh-Issue/m-p/4918278#M14564</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1380740"&gt;@JibinSebastian&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;You would have to enter the Application (Client) ID of the Azure AD app registration you created (not the object ID).&lt;BR /&gt;This is exactly what “Service principal ID” refers to in the UI.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So you should have:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Tenant ID&lt;/STRONG&gt; = Directory ID from Azure AD&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Service Principal ID&lt;/STRONG&gt; = Application (Client) ID&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Service Principal Key &lt;/STRONG&gt;= the client secret under Certificates &amp;amp; secrets&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your tenant admin who has created the service pricipal SPN for you should have shared the client secret already.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps - please appreciate by leaving a &lt;STRONG&gt;Kudos&lt;/STRONG&gt; or accepting as a &lt;STRONG&gt;Solution&lt;/STRONG&gt;!&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 14 Jan 2026 18:24:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Service-Principal-for-Semantic-model-Refresh-Issue/m-p/4918278#M14564</guid>
      <dc:creator>deborshi_nag</dc:creator>
      <dc:date>2026-01-14T18:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Service Principal for Semantic model Refresh Issue</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Service-Principal-for-Semantic-model-Refresh-Issue/m-p/4918826#M14567</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1380740"&gt;@JibinSebastian&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;H3&gt;Please find the steps to Fix the issue&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Recreate the connection&lt;/STRONG&gt;:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Go to the workspace → Create new connection&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Use:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Tenant ID&lt;/STRONG&gt; = Directory ID&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Service Principal ID&lt;/STRONG&gt; = Application (Client) ID&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Service Principal Key&lt;/STRONG&gt; = Client secret value&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Verify permissions&lt;/STRONG&gt;:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;The SP must be assigned to the &lt;STRONG&gt;workspace&lt;/STRONG&gt; (Contributor or Member role)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Ensure the SP is allowed under tenant settings:&lt;BR /&gt;&lt;STRONG&gt;Admin portal → Tenant settings → Service principals&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Use the SP to bind the semantic model&lt;/STRONG&gt;:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;When using the SP for scheduled refresh, make sure it’s added as a &lt;STRONG&gt;Gateway Connection credential&lt;/STRONG&gt; (if applicable).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;HR /&gt;&lt;P&gt;If everything is configured correctly and the token issue persists, you might also want to:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Generate a new client secret&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Clear and reconfigure&lt;/STRONG&gt; the connection using updated credentials&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If this post helps, then please appreciate giving a &lt;STRONG&gt;Kudos&lt;/STRONG&gt; or accepting as a &lt;STRONG&gt;Solution&lt;/STRONG&gt; to help the other members find it more quickly.&lt;BR /&gt;If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2026 17:39:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Service-Principal-for-Semantic-model-Refresh-Issue/m-p/4918826#M14567</guid>
      <dc:creator>ssrithar</dc:creator>
      <dc:date>2026-01-15T17:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Service Principal for Semantic model Refresh Issue</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Service-Principal-for-Semantic-model-Refresh-Issue/m-p/4920710#M14621</link>
      <description>&lt;P&gt;Answer :&amp;nbsp;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;STRONG&gt;1. Azure AD / Entra ID setup&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;App Registration should be have configure like below bcz its most confusing part which we need to make sure for correct way&lt;/DIV&gt;&lt;DIV&gt;Application (client) ID = Service Principal ID&lt;/DIV&gt;&lt;DIV&gt;Directory (tenant) ID = Tenant ID&lt;/DIV&gt;&lt;DIV&gt;Client Secret = use the secret VALUE, not the secret ID&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Note :&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Allow Power Bi Api read-Write permission to this service Principal&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;2. Now we have to make some Tenant setting changes in Power Bi service&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;* Fabric / Power BI tenant admin must enable:&lt;/DIV&gt;&lt;DIV&gt;* Allow service principals to use Fabric / Power BI APIs&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Steps:&lt;/DIV&gt;&lt;DIV&gt;1) Power BI Admin Portal&lt;/DIV&gt;&lt;DIV&gt;2) Tenant settings&lt;/DIV&gt;&lt;DIV&gt;3) Developer settings&lt;/DIV&gt;&lt;DIV&gt;4) Allow service principals to use Power BI APIs&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Note :&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If this is disabled, service principal auth will always fail.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;3. Workspace permissions in Power Bi Service :-&lt;/STRONG&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;The service principal must be added to the workspace as Contributor (minimum) Or Member or Admin but not Read because it won't work to refresh the Datasets&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jan 2026 10:55:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Service-Principal-for-Semantic-model-Refresh-Issue/m-p/4920710#M14621</guid>
      <dc:creator>Ray_Minds</dc:creator>
      <dc:date>2026-01-19T10:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: Service Principal for Semantic model Refresh Issue</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Service-Principal-for-Semantic-model-Refresh-Issue/m-p/4920875#M14626</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1380740"&gt;@JibinSebastian&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Following up to confirm if the earlier responses addressed your query. If not, please share your questions and we’ll assist further.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jan 2026 13:16:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Service-Principal-for-Semantic-model-Refresh-Issue/m-p/4920875#M14626</guid>
      <dc:creator>v-aatheeque</dc:creator>
      <dc:date>2026-01-19T13:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Service Principal for Semantic model Refresh Issue</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Service-Principal-for-Semantic-model-Refresh-Issue/m-p/4923313#M14701</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1380740"&gt;@JibinSebastian&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN data-teams="true"&gt;We wanted to follow up to check if you’ve had an opportunity to review the previous responses. If you require further assistance, please don’t hesitate to let us know.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2026 09:48:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Service-Principal-for-Semantic-model-Refresh-Issue/m-p/4923313#M14701</guid>
      <dc:creator>v-aatheeque</dc:creator>
      <dc:date>2026-01-22T09:48:38Z</dc:date>
    </item>
  </channel>
</rss>

