--- title: "Step 3. Log In to Microsoft 365" description: "This step is only available for data restore from backups created by Veeam Backup for Microsoft 365 and if you have selected the Modern Authentication option at the previous step of the wizard." canonical: "https://helpcenter.veeam.com/docs/vbo365/explorers/vesp_login_sites.html" breadcrumb: "Veeam Explorers User Guide > Veeam Explorer for Microsoft SharePoint > Using Explorer Console > Restore from Veeam Backup for Microsoft 365 Backups > Restoring Sites > Restoring Sites to Original Location > Step 3. Log In to Microsoft 365" dateModified: "2026-11-09" --- # Step 3. Log In to Microsoft 365 This step is only available for data restore from backups created by Veeam Backup for Microsoft 365 and if you have selected the *Modern Authentication* option at the [previous step](vesp_select_authentication_method_sites.md) of the wizard. At this step of the wizard, log in to your Microsoft 365 organization. To log in to the Microsoft 365 organization, do the following: 1. Click **Copy code** to copy an authentication code. Keep in mind that a code is valid for 15 minutes. You can click **Refresh** to request a new code from Microsoft. 2. Click the Microsoft identity platform authentication server link. A web browser window opens. 3. On the **Sign in to your account** webpage, paste the code that you have copied and sign in to the Microsoft identity platform. Make sure to log in with the user account that has the required permissions assigned. For more information, see [Permissions](vesp_permissions.md). Make sure that the required settings are specified for the Microsoft Entra application used for restore. For more information, see the [Configuring Microsoft Entra Application Settings](https://helpcenter.veeam.com/docs/vbo365/guide/ad_application_settings_configuring.html?ver=8) section of the Veeam Backup for Microsoft 365 User Guide. 4. Return to the **Restore Wizard** window and click **Next**. ![Log In to Microsoft 365](images/restore_login365.png "Log In to Microsoft 365")