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” enter the code below:

urn:ietf:wg:oauth:2.0:oob

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.

From the side menu, click on “Authentication”, set “Live SDK Support” to “No”, enable the “Access Tokens” option and click on “Save”.

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 C.
*****************************************

PLEASE NOTE: if you need technical support or have any sales or technical question, don't use comments. Instead open a TICKET here: https://support.iperius.net

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

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

      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.

  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

          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

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://support.iperius.net

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