Microsoft OneDrive as a File Store

nablix customers can configure Enablix to store files on a third-party cloud storage platform. Enablix supports MS OneDrive to store Enablix files.  Once integrated, all your files will be stored on your company's MS OneDrive account. This article discusses integration with MS One Drive. There are three tasks to accomplish this integration. 

Register an App in Azure Portal

1
Go to the Azure Portal - https://portal.azure.com. And sign in as an admin to your organization. Please note that you should have admin rights to your Microsoft account for registering an application. 
Expand menu from the top-left drawer icon and click on Azure Active Directory button. 



2

On the active directory overview page, select App registrations option from the left side menu. 



3
On the App registrations page, click on New Registration button in the right hand section. 



4
Enter the application name as Enablix and click Register button.   

5
On the application registration page, copy the Application (client) ID value.    


Note:

You will need the Application ID value when configuring the integration in Enablix Admin console. 


Generate Password for the Application

Once the application is created and registered successfully, one of the admin users needs to give consent to the permissions required by the application. To give consent, you should be an administrator.

1
Continuing in the Application Registration screen, click on Certificate & secrets option in the left side menu. 

2

On the Certificates & secrets page, click on New client secret under Client secrets section on the right side. 

3

Enter description for the new client secret and select Never option for Expires setting. Click Add button to generate client secret. 

4

Copy the value of the new client secret.

Note:

You will need this client secret value when configuring the integration in Enablix Admin console. 

Add Application Permissions

1

Continuing in the Application Registration screen, select API Permissions option in the left side menu. 

2

On the API Permissions page, click on Add a permission button.     

3

On Request API permissions page, select Microsoft Graph under Microsoft APIs tab. The application registration is complete.

4

Click on the Application permissions on the Microsoft Graph page. 

5

Type File in the Select permissions field and select Files.ReadWrite.All. Click Add permissions to add selected permission. 

6
Click Grant admin consent for Enablix button to provide consent for provided permissions. 

7

Accept the requested permissions.     

Configure Microsoft OneDrive Integration in Enablix

1
Login to your Enablix account. You should have Administrator privileges to configure One Drive integration.
2
Click on Company name and go to Integrations section. By default, the File Storage is configured to store files on Enablix servers. Mouse over the existing configuration and you will see an Edit button. Click on the Edit button.

3
Select OneDrive as the file store.

4
You will see a form appear. Please fill the form as follows.
  • One Drive Organization Id: To find your One Drive OrganizatioN Id, go to https://portal.azure.com and select Azure Active Directory in the left bar. Usually it is <company name>.onmicrosoft.com.
  • Application ID: This is the application ID that you had copied in the an earlier step when registering the application
  • Application Password: This is the client secret value that you had copied in an earlier step during application registration. 
  • File Storage Owner Id: In One Drive, folders and files have to be attributed to a user. This File Storage Owner Id is a user id on your Microsoft account under whose name these files will be stored. You can enter here an admin's user ID or, if you prefer, you can create a separate user for Enablix and use that user ID. We recommend creating a separate user ID for Enablix. 
  • Base Folder: Enter a folder name where all your Enablix files will be stored. If the folder with the given name does not exist, Enablix will create one. 

5
Save the changes
Enablix is now configured to store files on your organization's One Drive account.

Still need help? Contact Us Contact Us