<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Sharepoint authentication types</title><link>https://community.appian.com/discussions/f/integrations/29078/sharepoint-authentication-types</link><description>Hi, 
 we need to make an integration with SharePoint Online, in form of single system login, with Appian 21.4 
 The customer after done the configuration on SharePont, gave us a PFX certificate and no client secret. 
 But as I read on Appian documentation</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Sharepoint authentication types</title><link>https://community.appian.com/thread/119398?ContentTypeID=1</link><pubDate>Mon, 18 Sep 2023 14:02:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9990de27-9b25-47ab-b437-aef3a9f43f76</guid><dc:creator>antogugl</dc:creator><description>&lt;p&gt;&lt;span class="ui-provider ep axc axd axe axf axg axh axi axj axk axl axm axn axo axp axq axr axs axt axu axv axw axx axy axz aya ayb ayc ayd aye ayf ayg ayh ayi ayj" dir="ltr"&gt;Hi Gabriele, we had the same problem and we resolved it in this way:&lt;br /&gt; In order to generate the client assertion (&lt;a href="https://learn.microsoft.com/en-us/entra/msal/dotnet/acquiring-tokens/web-apps-apis/confidential-client-assertions"&gt;https://learn.microsoft.com/en-us/entra/msal/dotnet/acquiring-tokens/web-apps-apis/confidential-client-assertions),&lt;/a&gt; it&amp;#39;s a JWT, (&lt;a href="https://jwt.io/introduction"&gt;https://jwt.io/introduction&lt;/a&gt;) needed to retrieve the token from Microsoft IDP (&lt;a href="https://learn.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-client-creds-grant-flow#application-permissions)"&gt;learn.microsoft.com/.../v2-oauth2-client-creds-grant-flow&lt;/a&gt;), we created an Appian Plugin Function (&lt;a href="https://docs.appian.com/suite/help/23.2/Custom_Function_Plug-ins.html#handling-credentials-securely)"&gt;docs.appian.com/.../Custom_Function_Plug-ins.html&lt;/a&gt;) that creates the Json Web Token. Then we used HTTP integrations to create folders/documents, check if a folder exists and so on. We used the REST API following the official Microsoft documentation (&lt;a class="fui-Link ___1eya986 f3rmtva f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1hu3pq6 f11qmguv f19f4twv f1tyq0we f1g0x7ka fhxju0i f1qch9an f1cnd47f fqv5qza f1vmzxwi f1o700av f13mvf36 f1cmlufx f9n3di6 f1ids18y f1tx3yz7 f1deo86v f1eh06m1 f1iescvh fhgqx19 f1olyrje f1p93eir f1nev41a f1h8hb77 f1x7u7e9 f10aw75t fsle3fq f17ae5zn" title="https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-folders-and-files-with-rest" href="https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-folders-and-files-with-rest" rel="noopener noreferrer" target="_blank"&gt;https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-folders-and-files-with-rest&lt;/a&gt;). It is not possible to use the OOTB connected system because it requires the parameter &amp;nbsp;&amp;quot;client secret&amp;quot;, but this parameter is not used in &amp;quot;Azure AD app for app-only access&amp;quot;.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sharepoint authentication types</title><link>https://community.appian.com/thread/119395?ContentTypeID=1</link><pubDate>Mon, 18 Sep 2023 13:15:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:eb80b5c9-a874-46db-954e-9367096e1a9f</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Would it be an option to not use the SP connected system, but a HTTP CS and oAuth?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sharepoint authentication types</title><link>https://community.appian.com/thread/119394?ContentTypeID=1</link><pubDate>Mon, 18 Sep 2023 13:04:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:469ea891-edde-453a-9473-ec4b1a603339</guid><dc:creator>Gabriele Minardi</dc:creator><description>&lt;p&gt;Update:&lt;/p&gt;
&lt;p&gt;I confirm what I said in the previous post, Appian&amp;#39;s default Connected system&amp;nbsp;for Sharepoint Online uses &amp;quot;Granting access using SharePoint App-Only&amp;quot; type of authentication. Our issue is that the customer only allows &amp;quot;Azure AD app for app-only access&amp;quot; authentication, using a certificate and its private key. So no Client Secret. Therefore we are looking for a way to generate an integration with SPO customized to this constraint imposed by the customer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>