netDocShare SharePoint Generate Client Id and Secret Id

netDocShare SharePoint Generate Client Id and Secret Id

                                                                                 

SharePoint Generate Client Id and Secret Id


App-Only Authentication:

App-Only is a model for setting up app principals. It can be used with SharePoint Online, as will SharePoint on-premises (SharePoint 2013 and above versions).

Steps:

  1. Navigate to SharePoint site (e.g., https://tenant.sharepoint.com)
  2. Open appregnew.aspx page (https://tenant.sharepoint.com/_layouts/15/appregnew.aspx).
    Example:
    https://m365x634254.sharepoint.com/_layouts/15/appregnew.aspx

A screenshot of a computerDescription automatically generated

  1. Click “Generate” button against Client Id row to generate a new client id.
  2. Click “Generate” button against Client secret row to generate a new client secret.
  3. Type any Title, which describes your app principal.
  4. Type App domain as www.localhost.com
  5. Specify redirect URI as https://www.localhost.com.

A screenshot of a computerDescription automatically generated

  1. Click Create.
  2. Note down the Client Id and Client Secret for future references.

A screenshot of a computerDescription automatically generated

Grant’s tenant scoped permissions to the newly created principal.

Steps:

  1. Open SharePoint Tenant site with Tenant Administrator account (https://tenantname.sharepoint.com/_layouts/15/appinv.aspx, https://tenantname-admin.sharepoint.com/_layouts/15/appinv.aspx)
    Example:
    Online – https://m365x634254.sharepoint.com/_layouts/15/appinv.aspx
    On Premises – http://klstsp16:2016/_layouts/15/ appinv.aspx

A screenshot of a computerDescription automatically generated

  1. In the App Id textbox type your generated Client Id
  2. Click the Lookup button

A screenshot of a computerDescription automatically generated

In the Permission Request XML textbox type below xml,
<AppPermissionRequests AllowAppOnlyPolicy=”true”>
<AppPermissionRequest Scope=”http://sharepoint/content/tenant” Right=”FullControl”/> </AppPermissionRequests>

A screenshot of a computerDescription automatically generated

  1. Click Create button
  2. In the next dialog click Trust It button.

A screenshot of a computerDescription automatically generated


    • Related Articles

    • netDocShare OneDrive Client ID and Secret Id Generation

      OneDrive Client ID and Secret Id Generation Step 1: Please open the azure portal in browser https://portal.azure.com/#home Step 2: Please click the “Azure Active Directory Step 3: Once Azure Active Directory open after click the “App Registrations” ...
    • netDocShare Teams Client ID and Secret Id Generation

      Teams Client ID and Secret Id Generation Step 1: Please open the azure portal in browser https://portal.azure.com/#home Step 2: Please click the “Azure Active Directory Step 3: Once Azure Active Directory open after click the “App Registrations” Step ...
    • netDocShare v4.0.0.2002

      New Features netDocShare Ability to perform an advanced search in Go to client matter view. netDocShare Hybrid Search Ability to narrow down the list of search results to the folder level with the config builder settings. Ability to view NetDocuments ...
    • netDocShare v4.2.1.20801

      netDocShare Sync Sync Control: Being able to stop or restart a sync job. Custom Display Locations: Change the display location for NetDocuments and Teams or SharePoint in column mapping. Doc Links: Removed the appended NetDocuments ID from the synced ...
    • netDocShare v4.2.0.1612

      New Features netDocShare Sync Sync deleted files and folders. Sync checkout status Sync selected files and folders in Bidirectional sync. Default meta data column creation for Document type when doc links Export jobs – Export the sync jobs filter by ...