Scan to OneDrive for Business
The feature has to be enabled in three steps:
First you have to provide MyQ with access to your Azure AD.
Then, you have to create and set the OneDrive for Business destination.
Lastly, users have to connect their MyQ accounts to OneDrive for Business.
Setting up MyQ access to Azure AD
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 to create a Connection for OneDrive for Business on the MyQ Web Interface. The secret key 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/.
Set the permissions:
On the preview screen, click View API permissions.
Click Add a permission. The Request API permissions pane appears.
User.Read permissions are added by default. Add Delegated permissions to Files.ReadWrite for the Microsoft Graph.
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 complete the following steps:
Click New client secret.
Add a Description.
Set the expiry for the key to Never.
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 OneDrive Business from the menu.
Add a Title. This will be used to identify the Cloud Storage Destination.
Add the Tenant ID (or write common for multi-tenant setups), the Application ID, and the client secret key value as Security key that you previously copied and saved, and click OK.
Create and set the OneDrive for Business 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 OneDrive for Business or any other Title you defined in the Connections settings in the previous steps.
Select the Browse folders option if you want users to be able to browse one of their cloud destinations folder on the device.
Connect a user’s MyQ account to OneDrive for Business
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 OneDrive for Business, the user has to be connected.
To connect to OneDrive for Business, 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.
Click Login to the cloud storage.
Sign-in to OneDrive for Business and confirm permissions (when asked about the permissions, click Yes).
Copy the given code.
Paste the code to the MyQ Cloud storage login dialog.
Click OK to connect the cloud storage to MyQ. The OneDrive for Business connection status changes to Connected.