Create the availability address space in Office 365
Open a Powershell command and use the following commands (will need to be modified for the environment) to create this:
$Credential = Get-Credential
$Session = New-PSSession -Credential $Credential -AllowRedirection -ConnectionUri https://ps.outlook.com/PowerShell -Authentication Basic -ConfigurationName Microsoft.Exchange
Import-PSSession $Session
New-AvailabilityConfig –OrgWideAccount <username@domain.onmicrosoft.com> <----- Replace <username@domain.onmicrosoft.com> with your Office 365 admin account.
$domain = "<domain.onmicrosoft.com>" <----- Replace <domain.onmicrosoft.com> with your SMTP domain name in Office 365.
$adminUserId = "<username@domain.onmicrosoft.com>" <----- Replace <username@domain.onmicrosoft.com> with your Office 365 admin account.
$adminCredsId = "<username@domain.onmicrosoft.com>" <----- Replace <username@domain.onmicrosoft.com> with your Office 365 admin account.
$adminCredsPassword = "<YourPassword>" <----- Replace <YourPassword> with your Office 365 admin password.
$securePassword = ConvertTo-SecureString $adminCredsPassword -AsPlainText -Force
$adminCreds = New-Object System.Management.Automation.PSCredential($adminCredsId,$securePassword)
Add-AvailabilityAddressSpace -AccessMethod OrgWideFB -ForestName <domain.com> -Credentials $adminCreds –TargetAutodiscoverEpr 'https://autodiscover.<domain.com>/autodiscover/autodiscover.xml' <----- Replace <Domain.com> with your SMTP domain name.
© 2021 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy