The goal of this page is to assist you in operations required for your Office 365 tenant in order to get the full benefit of Cloud Connector Edition on
Use PowerShell and an Office 365 Admininstrator account to connect your Office 365 tenant:
PS> Import-Module skypeonlineconnector PS> $cred = Get-Credential PS> $Session = New-CsOnlineSession -Credential $cred -Verbose PS> Import-PSSession $session
Enable federation on your Tenant:
PS> Set-CsTenantFederationConfiguration -SharedSipAddressSpace $True
Ensure that your tenant has the proper configuration using the PowerShell command:
PS> Get-CsTenantFederationConfiguration Identity : Global AllowedDomains : Microsoft.Rtc.Management.WritableConfig.Settings.Edge.AllowAllKnownDomains BlockedDomains : {} AllowFederatedUsers : True AllowPublicUsers : False TreatDiscoveredPartnersAsUnverified : False SharedSipAddressSpace : True
The site is created automatically when installing your CCE, and your CCE will be assigned to the new site.
You can see the site list using:
PS> Get-CsHybridPSTNSite RunspaceId : 9f7b5758-8109-461b-acc7-133a984abae7 Identity : AEPSITE1 EdgeFQDN : AEPSITE1.SONUSMS01.COM Index : 1 EnableAutoUpdate : True LastTopologyUpdateTime : 8/30/2016 11:39:09 AM BitsUpdateTimeWindowList : {} OsUpdateTimeWindowList : {}
If the site is not properly created when installing your CCE, you can remove the site with:
PS> Remove-CsHybridPSTNSite -Identity AEPSITE1
You can assign a default site for your tenant using:
PS> Set-CsTenantHybridConfiguration -PeerDestination defaultsite.sonusms01.com -UseOnPremDialPlan $false
Ensure that your tenant has the proper default site using the PowerShell command:
PS> Get-CsTenantHybridConfiguration Identity : Global HybridPSTNSites : {} HybridPSTNAppliances : {} TenantUpdateTimeWindows : {} PeerDestination : defaultsite.sonusms01.com HybridConfigServiceInternalUrl : HybridConfigServiceExternalUrl : UseOnPremDialPlan : False
The appliance will be created automatically when installing your CCE. An appliance is identified by its Name (Host computer Hostname and Mediation Server FQDN) and its site.
PS> Get-CsHybridPSTNAppliance RunspaceId : 9f7b5758-8109-461b-acc7-133a984abae7 Identity : 1e298a7b-9a71-4579-9e82-c2988ceb2bf3 Name : WIN-47N107ISBNC SiteName : AEPSITE1 SiteIndex : 1 MediationServerIPAddress : 192.168.210.123 MediationServerFqdn : Med-033813.sfbhybridtest.local MaintenanceMode : False RegistrationStatus : Registered Status : None Version : Error : OsUpdatedOn : DeployedOn : StatusUpdatedOn : 8/30/2016 11:46:45 AM DeploymentStatus : {"Status":"Deploying","Version":"1.3.8.29","Error":null,"StartTime":"2016-08-30T11:46:45.176 6Z"} OsUpdateStatus : {"Status":"None","Error":null,"StartTime":null}
You must remove the Appliance when deploying with a new host (new hostname or new Mediation server name)
PS> Unregister-CsHybridPSTNAppliance -identity 1e298a7b-9a71-4579-9e82-c2988ceb2bf3 -Force
Step | Action |
---|---|
1 | Execute this PowerShell command to ensure that the user has been created: PS> Get-CsOnlineUser -Identity site1user1@SonusMS01.com |
2 | Assign the proper voice policy and phone number using the PowerShell command: PS> Set-CsUser -Identity site1user1@SonusMS01.com -EnterpriseVoiceEnabled $true -HostedVoiceMail $true -OnPremLineURI tel:+15101011001 |
3 | Ensure that the user has the proper voice policy using the PowerShell command:
PS> $user = Get-CsOnlineUser site1user1 PS> $user.EnterpriseVoiceEnabled PS> $user.HostedVoiceMail PS> $user.VoicePolicy |
4 | Assign a PSTN site to this user. The site must already exist. If you don't specify a site, your user will be assigned to the default site. If you want to assign the user to a specific site, use:
PS> Set-CsUserPstnSettings -Identity site1user1 -HybridPSTNSite aepsite1 |
5 | Ensure that the user has the proper configuration by using the PowerShell command:
PS> Get-CsUserPstnSettings -Identity site1user1 RunspaceId : c238a624-4bda-470b-9108-e584ec46de03 UserPrincipalName : site1user1@SonusMS01.com SipAddress : sip:site1user1@SonusMS01.com AllowInternationalCalls : True HybridPstnSiteName : AEPSITE1 HybridPstnSiteFqdn : AEPSITE1.SONUSMS01.COM |
Create a time window in which the update can safely be applied:
PS> New-CsTenantUpdateTimeWindow -Identity AlwaysOn -Daily -StartTime 0:00 -Duration 24:00
Apply the new time window to your site:
PS> Set-CsHybridPSTNSite -Identity <SiteName> -OsUpdateTimeWindow @{add="AlwaysOn"} -BitsUpdateTimeWindow @{add="AlwaysOn"}
Create a time window in which the update will not be applied:
PS> New-CsTenantUpdateTimeWindow -Identity NeverOn -Monthly -WeeksOfMonth First -DaysOfWeek Sunday -StartTime 3:00 -Duration 0:0
Apply the new time window to your site:
PS> Set-CsHybridPSTNSite -Identity <SiteName> -OsUpdateTimeWindow @{add="NeverOn"} -BitsUpdateTimeWindow @{add="NeverOn"}