Skip to main content

Configuration with Modern authentication

This is our recommended configuration. We can use this if you don't need to back up special mailboxes or dynamic distribution groups.

Details we need: 

  • M365 Global admin username
  • Admin password

Check out this article to create a Global admin in M365.

During the configuration process, we'll:

  • create a self-signed certificate that Veeam can use for authentication¬†
  • log in to O365 through device log on
  • a new application will be registered named "VeeamM365" on your Azure AD
  • the required permissions will be assigned for the application
  • Optional: log in to Teams in order to start the free Teams Exploratory license (you'll receive an email about it)
  • create the jobs to back up your M365 data

Create connection to the M365 organization

Log in to the SP console and click on Configuration in the top right hand corner.

image-1681989237649.png

Choose Plugin library and scroll down to find Veeam Backup for M365 - click the tile.

image-1681989259146.png

Choose Organizations > New 

image-1681989327829.png

Click Select... and choose the previously created company, then click Apply and Next.

image-1681989344625.png

In the Protected Services tab, choose which services you'd like to protect. Click Next.

Note: if you need Teams backup, you need to have a Teams exploratory license.

image-1681989397473.png

In the Connection settings tab, leave the Default region as it is, and click Next.

image-1681989475869.png

In the Application settings tab, choose Register a new Azure AD application automatically

Give the Application a name (this can be anything you like, just choose something meaningful.)

image-1681989489589.png

In the Microsoft 365 Logon tab, copy the code, then click on the Device login URL.

Your browser will open a new tab with the logon screen of M365.

image-1681989543827.png

First paste the copied code.

image-1681989618690.png

Then log in with the Global admin - give username and password and also the one-time password if you use MFA in M365 (it is highly recommended).

image-1681989634212.png

Click Continue on the Azure CLI confirmation page.

image-1681989772617.png

The page will confirm that you successfully signed in.

image-1681989664091.png

Return to the SP console. Here you will see that the connection is now verified. Click Next.

image-1681989802878.png

Review the Summary page and click Finish.

image-1681989830568.png

Wait until the organization connection is created, then continue to the next article, to set up the backup job.

image-1681989879368.png

image-1681989912335.png

To exit the M365 integration UI, click Go back.

image-1681989948912.png

Then Exit Configuration.

image-1681989961017.png