<?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: Coding for adding API key from Success Factors to Power BI in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Coding-for-adding-API-key-from-Success-Factors-to-Power-BI/m-p/5190021#M65148</link>
    <description>&lt;P&gt;Thank you for the follow-up post v-priyankata.&amp;nbsp; Yes, I did get the coding resolved using Raw (not JSON).&lt;/P&gt;</description>
    <pubDate>Thu, 28 May 2026 12:54:24 GMT</pubDate>
    <dc:creator>elabach</dc:creator>
    <dc:date>2026-05-28T12:54:24Z</dc:date>
    <item>
      <title>Coding for adding API key from Success Factors to Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Coding-for-adding-API-key-from-Success-Factors-to-Power-BI/m-p/5181602#M65080</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Can anyone offer me some details around the scripting I need to build advanced editor in Power BI to handle an API key from Success Factors Learning Management System?&amp;nbsp; I'm using OData APIs and I have the API token info.&amp;nbsp; I pulled an example script from google but it is not working and I don't have access to any programs to test it due to organizational firewalls. Would be interested in consultancy if required.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2026 15:05:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Coding-for-adding-API-key-from-Success-Factors-to-Power-BI/m-p/5181602#M65080</guid>
      <dc:creator>elabach</dc:creator>
      <dc:date>2026-05-12T15:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Coding for adding API key from Success Factors to Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Coding-for-adding-API-key-from-Success-Factors-to-Power-BI/m-p/5181991#M65083</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1592832"&gt;@elabach&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to the Microsoft Fabric Forum Community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Power BI can connect to SuccessFactors OData APIs, but the right approach depends on how authentication is configured in your tenant.&lt;/P&gt;
&lt;P&gt;Could you share a few more details :&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&amp;nbsp;The endpoint URL you’re trying to connect to&lt;/LI&gt;
&lt;LI&gt;The authentication method being used (Basic, OAuth, Bearer token, API key, etc.)&lt;/LI&gt;
&lt;LI&gt;The exact error message you’re seeing&lt;/LI&gt;
&lt;LI&gt;Your current Power Query (M) script&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;One thing to keep in mind is that the standard OData connector has some authentication limitations. If your SuccessFactors API uses token-based or custom authentication, using Web.Contents in Power Query may be a better option since it gives you more control over request headers.&lt;/P&gt;
&lt;P&gt;If the authentication flow involves multiple steps, such as generating or refreshing tokens, a custom connector may also be worth considering.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;You may also find these Microsoft docs helpful depending on your scenario:&lt;/P&gt;
&lt;P&gt;&lt;A title="https://learn.microsoft.com/en-us/power-query/connectors/odata-feed" href="https://learn.microsoft.com/en-us/power-query/connectors/odata-feed" target="_blank" rel="noreferrer noopener"&gt;Power Query OData Feed connector - Power Query | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A title="https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-connector-extensibility" href="https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-connector-extensibility" target="_blank" rel="noreferrer noopener"&gt;Connector Extensibility in Power BI - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A title="https://learn.microsoft.com/en-us/power-query/connector-authentication" href="https://learn.microsoft.com/en-us/power-query/connector-authentication" target="_blank" rel="noreferrer noopener"&gt;Authentication in desktop apps - Power Query | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A title="https://learn.microsoft.com/en-us/powerquery-m/web-contents" href="https://learn.microsoft.com/en-us/powerquery-m/web-contents" target="_blank" rel="noreferrer noopener"&gt;Web.Contents - PowerQuery M | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you can share the script or error details, the community can help point you in the right direction.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If there are any deviations from your expectation please let us know we are happy to address.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2026 09:47:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Coding-for-adding-API-key-from-Success-Factors-to-Power-BI/m-p/5181991#M65083</guid>
      <dc:creator>v-priyankata</dc:creator>
      <dc:date>2026-05-13T09:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Coding for adding API key from Success Factors to Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Coding-for-adding-API-key-from-Success-Factors-to-Power-BI/m-p/5182131#M65087</link>
      <description>&lt;P&gt;Hello - Thank you for your reply.&amp;nbsp; I have provided requested additional info in &lt;FONT color="#0000FF"&gt;blue&lt;/FONT&gt; below&amp;nbsp; - apologies in advance as I am not a developer and terminology may not be correct.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp;The endpoint URL you’re trying to connect to.&amp;nbsp; &lt;FONT color="#0000FF"&gt;The endplint url is our organization's SAP Learning Management System (Success Factors) and is security protected.&amp;nbsp; Any assistance I receive for coding I will need to put in myself because of firewall issues.&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;The authentication method being used (Basic, OAuth, Bearer token, API key, etc.).&amp;nbsp;&lt;FONT color="#0000FF"&gt; I have a token that includes Success Factors Co. ID, API user ID, client ID and private key provided by our LMS admin.&amp;nbsp; I believe it is designed to pull OData.&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;Your current Power Query (M) script.&amp;nbsp; &amp;nbsp;&lt;FONT color="#0000FF"&gt;I found some example scripting from a blog on SAP community that I have been trying to replicate at:&amp;nbsp;&amp;nbsp;&lt;A href="https://community.sap.com/t5/human-capital-management-blog-posts-by-members/a-step-by-step-guide-to-integrating-sap-successfactors-with-power-bi/ba-p/14323482" target="_blank"&gt;https://community.sap.com/t5/human-capital-management-blog-posts-by-members/a-step-by-step-guide-to-integrating-sap-successfactors-with-power-bi/ba-p/14323482&lt;/A&gt;. I was initially trying to replicate this by putting it in exactly as written.&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;The exact error message you’re seeing.&amp;nbsp;&lt;FONT color="#0000FF"&gt; When I put above scripting into Advanced Editor in PowerBI, I get an error that says &lt;STRONG&gt;DataSourceError:Web Contents failed to get contents from endpoint url&lt;/STRONG&gt;. As mentioned above, I am not familiar with the type of file that this example script is trying to pull from but I am trying to pull 9 columns of data from a LMS report that includes 45 columns of data so I am thinking I need a more customized approach.&amp;nbsp; As I mentioned, I am not a developer and do not have experience in M coding.&amp;nbsp; I am open to any recommendations you may have to help me move forward on this project.&amp;nbsp; Thanks in advance.&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2026 13:53:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Coding-for-adding-API-key-from-Success-Factors-to-Power-BI/m-p/5182131#M65087</guid>
      <dc:creator>elabach</dc:creator>
      <dc:date>2026-05-13T13:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Coding for adding API key from Success Factors to Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Coding-for-adding-API-key-from-Success-Factors-to-Power-BI/m-p/5186055#M65120</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1592832"&gt;@elabach&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the additional details.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Based on what you described, as per my understanding, it sounds like this may be a more complex authentication setup rather than a simple API token that can be plugged directly into Power BI, which could explain why the sample script isn’t working as expected.&lt;/P&gt;
&lt;P&gt;If your LMS admin can provide the exact OData endpoint along with a ready to use Bearer token, connecting via Web.Contents in Power Query may be possible. If the private key is part of a multi-step authentication process, you may need a custom connector or another integration approach instead.&lt;/P&gt;
&lt;P&gt;Given the firewall restrictions as well, I’d suggest checking with your LMS admin on the exact authentication flow and whether they can share a working sample API request. That should make it much easier to determine the right path forward.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If there are any deviations from your expectation please let us know we are happy to address.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2026 09:22:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Coding-for-adding-API-key-from-Success-Factors-to-Power-BI/m-p/5186055#M65120</guid>
      <dc:creator>v-priyankata</dc:creator>
      <dc:date>2026-05-20T09:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: Coding for adding API key from Success Factors to Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Coding-for-adding-API-key-from-Success-Factors-to-Power-BI/m-p/5188306#M65136</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1592832"&gt;@elabach&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to the Microsoft Fabric Forum Community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope the information provided was helpful. If you still have questions, please don't hesitate to reach out to the community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2026 09:34:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Coding-for-adding-API-key-from-Success-Factors-to-Power-BI/m-p/5188306#M65136</guid>
      <dc:creator>v-priyankata</dc:creator>
      <dc:date>2026-05-25T09:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Coding for adding API key from Success Factors to Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Coding-for-adding-API-key-from-Success-Factors-to-Power-BI/m-p/5189745#M65145</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1592832"&gt;@elabach&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope everything’s going smoothly on your end. I wanted to check if the issue got sorted. if you have any other issues please reach community.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2026 06:10:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Coding-for-adding-API-key-from-Success-Factors-to-Power-BI/m-p/5189745#M65145</guid>
      <dc:creator>v-priyankata</dc:creator>
      <dc:date>2026-05-28T06:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Coding for adding API key from Success Factors to Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Coding-for-adding-API-key-from-Success-Factors-to-Power-BI/m-p/5190021#M65148</link>
      <description>&lt;P&gt;Thank you for the follow-up post v-priyankata.&amp;nbsp; Yes, I did get the coding resolved using Raw (not JSON).&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2026 12:54:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Coding-for-adding-API-key-from-Success-Factors-to-Power-BI/m-p/5190021#M65148</guid>
      <dc:creator>elabach</dc:creator>
      <dc:date>2026-05-28T12:54:24Z</dc:date>
    </item>
  </channel>
</rss>

