1.1 Creating trusts

The first thing you need to do is to create a trust at the Azure AD level between your Microsoft 365 organization and the Veeam Restore Portal to allow access to organization users, who will be able to view the restore points and potentially perform restores. The procedure depends on the type of solution you have purchased:

Creating trusts for dedicated solutions

Prerequisites

You must have configured the service on Veeam Service Provider Console.

To proceed with creating the trust, you need to contact support to receive the script and the certificate.

Creating trusts for shared solutions

Prerequisites

You must have configured the service on Veeam Service Provider Console.
You must have downloaded the script.
 
The original format of the script has a .ps1 extension, but it has been compressed into a .rar file, so you will need to extract it before running it.
  • Open PowerShell in administrator mode;
  • run the command to execute the script:

    powershell -noprofile -executionpolicy bypass -file ".\Connect-VB365RestorePortal.ps1"

  • The script requires certain modules which, if not present, will be automatically installed;
  • login with your Microsoft 365 administrator credentials;
  • you may be asked to login twice (depending on the open sessions);
  • if the login is successful, you will see the message:

    ...
    username@company.365.cloud is now connected to Microsoft Azure
    ArubaVeeam365LAB (aa11bb22-cc33-dd44-ee55-ff66gg77hh88) has been garanted admin consent
    You can now login the Service Provider's VB365 Restore Portal!
    ...

  • This confirms that the user is correctly connected to Microsoft Azure and that the application has been configured properly.