<?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 Is it possible to authenticate with Service Principal-Sharepoint connection to a Teams group path? in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Is-it-possible-to-authenticate-with-Service-Principal-Sharepoint/m-p/4142865#M5320</link>
    <description>&lt;P&gt;I need to register an APP and allow it to access a Sharepoint site (as a Teams group). I have this documentation to follow:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-factory/connector-sharepoint-online-list#step-1-specify-the-new-connection-name-type-and-url" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/fabric/data-factory/connector-sharepoint-online-list#step-1-specify-the-new-connection-name-type-and-url&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And it says the Sharepoint URL must have this format:&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://contoso.sharepoint.com/sites/" target="_blank" rel="noopener"&gt;https://contoso.sharepoint.com/sites/&lt;/A&gt;&lt;EM&gt;siteName&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;However, when you create a new Teams group, the associated Sharepoint site has the following format: &lt;SPAN&gt;&lt;A href="https://contoso.sharepoint.com/teams/" target="_blank" rel="noopener"&gt;https://contoso.sharepoint.com/teams/&lt;/A&gt;&lt;EM&gt;teamsGroupName.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having issues allowing registered APP to access this Sharepoint-Teams group content.&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;</description>
    <pubDate>Tue, 10 Sep 2024 13:21:55 GMT</pubDate>
    <dc:creator>amaaiia</dc:creator>
    <dc:date>2024-09-10T13:21:55Z</dc:date>
    <item>
      <title>Is it possible to authenticate with Service Principal-Sharepoint connection to a Teams group path?</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Is-it-possible-to-authenticate-with-Service-Principal-Sharepoint/m-p/4142865#M5320</link>
      <description>&lt;P&gt;I need to register an APP and allow it to access a Sharepoint site (as a Teams group). I have this documentation to follow:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-factory/connector-sharepoint-online-list#step-1-specify-the-new-connection-name-type-and-url" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/fabric/data-factory/connector-sharepoint-online-list#step-1-specify-the-new-connection-name-type-and-url&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And it says the Sharepoint URL must have this format:&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://contoso.sharepoint.com/sites/" target="_blank" rel="noopener"&gt;https://contoso.sharepoint.com/sites/&lt;/A&gt;&lt;EM&gt;siteName&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;However, when you create a new Teams group, the associated Sharepoint site has the following format: &lt;SPAN&gt;&lt;A href="https://contoso.sharepoint.com/teams/" target="_blank" rel="noopener"&gt;https://contoso.sharepoint.com/teams/&lt;/A&gt;&lt;EM&gt;teamsGroupName.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having issues allowing registered APP to access this Sharepoint-Teams group content.&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 13:21:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Is-it-possible-to-authenticate-with-Service-Principal-Sharepoint/m-p/4142865#M5320</guid>
      <dc:creator>amaaiia</dc:creator>
      <dc:date>2024-09-10T13:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to authenticate with Service Principal-Sharepoint connection to a Teams group path?</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Is-it-possible-to-authenticate-with-Service-Principal-Sharepoint/m-p/4143803#M5333</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="686932" data-lia-user-login="amaaiia" class="lia-mention lia-mention-user"&gt;amaaiia&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I think you can do the steps below:&lt;/P&gt;
&lt;P&gt;1. Register the App in Azure AD:&lt;BR /&gt;Go to the Azure portal.&lt;BR /&gt;Navigate to Azure Active Directory &amp;gt; App registrations &amp;gt; New registration.&lt;BR /&gt;Fill in the required details and register the app.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Grant Permissions to the App:&lt;BR /&gt;After registering the app, go to the API permissions section.&lt;BR /&gt;Add the necessary permissions for SharePoint, such as Sites.Read.All or Sites.FullControl.All.&lt;BR /&gt;Grant admin consent for the permissions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Configure the SharePoint Site:&lt;BR /&gt;Navigate to the SharePoint site associated with your Teams group.&lt;BR /&gt;Go to Site permissions and add the registered app with the required permissions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4. Use the Correct URL Format:&lt;BR /&gt;When configuring the app in Fabric Data Factory, use the URL format specific to your Teams group, e.g., &lt;A href="https://contoso.sharepoint.com/teams/teamsGroupName" target="_blank"&gt;https://contoso.sharepoint.com/teams/teamsGroupName&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;5. Set Up the Connection in Fabric Data Factory:&lt;BR /&gt;In Fabric Data Factory, go to the Manage section.&lt;BR /&gt;Select Linked services and create a new linked service for SharePoint.&lt;BR /&gt;Use the registered app’s credentials and the correct SharePoint site URL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Yilong Zhou&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 01:26:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Is-it-possible-to-authenticate-with-Service-Principal-Sharepoint/m-p/4143803#M5333</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-11T01:26:54Z</dc:date>
    </item>
  </channel>
</rss>

