Skip to main content
Skip table of contents

Scan to SharePoint Online

The feature has to be enabled in three steps:

  1. First you have to register the MyQ app in SharePoint.

  2. Then you have to create and set the SharePoint Online destination.

  3. Lastly, users have to connect their MyQ accounts to SharePoint.

 

Enabling access to SharePoint

To set up the access, you have to create a new Azure AD app registration to be used by MyQ, and enter the Azure AD Application ID and Secret on the Connections settings tab in the MyQ Web administrator interface.

In Azure AD, you need to create and set a new Azure Active Directory App registration to be used by MyQ. After the registration is created, you set permissions and create a secret key. You need the Tenant ID, the Application ID and the secret key value to create a Connection for SharePoint on the MyQ Web Interface. The secret key value populates the Security key field.

  1. Go to https://portal.azure.com/ and log in with your global admin user account.

  2. In the Azure dashboard, in the left navigation pane, click Azure Active Directory and on the left menu, click App registrations.

  3. To create a new application, click New registration. The Register an application page appears.

  4. In the Name box, type a name for the application.

  5. Choose Supported account types.

  6. In the Redirect URI box, choose Web and https://helper.myq.cz/.

    Registering a sharepoint app in azure
  7. Click Register.

  8. On the preview screen, click View API permissions. Click Add a permission. The Request API permissions pane appears. Select the "Microsoft Graph API" and choose Delegated permissions for your application.

    1. Required permissions: Sites.Read.All and Sites.ReadWrite.All.

      Adding permissions
    2. After the permissions are added, click “Grant admin consent” to the permissions you added (users will not be asked to consent when they are connecting their SharePoint account to MyQ).

      Granting admin consent
  9. Back on the preview screen, click Overview, and then copy and save the Application ID, because you need it in the next steps.

  10. On the preview screen, click Certificates and secrets, and then click New client secret. Add a Description, set the expiry for the key to Never, and click Add.

  11. Save the client secret key Value, because you need it in the following steps and you cannot retrieve it later.

    Client secret overview
  12. Open the Connections settings tab on the MyQ Web Interface (MyQ, Settings, Connections).

  13. Click +Add and select SharePoint Online from the menu.

    Sharepoint connection settings
  14. Add a Title. This will be used to identify the Cloud Storage Destination.

  15. Add the Application ID and the client secret key value as Security key that you previously copied and saved.

  16. Add the Site URL: https://<tenant_name>.sharepoint.com (to access the root SharePoint site) or https://<tenant_name>.sharepoint.com/sites/<site_name> (to access a specific site from the tenant’s collection) and click OK.

 

Create and set the SharePoint Online destination

  • Create a new destination (edit or create an Easy Scan terminal action; on its properties panel, in the Destinations tab, click +Add).

  • On the new destination's properties panel, under General, select the Cloud Storage option in the Type drop-down.

  • In the Parameters section, in the Type drop-down, select SharePoint Online, and click Save.

 

Connect a user’s MyQ account to SharePoint Online

If the following two conditions are met, the cloud storage widget is displayed on the Home screen of the user logged on the MyQ Web Interface:

  • There is at least one Easy Scan terminal action with this destination.

  • The user has rights to see the Easy Scan button or is connected to cloud drive.

MyQ web UI, SharePoint Online widget status

To be able to store the outgoing scan file on SharePoint Online, the user has to be connected.

To connect to SharePoint Online, the user has to perform the following actions:

  1. Log in to the MyQ Web User Interface with your user account.

  2. On the Cloud storage widget, click Connect. The Cloud storage dialog box appears.

  3. Click Login to the cloud storage.

  4. Sign-in to SharePoint Online and confirm permissions (when asked about the permissions, click Yes).

  5. Copy the given code.

  6. Paste the code to the MyQ Cloud storage login dialog.

  7. Click OK to connect the cloud storage to MyQ. The SharePoint Online connection status changes to Connected.

 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.