Connect OneDrive

OneDrive Connection Requirements

To connect PrinterLogic SaaS to OneDrive you need the following:

  • A new app registration in the Microsoft Azure Portal.
  • Client Secret and Secret ID strings.
  • In OneDrive, create one or more folders for the scan destinations.

Add a New Connection

Vasion Automate has a 15 min inactivity timeout. Please be aware that the inactivity timeout applies to the Global Scan Settings screen

  1. In the Admin Console, select Tools then Settings then Scanning.
  2. For Scan to Cloud (CPA), select the Scan Settings drop-down and enable the toggle for Enable Scanning with Printer Default Settings. You can configure the settings later.

    Enable Scanning toggle set to on

  3. For Mobile Scan / Scan To Cloud (CPA), select the Cloud Connections drop-down and select Add Connection.
  4. Select Microsoft OneDrive, and select Next.

Leave the browser page open on Connect OneDrive.

Open a new browser page to register the application and create Client Secret details on the Microsoft Azure portal.

Create a New App in Azure

App Registration

  1. Navigate to https://portal.azure.com/.
  2. From the Azure services section, select App Registrations.
  3. Select New registration and complete the necessary steps in the Register an application page.
    1. Give your app a name.
    2. For the Supported account types, select the Multitenant option.
    3. For the Redirect URI select Web.
    4. Copy the Redirect URI from the Connect OneDrive page and paste it on the text field next to the Web drop-down.
  4. Select Register.

Create a Client Secret

  1. From the side navigation expand the Manage section and select Certificates & Secrets.
  2. Select New client secret.
  3. In the Add a client secret panel enter a description and select an expire date.

    Remember to renew the client secret before it expires, or the Scan To Cloud will not be able t connect to the drive after the expiration date.

  4. Select Add from the bottom of the panel.

  5. Copy the string under the Value column and paste it into the Connect OneDrive page in the Client Secret field.

    Make sure you copy the Client Secret value and save it, or paste it into the appropriate field now. This value is only visible immediately after creation and is hidden once you navigate away from the page.

Add App Owners

  1. Select Owners from the side navigation.
  2. Select Add Owners.
  3. In the Owners panel check the box next to any users you want to designate as owners for the app.
  4. Use the Select button at the bottom of the panel to save the select users as owners.
  5. Select Overview from the top of the side navigation.

Grant API Permissions

  1. Select API permissions from the side navigation.
  2. From the API / Permissions name column, select Microsoft Graph (1).
  3. In the Request API permissions panel check the following boxes:
    1. In the OpenId Permissions section, check offline_access.
    2. Scroll down to the Files section, check Files.ReadWrite.All.
    3. Scroll down to the Sites section, check Sites.ReadWrite.All.
  4. Select Update permissions at the bottom of the panel.

Once you have completed all of the steps above, return to the new app Overview section.

Leave the current browser page open. You will need to copy some values from the Azure portal into the OneDrive Connection page.

Configure the OneDrive Connection

Return to the Connect OneDrive page and follow these steps.

  1. Client Connection Description — enter a description for this connection. Preset Scan Locations section and the CPA.

  2. Client ID — return to the Azure Portal app Overview page and copy the Application (Client ID) string. Paste the string here.
  3. Client Secret — if not already done, paste the Client secret Value string here.
  4. Select the Authorize button on the top-right.
  5. Select the account you want to use to connect to Microsoft. Ensure it's an administrator account and that it belongs to one of the app owners.
  6. On the Permissions Requested modal, select Accept.
  7. After the connection is verified successfully, select the Return to Dashboard option.

    OneDrive Connection Success! mesage

Cloud configuration options for OneDrive

For customers using Scan To Cloud and Mobile Scanning. You are now ready to continue to adjust any global scan settings, add preset scan locations and install Scan To Cloud (CPA). Go to Scan to Cloud for complete details.