How to authorize a OneDrive account by web services

The OneDrive component must be authorized to access a OneDrive account before it can send content to a OneDrive folder. The AutoStore OneDrive Web Authorization service must be started prior to adding an account. For more information about configuring and starting the AutoStore OneDrive Web Authorization service, see Web Authorization Server Configuration Tool.

  1. In a browser, type the address: https://server:port/NSi.AutoStore.OneDriveWebAuthorization/default.aspx
    Servers mean the IP address for the server running the Web Authorization Service, and port means the port number that the Web Authorization Server uses to communicate with clients.
  2. On the AutoStore OneDrive Authorization browser page, click Start Now to start OneDrive authorization process.
  3. On the API Request Authorization page, enter the email address and password for a OneDrive account, and click Sign in.
  4. On the next page allow AutoStore app to connect to your OneDrive account by clicking to Allow button.
  5. Copy the obtained OAuth code and close the API Request Authorization browser page.
  6. Go back to AutoStore OneDrive Authorization page, paste the above code into Obtained OAuth Code textbox. Click Submit.
    The AutoStore OneDrive Authorization page reappears displaying the message: Your OneDrive account has been registered to AutoStore System successfully.

    Completing these steps adds the account to the Authenticated account list.

    When re-registering an account, that is already in the Authenticated account list, the following message displays on the AutoStore OneDrive Authorization page: Credentials for your OneDrive account have been updated successfully on Autostore System.

    The token files, stored in the token storage directory (C:\ProgramData\Nuance\Autostore\OneDriveRouteTokens), are replaced or new token files are created.