Set up Windows PowerShell
Windows PowerShell
Each
Microsoft 365
tenant can support multiple email domains. You must update an existing Microsoft 365
domain if you configure the email domain to use BlackBerry Enterprise Identity
as the identity provider. Complete these steps to configure a Microsoft 365
domain. All Microsoft 365
commands are performed in Windows PowerShell
.
You must authenticate each time you open a new
Windows PowerShell
session.- Setup and authenticate the following modules using yourMicrosoft 365administrator credentials:
- TypeInstall-Module -Name Microsoft.Graph. Press Enter.
- TypeImport-Module -Name Microsoft.Graph. Press Enter.
- TypeConnect-MgGraph -Scopes "Domain.ReadWrite.All","Organization.ReadWrite.All","Directory.AccessAsUser.All". Press Enter.