MarketplaceListingsCustom ActivityHP Inc - SharePoint Silent Authentication

HP Inc - SharePoint Silent Authentication

Supported by Publisher
Custom Activity

0 reviews


HP Inc - SharePoint Silent Authentication

Supported by Publisher
Custom Activity

0 reviews



SharePoint App-Only is the older, but still very relevant, model of setting up app-principals. This model works for both SharePoint Online and SharePoint 2013/2016/2019 on-premises and is ideal to prepare your applications for migration from SharePoint on-premises to SharePoint Online. With this UiPath Activity, you will be able to connect to SharePoint silently and perform different SharePoint actions like (Get Files Folder / Create/Delete Files & Folder)



Initial Setup:

  1. Setting up an app-only principal with tenant permissions
Navigate to a site in your tenant (e.g. and then call the appregnew.aspx page (e.g. In this page click on the Generate button to generate a client id and client secret and fill the remaining information like shown in the screen-shot below.

2. Once Clientid & Client Secret generated, follow the below step

Next step is granting permissions to the newly created principal. Since we're granting tenant scoped permissions, this granting can only be done via the appinv.aspx page on the tenant administration site. You can reach this site via Once the page is loaded add your client id and look up the created principal.

3. To grant permissions, you'll need to provide the permission XML that describes the needed permissions. Since this application needs to be able to access all sites + also uses search with app-only, it needs the below permissions:
<AppPermissionRequests AllowAppOnlyPolicy="true">
<AppPermissionRequest Scope="http://sharepoint/content/tenant" Right="FullControl" />


Published: 2021-01-14T12:50:52+00:00 | Updated: 2021-01-14T12:50:52+00:00

Trusted Source





UiPath Studio 2018 and above


SharePoint Library


Phone: 7406449922


2 Weeks

Similar Listings