Skip to main content

Restore portal setup for tenants

Open an elevated PowerShell window and run the Install-Module cmdlet to install the Azure Active Directory PowerShell for Graph module. For more information, see this Microsoft article.

Install-Module -Name AzureAD

Untrusted repository


You are installing the modules from an untrusted repository. If you trust this repository, change its InstallationPolicy value by running the `Set-PSRepository` cmdlet.


Are you sure you want to install the modules from 'PSGallery'?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "N"):
Choose Y(es)
Then import the module:
Import-Module AzureAD
To connect to your Azure AD, type:
Connect-AzureAD
And then log in the usual way (through a browser)
After logging in, type:
New-AzureADServicePrincipal -AppId cfc657dc-37a0-47e9-b655-dd5685a8b93b
(The AppId is the ID of our Restore portal.)

image-1682415656948.png

Then log in to Azure Active Directory.

Choose Enterprise applications > All applications > paste the AppID in the search field

You will see the RestorePortal App > click on it

image-1682415754452.png

Click Permissions > Grant admin consent

image-1682415792477.png

On the next screen, click Accept

image-1682415841614.png