Pages

Monday, April 18, 2016

Skype for Business Online to On-Premise Migration

In this Blog we will see how to migrate Skype for Business Online to Lync / Skype for Business On-Premise.

Current situation 

Customer looking to utilize current on-premise IP Telephony solution. So we have decided to have Lync Hybird solution so that Lync on-premise users can leverage existing on-premise IP telephony.

Before proceeding further you have to deploy full fledged Lync on-premise solution. Here i would think that you have already one.along with Lync environment you also needs to ahve Dir Sync server has we are setting up hybrid with O365. your current On-premise AD need to be extended to O365 Azure AD in order to synchronize password with O365.

Below are the required components in order to build Hybird.

1) On-Premise Domain services
2) Dir Sync / AD Connect
3) Complete Lync /SFB  On-Premise Environment

Below are the steps needed to specifically enable Hybrid and move users back to on-premises.

Lync On-Premise Side

Set-CSAccessEdgeConfiguration -AllowOutsideUsers 1 -AllowFederatedUsers 1 -UseDnsSrvRouting -EnablePartnerDiscovery $true

 Skype for Business Online

Download and install Skype for Business online Powershell ( https://www.microsoft.com/en-us/download/details.aspx?id=39366 )

Import Powershell Skype for Business Online.

Import-Module SkypeOnlineConnector $cred = Get-Credential $CSSession = New-CsOnlineSession -Credential $cred Import-PSSession $CSSession –AllowClobber.

Enable your tenant for Shared SIP Address Space

Set-CsTenantFederationConfiguration -SharedSipAddressSpace $True

Remove existing Lync/Skype for Business Hosting Rule

Get-CSHostingProvider -Identity <SFB Online> | Remove-CSHostingProvider

Recreate Skype for Business Online Provider with Hybrid Specific Configuration

New-CSHostingProvider -Identity SFBOnline -ProxyFqdn "sipfed.online.lync.com" -Enabled $true -EnabledSharedAddressSpace $true -HostsOCSUsers $true -VerificationLevel UseSourceVerification -IsLocal $false -AutodiscoverUrl https://webdir.online.lync.com/Autodiscover/AutodiscoverService.svc/root

Update External/Public DNS Records

Edge Names (SIP Access/Web Conference/ AV  FQDNs)
External Web Services FQDN
Dialin FQDN
Meeting FQDN
LyncDiscover FQDN
SRV _sipfederationtls._tcp.domain.com
SRV _sip._tls.domain.com


Enable Test User

Enable-CsUser -Identity <account> -SipAddress <sipaddress> -HostingProviderProxyFqdn "sipfed.online.lync.com" –verbose

Skype for Business Online Side 

Login to Skype for Business online Powershell.

Move-CsUser -Identity <UPN> -Target <FE Pool Name> -Credential $cred -HostedMigrationOverrideURL https://admin0f.online.lync.com/HostedMigration/hostedmigrationservice.svc

Hope this is help Full :)
   

Friday, April 15, 2016

Skype For Business Cloud Connector Edition Released


Current Solution

If any organization wanting to leverage the enterprise grade PBX functionality offered by Skype for Business, must deploy the on premise environment hybrid mode with O365 solution, Skype for Business Server.So that users Homed in On-Premise SFB can leverage enterprise voice capabilities.

With Current release of CCE you will not required entire Skype for Business environment for PSTN Capability.

What is Skype for Business Cloud Connector Edition ( CCE)

Skype for Business Cloud Connector Edition is a package of virtual machines for deployment within an organization's infrastructure that enables public switched telephone network (PSTN) connections with Microsoft's Cloud PBX service.

"With Cloud Connector Edition, you deploy a set of packaged VMs that contain a minimal Skype for Business Server topology -- consisting of an Edge component, Mediation component, and a Central Management Store (CMS) role. You will also install a domain controller, which is required for the internal functioning of Cloud Connector. These services are configured for hybrid with your Office 365 tenant that includes Skype for Business Online services."

Read here for More detailed information Technet Article 

To Download CCC Link to Download

Tuesday, April 5, 2016

Moving On-Premise Lync User's to O365 cloud

In this Blog we will moving users to O365 cloud.

Before actually moving user's to Office 365, Please check with users are synchronized to O365 and licenses are assigned to particular migrating users.

Step 1

Open the new Lync Management Shell session and launch the remote session. We have to add the –AllowClobber parameter so that the Lync Online module's cmdlets are able to overwrite the corresponding Lync Management Shell cmdlets:

$credential = Get-Credential
$session = New-CsOnlineSession -Credential $credential
Import-PSSession $session -AllowClobber 

Step 2

Open the O365 Lync Admin Center  by going to Service settings | Lync | Manage settings in the Lync Admin Center, and copy URL, for example, https://admin0e.online.lync.com.

Step 3

Add the following string to the URL /HostedMigration/hostedmigrationservice.svc which we have copied earlier.

https://admin0e.online.lync.com/HostedMigration/hostedmigrationservice.svc 

Step 4

The following Command will move users from Lync on-premises to Lync Online.

Move-CsUser -Identity ramesh@contoso.com –Target sipfed.online.lync.com -Credential $creds-HostedMigrationOverrideUrl https://admin0e.online.lync.com/HostedMigration/hostedmigrationservice.svc
Step 5

To check if user moved to Lync Online use the below command
Get-CsUser | fl DisplayName,HostingProvider,RegistrarPool,SipAddress command.

Saturday, April 2, 2016

Configuring Azure VM with Multiple NIC's

The below instructions below will help you create a VM with Multiple NIC in Azure.

In Order to Run the Blow Commands you have you install the Azure Poweshell follow this

https://azure.microsoft.com/en-us/documentation/articles/powershell-install-configure/


To create a VM with multiple NICs, follow the steps below:

Select a VM image from Azure VM image gallery. Note that images change frequently and are available by region.

Step 1

$image = Get-AzureVMImage -ImageName $imagename

$image = Get-AzureVMImage `
    -ImageName "a699494373c04fc0bc8f2bb1389d6106__Windows-Server-2012-R2-20150726-en.us-127GB.vhd"

Step 2
Create a VM configuration.

$vm = New-AzureVMConfig -Name "Edge2nics" -InstanceSize "Large" -Image $image

Step 3
Create the default administrator login.

Add-AzureProvisioningConfig –VM $vm -Windows -AdminUserName “ramesh123” -Password “password123”

Step 4

Set the configuration of the “default” NIC

Set-AzureSubnet -SubnetNames "Subnet-2" -VM $vm

Set-AzureStaticVNetIP -IPAddress "10.0.1.74" -VM $vm

Step 5

Add additional NICs to the VM configuration.

Add-AzureNetworkInterfaceConfig -Name "Ethernet2" -SubnetName "Subnet-1" -StaticVNetIPAddress "10.0.0.14" -VM $vm

Step 6

Create the VM in your virtual network

New-AzureVM -ServiceName "easyedge02" –VNetName “Lync” –VM $vm


To Update New IP Address for Existing VM which is already with Dual NIC configured

Get-AzureVM -ServiceName Easyedge01 -Name Lyncedge1 | Set-AzureStaticVNetIP -IPAddress "10.0.0.12" | Update-AzureVM



Step by Step Skype for Business Edge Deploment

In this Post will cover Skype for Business Edge server Step by Step

Topology Builder

Logon to the Front-End server and start the Topology Builder. Instead of creating a new topology download the topology from an existing deployment and store the file on the local hard disk.

1) Expand the topology tree and click on “Edge Pools”

2) Right Click “Edge Pools” then select “New Edge Pool”



Click next to define New Edge pool.



Define the Edge Pool



Select Features, Select the features you want to deploy and click next





Select IP Options and Click on Next.



External FQDNs” For each Edge services enter the external URL of it as in the screenshot below



Enter Internal IP Address and Click Next.



Enter External IP Address and click on Next.



Click Next



Click Next.



Select Publish Topology to Publish the Topology



Click On Finish.



Now that we published the new changes to the CMS database, we need to export those configurations to a file that we will be using on the Skype For Business Edge server to install the edge role.

Start a  Skype For Business Management Shell and using the following command line export the CS-Configuration to a ZIP file

To Export Configuration file.




Configuring and Installing Edge server

In order to install the Skype for Business edge server we will have to change the Netbios name as we are not going to join the system to domain




Install the pre-requisites in edge server

Add-WindowsFeature NET-Framework-Core, Windows-Identity-Foundation, NET-WCF-HTTP-Activation45, Web-Asp-Net45



Insert Skype for Business ISO and run Setup.exe.

Accept License Agreement and click on OK.







Click on Next to install Administrative tools





Select Run Install Local Configuration Store



Select Import and import the edge configuration file by selecting browse button. and Click Next.





Click on Finish.



Click next to install the Server components.



Click on Finish




Select Internal & External Certificate Request.



Import Certificate.Click Next



Click Next




Click on Finish





Click on Assign the certificate.




Once certificate Assigned. Start services.

Hope this will be Help Full :)