Office 365 - Authentication

Authentication

To enable backups, grant Magnus Box permission to access your Office 365 account data. These credentials provide significant organizational access, so handle them carefully. Access is granted by creating an "Application" in Azure Active Directory, either automatically or manually.

Automatic application registration

Select the Azure Active Directory button to open a registration wizard that automates the setup. You will need to authenticate with Azure as a top-level administrator.

[SCREENSHOT: The Office 365 Protected Item dialog in your Magnus Box console, showing the "Azure Active Directory" button used to launch the automatic registration wizard.]

Manual application registration

If automatic registration is not available, complete the following steps manually.

1. Register the application in Azure Active Directory

  • Go to https://aad.portal.azure.com/
  • Click Azure Active Directory
  • Click App registrations, then New registration
  • Enter an application name (for example, "My Office 365 Backup")
  • Leave the other options at their defaults and click Register
  • Copy the Application (client) ID into the Application ID field in Magnus Box
  • Copy the Directory (tenant) ID into the Tenant ID field in Magnus Box. Ensure there are no extra spaces after the value

[SCREENSHOT: Azure Active Directory "App registrations" page with the "New registration" button and the registration form where the application name is entered.]

[SCREENSHOT: The registered application's Overview page in Azure, highlighting the "Application (client) ID" and "Directory (tenant) ID" values that map to the Application ID and Tenant ID fields in Magnus Box.]

2. Register an authentication secret

  • Click the Certificates & secrets tab
  • Under Client secrets, click New client secret
  • Specify a name and an expiry. Selecting the longest available expiry avoids the secret lapsing and interrupting backups
  • Copy the secret's Value into the Application Secret field in Magnus Box. Copy it immediately, as Azure hides the value after you leave the page

[SCREENSHOT: The "Certificates & secrets" tab in Azure with a new client secret created, showing the "Value" column that is copied into the Magnus Box Application Secret field.]

3. Grant application permissions

  • Click the API permissions tab
  • Click Add a permission and add the permissions below

Office 365 Exchange Online, under Application permissions, then Other permissions:

  • full_access_as_app

Microsoft Graph, under Application permissions:

  • Application.Read.All
  • Calendars.ReadWrite
  • ChannelMessage.Read.All
  • Contacts.ReadWrite
  • Directory.Read.All
  • Files.ReadWrite.All
  • GroupMember.Read.All
  • Mail.ReadWrite
  • Notes.Read.All
  • Sites.FullControl.All
  • TeamMember.ReadWrite.All
  • User.Read.All
  • Click Grant admin consent for (your organization name) at the top of the permissions list

[SCREENSHOT: The "API permissions" tab in Azure showing the configured Office 365 Exchange Online and Microsoft Graph application permissions.]

[SCREENSHOT: The "API permissions" list after clicking "Grant admin consent", with each permission showing a green "Granted" status.]

Once the details are entered, the desktop app populates the authentication fields automatically. Use Test Connection to validate the credentials.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us