Iperius is a powerful and complete backup software that allows OneDrive backup and cloud backup on all major storage platforms: Google Drive, OneDrive for Business, Amazon S3, Azure Storage and Dropbox.

With this simple tutorial we’re going to see how to enable the OneDrive API and get the Client ID code (App ID) to perform remote backup (clearly this procedure to enable the OneDrive API can be useful for using services and storage OneDrive from any other software).

See also: Automatic backup to OneDrive usingIperius.

For the creation of the “App” and to obtain the access credentials to be used inside Iperius, go to the following link:  https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade

NB: Users who have previously created the App through the link https://apps.dev.microsoft.com/#/appList , they can find the Apps already registered and the client IDs unchanged on the Azure portal. This site has been deprecated, so we strongly suggest to delete the registered Apps and recreate them directly in the Azure portal.

eng-2

Once authenticating in the Azure portal,  entering the One Drive credentials, click on “New Registration” in order to create a a new App:

Type in the “Name” of the application you are going to create, in the field “Supported account types” choose “Accounts in any organizational directory (Any Azure AD directory – Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox)”  and then in the field “Redirect URI” choose “Public client/native (mobile & desktop)” and  enter the code below:

https://login.live.com/oauth20_desktop.srf

Click on “Register”.

You will see the generated Application (client) ID that Iperius will use to authenticate itself and send backups to OneDrive through a secure connection.

For OneDrive the App configuration ends here.

 

For OneDrive For Business, instead, there is one last step to do.

When configuring the app within Azure, make sure you have checked the following redirect url: https://login.live.com/oauth20_desktop.srf

urlChecked_en

 

To know how to make backups to OneDrive, look at the related tutorial.

 

OneDrive and OneDrive API

OneDrive is Microsoft cloud storage service. Initially born as a free service, it has over time turned into a complete platform for managing and sharing files online. Today OneDrive is also part of Office 365, the Microsoft cloud platform for document management, mail and other important services. In this case we talk about OneDrive for Business, a paid service with prices and plans that we can find on this page: https://onedrive.live.com/about/it-it/plans/

Iperius Backup can use the OneDrive platform to back up files in its online space, even with compression and AES 256-bit encryption. In addition, Iperius is also compatible with Office 365, specifically with the Exchange Online mail service, which can be backed up easily and efficiently locally.

In the context of interoperability with various software, websites and third-party services, OneDrive makes available the OneDrive API, which allows software such as Iperius to communicate with this service to send and download files. The OneDrive API documentation can be viewed on these official Microsoft website pages: https://docs.microsoft.com/en-us/onedrive/developer/rest-api/?view=odsp-graph-online

Limitations

However, we would like to remind you that the OneDrive API has some limitations regarding the maximum file size. Restrictions and limitations regarding OneDrive can be found on this page: https://support.office.com/en-us/article/invalid-file-names-and-file-types-in-onedrive-onedrive-for-business-and-sharepoint-64883a5d-228e-48f5-b3d2-eb39e07630fa#individualfilesize

 

(Italian, French, German, Spanish, Portuguese (Brazil))



Enable OneDrive API and get login credentials for backup
Iperius Backup Team
*****************************************

PLEASE NOTE: if you need technical support or have any sales or technical question, don't use comments. Instead open a TICKET here: https://www.iperiusbackup.com/contact.aspx

*****************************************

Comments

  1. juraj salak

    Hello, I am about to try backup into onedrive.
    beeing on W7 I do not have an onedrive APP on my computer.
    Can I create credentials in another way?

    regards
    Juraj Salak

    1. Iperius Backup Team Article Author

      Hello, you don’t need the OneDrive app installed on your computer if you use Iperius to upload your files to OneDrive.
      Simply get the required credentials from the OneDrive developer center, and use them inside Iperius.

    1. Iperius Backup Team Article Author

      Hi, Iperius still doesn’t support OneDrive for Business. Microsoft recently unified the OneDrive and the “For Business” APIs, so we’re working to extend the Iperius compatibility.

  2. Jayesh

    Hi,
    The Registered Application Client Id/App ID was throwing an error in httpwebrequest class, because it was not taking guid type format client Id(EX:e7c25171-7079-4689-80e3-706e8f92d031), previously i was got another format of client Id(Ex:000000000004418382a) like this.. it was working perfect. But newly i.e Guid format Client Id was not working properly..
    how pass the Client ID as a parameter in url using httpwebrequest..Kindly give the ans..
    previous url: it is working…
    “https://login.live.com/oauth20_authorize.srf?client_id=000000000004418382a&scope=wl.basic%20wl.skydrive_update&response_type=code&redirect_uri=https://login.live.com/oauth20_desktop.srf”;

    presnt url: Not working
    “https://login.live.com/oauth20_authorize.srf?client_id=e7c25171-7079-4689-80e3-706e8f92d031&scope=wl.basic%20wl.skydrive_update&response_type=code&redirect_uri=https://login.live.com/oauth20_desktop.srf”;

  3. ugo

    Hi,
    Using Iperius Backup 4.8.1 Full Trial Version on Win2012R2 server.
    Backup to Onderive:
    1.) backup problem:
    File size limited to 100MB, even with {INDIVIDUAL_SUBITEMS} folder in root folder.
    If file is bigger then there is error: “Connection timeout (error code is 96270) ”
    If file is smaller than 100MB: no error.
    2.) restore problem:
    There is no restore log in the gui! Where can I see the restore log ?
    restoring the small file gives error (tried twice): Error in downloading the file: bestandsverificatie mislukt. de bestandsgrootte komt niet overeen
    I can open the zipfile and restore some files, errors on .dll files.No idea if the .dll is the reason or due to the restore verification error.

      1. ugo

        I saw that the file limit was solved last year, but perhaps Onedrive changed again.
        I just downloaded the zipfile from the onedrive webpage and it only has folder structure, 0 files. So Iperius reported the backup was successfull for the “small files” job, but the file in Onedrive is corrupt and empty…:-(

        1. Iperius Backup Team Article Author

          We found the reason of this issue. Please check your email. Anyway, the backup has been completed correctly and the backup file is ok on your OneDrive space. Simply in the restore Iperius doesn’t detect the remote file size correctly.

  4. Mariano

    Buenos días, estoy intentando conectar Iperius a Onedrive y no me deja.
    Desde IE intento habilitar la API pero cuando he creado la app y doy a guardar se queda guardando y no acaba nunca de guardar. He habilitado JavaScript y, en principio, está todo correcto.
    Desde Chrome he podido crear la app para habilitar la API.

    Un saludo

  5. Marc

    Hello,

    I can’t connect iperius with ondrive. API is created OK and java permissions OK too. Iperius retorn this error: ” You need permission to access resources in your organization and only an administrator can grant it. You should ask an administrator to grant you permission to use this application.” I put my user like administrator for try and nothing.

    Please help.

    Thanks

  6. Christoph Bussler

    Hi – when establishing the OneDrive account the first time, after having created an app id, at the logon triggered by Iperius, the page says:

    Microsoft accountAccountWe’re unable to complete your request
    Microsoft account is experiencing technical problems. Please try again later.

    What is the solution to avoid this?

  7. Jose

    After entering the ID Client a window appears where you should put an email and password of the microsoft account.

    This window appears empty, it does not load the content. For this reason I can not finish configuring.

    Thanks!

        1. Iperius Team

          Hi,

          change the IE protection level to a lower one enabling JavaScript as described in the tutorial, disable temporarily AV and Firewall and try again.
          Otherwise, install all the updates of Windows.

          For more technical support, please open a ticket on https://support.iperius.net

  8. Deepak Bholusaria

    We have installed VPS on cloud. Our vendor has provided Iperius Full version 4.5.7 for backup purpose. We are using OneDrive for business. Instructions/tutorial available here to create API in Azure is different from the one actually available on Azure Platform. For Example, under authentication, on Azure platform we can not find any option to “enable the Access Tokens option and click on “Save”.

    Also the version (4.5.7) we are using, asks for Client Secret, even though tutorials says something else.

    Are we using right version? Also has API setup on Azure changed vis-a-vis instructions provided here?

  9. Ben Lloyd Copywriter

    Is this connection to OneDrive free to set up and run, or will Microsoft begin charging for resource consumption under Azure? Although I’m a paying Office 365 subscriber, I’d like to avoid an unexpected bill for additional cloud services if possible!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*****************************************

PLEASE NOTE: if you need technical support or have any sales or technical question, don't use comments. Instead open a TICKET here: https://www.iperiusbackup.com/contact.aspx

*****************************************