The feature has to be enabled in three steps:
First you have to register the MyQ app in SharePoint.
Then you have to create and set the SharePoint Online destination.
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.
Go to https://portal.azure.com/ and log in with your global admin user account.
In the Azure dashboard, in the left navigation pane, click Azure Active Directory and on the left menu, click App registrations.
To create a new application, click New registration. The Register an application page appears.
In the Name box, type a name for the application.
Choose Supported account types.
In the Redirect URI box, choose Web and https://helper.myq.cz/.
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.
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).
Back on the preview screen, click Overview, and then copy and save the Application ID, because you need it in the next steps.
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.
Save the client secret key Value, because you need it in the following steps and you cannot retrieve it later.
Open the Connections settings tab on the MyQ Web Interface (MyQ, Settings, Connections).
Click +Add and select SharePoint Online from the menu.
Add a Title. This will be used to identify the Cloud Storage Destination.
Add the Application (client) ID and the client secret key value as Security key that you previously copied and saved.
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.
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:
Log in to the MyQ Web User Interface with your user account.
On the Cloud storage widget, click Connect. The Cloud storage dialog box appears.
Sign-in to SharePoint Online and confirm permissions (when asked about the permissions, click Allow).
The SharePoint Online connection status changes to Connected.