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.)
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
Click Permissions > Grant admin consent
On the next screen, click Accept
No Comments