File Mover Blog

November 25, 2020

Added SharePoint OAuth2 Authentication in Limagito File Mover

Added SharePoint OAuth2 Authentication

Update 28th September 2023, our advice is to use Oauth v2.0 Authentication instead

In version v2020.22.25.0 we added OAuth2 Authentication as a fourth method for connecting to SharePoint.

Please select ‘Online Authentication using OUath2’ as Authentication Type (Setup Tab). After selection the OAuth2 Tab will be visible.

Limagito FileMover SharePoint OAuth2

We received the following information from the customer (thank you Brad):

  • Client Id
  • Client Secret
  • Redirect URI

 

Update March 2022

We had a user getting the following error when trying to Get the OAuth2 Token: AADSTS70000

He had to change App Domain  to: www.localhost.com

and

Redirect URI to the Site url (without the  default.aspx  at the end) in the SharePoint Application setup AND Limagito OAuth2 setup

We used the information from the customer and added them in the OAuth2 Setup:

  1. Client ID
  2. Client Secret
  3. Scope, we used Web.Manage
  4. Redirect URI

Limagito File Mover SharePoint OAuth2 Setup

Next, click <GET>

At this moment we’ll start a request for the Realm and Principal ID of the SharePoint Site. A Dialog will appear with information about the next step.

Limagito File Mover SharePoint Bearer Realm

Now you’ll need to click ‘Trust It’ to continue to the next step:

 

Limagito File Mover SharePoint Trust It

The Authorization Code will appear in the address bar of your browser.

Limagito File Mover SharePoint OAuth2 authorization code

Please COPY / PASTE this complete URL (https://…) in the ‘Auth Code’ field of the OAth2 Setup screen. We’ll strip the part we need and trigger a request for a Refresh and Access token. The response will be added to the ‘Refresh Token’ and ‘Access Token’ field of the OAuth2 setup.

Please click <Save> to save these Tokens which we’ll need to connect.

Limagito File Mover SharePoint OAuth2 RefreshCode

If you need any help with our ‘SharePoint OAuth2 Authentication’ option, please let us know.

Best Regards,

Limagito Team

By Limagito-Team SharePoint , , Share:
SEARCH