UCPrimer
  • Tech Blog
  • About UCPrimer.com

Cloud Connector Edition (CCE) 1.4.1 Deployment Walkthru Part 2

9/23/2016

35 Comments

 
Picture
In the previous blog post, we prepared our host server for CCE1.4.1 installation with the necessary hardware and software pre-requisites and customized the CloudConnector.ini file. In this post, we will start building the VMs which will actually download the necessary software bits from the internet as well and downloading and installing updates, while leveraging the base OS iso image on the host server. After that, we will configure the CCE components to work with our Office365 E5 tenant. As mentioned, we are using an Asterisk IP-PBX to emulate a PSTN Gateway. One additional point that I did not mention in the previous post is that we are using pure Azure AD user accounts for CCE, as opposed to on-premise AD synchronized user accounts required by PSTN Connectivity via an on-premise instance of Skype4B.
Now are ready to prepare the base VHD image that will be used to build the actual CCE VMs. On the host server, we run the script:
Convert-CcIsoToVhdx -IsoFilePath <Windows ISO File Path, including file name> as shown below:
Picture
The process can take a long time as the script needs to download the latest updates from the internet to apply it to the base image before running sysprep. In my lab, I left the script running overnight and it was completed when I returned the next morning. There should be no errors if everything went smoothly as shown below:
Picture
We can check that the base image was created successfully by looking at the site root directory which is default to ..\\CloudConnector\SiteRoot\Bits\VHD. There should be a file named SFBServer.vhd which is about 20.5GB in size:
Picture
Next step is to set the execution policy in powershell by running the 'Set-ExecutionPolicy RemoteSigned' cmdlet and then changing the GPO Policy at 'Administrative Templates > System > UserProfiles > Do not forcefully unload the users registry' at user logoff to 'Enabled' as shown below:
Picture
Now we are ready to deploy the actual CCE VMs on the host machine. We first need to register the host as a CCE Appliance by running the 'Register-CcAppliance' script. When run for the first time, the script will prompt for a series of passwords. The first is the password for the local administrator and CceService accounts in each VM, followed by the CCE's AD Domain Admin and SafeMode Admin passwords, then the password to import the SSL certificate and finally your O365 online tenant admin password. Once all these are entered correctly, the script will leverage the parameters in the CloudConnector.ini file to create the PSTN site on the online tenant. This process is shown below and if everything went smoothly there will be no errors:
Picture
With the appliance registered, we now proceed to actually create and deploy the 4 CCE VMs. This is done by running the 'Install-CcInstance' script. This process will also read the parameters in the CloudConnector.ini file and also check how much memory and disk space is available on the host machine, create the necessary virtual network switches before starting to deploy the 4 CCE VMs in Hyper-V. The process is shown below: 
Picture
If everything went smoothly, then the script will complete with no errors and there will be 4 VMs created connected to the correct virtual network switches. It will also start the 4 CCE VMs in Hyper-V as shown below:
Picture
On the Hyper-V Management Console, we can see the 4 VMs running and in my host machine which has 32GB of memory, the 4 VMs were deployed with the following memory configurations as shown below:
Picture
Once the mediation server component is started, we should be able to create a SIP trunk from the Asterisk PBX to connect to the mediation server. Note that the listening port in the mediation server is TCP 5068 and I could not find a parameter in the CloudConnector.ini file to change this, and hence we need to make sure the SIP Trunk on Asterisk is configured for this. When created correctly, we can see the connection from Asterisk to the CCE Mediation component as shown below:
Picture
Before starting to configure our tenant and enabling users for CCE, we need to make sure that the DNS A record is created for our CCE Access Edge component. The DNS A record must match the FQDN that we configured for the Access Edge inside the CloudConnector.ini file and must also match the Subject Name of the SSL certificate created earlier. As mentioned in the previous post, because we are using GoDaddy DNS, the _sip._tls and _sipfederationtls._tcp SRV records have already been created automatically but if they are not, then we need to create these records manually as well:
Picture
To begin configuring our tenant, we start a remote online powershell session and run the commands to configure our tenant to use the CCE PSTN site we just deployed and enable users. This is done by running the cmdlets:

Set-CsTenantHybridConfiguration -PeerDestination <External Access Edge FQDN> -UseOnPremDialPlan $false
Set-CsTenantFederationConfiguration -SharedSipAddressSpace $True

Set-CsUser -Identity "<User name>" -EnterpriseVoiceEnabled $true -HostedVoiceMail $true -OnPremLineURI <tel:+phonenumber>

Output of these commands are shown below:
Picture
Finally, we enable the user for Online Voicemail by running the cmdlet:
Picture
In terms of dial plans, all CCE users are homed in the Office365 Skype for Business cloud infrastructure and inherit a dial plan based on the user's location. For example, when we look at the user rknight@sgpolycomlab.com, we can see that the dial plan assigned to this user is the SG dialplan and the details of the normalization rules of this dial plan can be shown using the 'get-CsDialPlan -Identity SG' cmdlet :
Picture
These normalization rules cannot be customized at this time for CCE deployments and any necessary number manipulation should be performed by the PSTN Gateway or IP-PBX that is connected to the CCE instance. With these steps, the CCE instance is now deployed successfully and what remains is to configure the PSTN Gateway for proper PSTN incoming/outgoing calls.
35 Comments
Claiton
10/27/2016 04:39:50 pm

Hello, i´m trying to install the CCE 1.4 in my environment but always shows the error

Create-BaseVM : The configuration of the operating system has taken longer than usual. Please check the virtual
machine network configuration.
No C:\Program Files\WindowsPowerShell\Modules\CloudConnector\Initialize-CcHost.ps1:71 caractere:5
+ Create-BaseVM -INI $ini -VHDPath $vhdFilePath -UnattendISOPath $unattendISOP ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Create-BaseVM

Reply
Brennon link
10/31/2016 10:03:10 pm

Hi Claiton

A few things to check:

1. Make sure you have the Windows Server 2012 R2 ISO image in the host server
2. Make sure the path to the ISO image is correct when you run the script: Convert-CcIsoToVhdx -IsoFilePath <Windows ISO File Path, including file name>
3. Try puting the ISO image in the c:\users\administrator directory or whatever home directory you are logged in as with administrator rights

Reply
Baskoro
11/1/2016 03:48:30 am

Hi,

Thanks for the post.
But I have a question, can I deploy CCE on existing Windows 2012 R2 Datacenter which already consist of other VMs?

Reply
Brennon link
11/2/2016 01:23:13 am

Hi Baskoro

Technically it should be possible as long as the hardware requirements are met, but it would not officially be supported by Microsoft.

Reply
Wojciech
11/22/2016 06:40:32 am

Hi Brennon

You article is perfect. Everything is working as you described.
I have a question , is it possible to change name and IP address of PSTN gateway after deploy? Or I need to start configuration from begin?

Reply
Brennon KWok link
4/3/2017 08:38:48 pm

Hi

You have to start configuration from the beginning as CCE does now allow configuration changes post depoyment

Reply
Fabio Ricci
2/14/2017 08:54:26 am

Quick question. I need to deploy a site with TWO connectors. The cloudconnector.ini files states I need to define the edge IP address(es), but I haven't been able to figure out the format:

ExternalSIPIPs=10.10.110.209 10.10.110.210 (no work, invalid format error on convert-ccisotovhdx)
ExternalSIPIPs=10.10.110.209,10.10.110.210 (same error)
ExternalSIPIPs=10.10.110.209;10.10.110.210 (same error)

Tried this format:

ExternalSIPIPs=10.10.110.209
ExternalSIPIPs=10.10.110.210

and it runs...but I'm not sure if is only reading one of the IP's...

the same happens with ExternalMRIPs and ExternalMRPublicIPs

Suggestions? Thanks in advance!

Reply
Brennon link
4/5/2017 03:12:38 am

Hi Fabio

if you are deploying 2 CCE instances, then just use a different cloudconnector.ini file for each instance.

Reply
Tim Reece
4/13/2017 07:39:19 am

Hi,

How did you go with configuring the Asterisk PBX? At the moment, I can't see anything happening on the PBX when I make a outbound call. At the very least I expect to get a response saying it can't translate the E.164 number.

Reply
Brennon link
4/28/2017 03:40:35 am

Hi Tim

I covered the Asterisk PBX configuration in this article: http://www.ucprimer.com/tech-blog/deploying-polycom-phones-for-cloud-pbx-with-on-premise-pstn-connectivity-part-1

You also need to make sure the SIP Trunk in Asterisk listens on TCP 5068. This can be done by editing /etc/asterisk/sip_additional.conf

Hope this helps

Reply
Tim Reece
4/28/2017 06:46:13 am

Thanks for the reply Brennon. Yeah it turned out be half that and half my trunk setup within Asterisk. Once I changed my trunk to talk to Skype on 5068 that was good, but also didn't realise that my Asterisk trunk was set to listen on 5160 as it was a chan_sip trunk. I had entered 5060 within the config ini file. After some adjustments to Asterisk, they started talking nicely.

That also led me to realise that I hadn't set the static IP for the media in the configuration correctly. Doing so meant I couldn't make calls at all if I wasn't located within the same network as the CCE server. Once I changed and redeployed, I could make calls from anywhere using Android client and Yealink T46.

Very nice indeed. Hoping to get clients interested in this as PSTN calling availability from Australia will be some time away I suspect.

Great article and keep up the good work.

learner
4/25/2018 05:03:04 pm

Hi Tim Reece , what is the configuration you made to connect asterisk and skype to talk nicely

Reply
Tim Reece
4/27/2018 04:08:34 pm

Hi Learner,

This is the config I used. Hopefully it will be of some help to you.

type=friend
transport=tcp
qualify=yes
promiscredir=yes
port=5068
nat=no
insecure=very
host=Skype Mediation Server IP
context=from-internal
canreinvite=no

ricky
4/24/2017 03:00:35 am

I'm having "No image is available" when convert-CcIsoToVHDX stuck at starting the base VM with the auto created unattended iso. Boot up with the original WinSvr2012_R2 iso is fine.

Please advise.

Thanks.

Reply
Brennon link
4/28/2017 03:44:13 am

Hi Ricky

Try running the convert-CcIsoToVHDX again. Check if there are any errors. Note that the host machine must have internet connectivity during the process as it will actually download the latest updates from the internet to apply it to the base image before running sysprep.

Reply
Suresh
6/5/2017 08:20:14 pm

Hi Brennon, thanks for the documentation.
When im installing ccappliance coming up with this error.
Task:InstallInstance starts at 2017-06-06T12:56:51.4639592+10:00
Cloud Connector cannot be deployed on this server. The Host server must be running Windows Server 2012 R2 Datacenter
or Standard Edition. Please restart the deployment on a Host server running Windows Server 2012 R2.
At C:\Program Files\WindowsPowerShell\Modules\CloudConnector\Internal\MtCommon.ps1:652 char:5
+ throw (Get-MtMessage -FormatKey "InternalCommon_Error_HostIsNotWinServer2012 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (Cloud Connector...Server 2012 R2.:String) [], RuntimeException
+ FullyQualifiedErrorId : Cloud Connector cannot be deployed on this server. The Host server must be running Windo
ws Server 2012 R2 Datacenter or Standard Edition. Please restart the deployment on a Host server running Windows S
erver 2012 R2.
Can you please advise on this error.

Reply
Brennon Kwok link
6/21/2017 12:59:19 am

Hi Suresh

Are you running Windows Server 2002 R2 Datacenter Edition? If yes, please also ensure it can connect to the internet during CCE deployment to download the latest updates

Reply
suresh
8/27/2017 10:35:09 pm

Thanks Brennon, it was because of OS I was using. I had downloaded another one and it worked.
However now I am getting the below certificate error when registering the appliance.
Opening online connection...
Online connection established.
Calling Set-CsCceApplianceDeploymentStatus -Identity c4e3cb24-9ee4-41c8-8720-ecd342ba6a7d -Action Deploy -Status Error -
Error Error=Unknown; Detail=Failed to install new instance with error: Missing sip.sip.domain.com in the certificate C:\
SFB\CertsV1\wildcard_domain_com.pfx -Version 1.4.2
Remove online connection.
Trying to exit current manual maintenance mode.
Successfully exit manual maintenance mode.
Missing sip.sip.domain.com in the certificate C:\SFB\CertsV1\wildcard_domain_com.pfx
At C:\Program Files\WindowsPowerShell\Modules\CloudConnector\Internal\MtValidations.ps1:425 char:17
+ throw (Get-MtMessage -FormatKey "InternalValidation_Error_MissDN ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (Missing sip.sip…_domain_com.pfx:String) [], RuntimeException
+ FullyQualifiedErrorId : Missing sip.sip.domain.com in the certificate C:\SFB\CertsV1\wildcard_domain_com.pfx

Can you please advise on this error.

Thanks.

Warren link
2/5/2018 12:10:35 pm

Hi,

Have you had any experience installing the CCE with the account admin account in Office365 having MFA active.
I cannot get around it

Reply
Brennon link
2/5/2018 05:47:11 pm

Hi Warren

No I have no tried it but I do not believe it will work. You should disable MFA for the admin account

Reply
Camila
3/19/2018 11:02:29 am

Hi,
My environment has a error in Register-CcInstance, I have used all the credentials we have and still doing the error. Could you help me please?

PS C:\Users\Administrator> Register-CcAppliance
The RegisterInstance log is in C:\Users\Administrator\CloudConnector\ApplianceRoot\Log\APSE0021_RegisterInstance_03_00_
018_03_19_14_57_55.log.
Task:RegisterInstance starts at 2018-03-19T14:57:55.0390518-03:00
The current scripts version is 2.1.0.
There are no instances currently running.
Validate configuration file C:\Users\Administrator\CloudConnector\ApplianceRoot\CloudConnector.ini successfully.
Started Initializing the account for CceService...
User: CceService exists.
User: CceService is already a member of the local Administrators group.
User: CceService is already a member of the Hyper-V Administrators group..
Initialize CceService account finished.
Opening online connection...
New-InccOnlineSession : Failed to create online remote PowerShell session: Unable to connect to the remote server.
At C:\Program Files\WindowsPowerShell\Modules\CloudConnector\Register-CcInstance.ps1:133 char:24
+ $session = New-InccOnlineSession;
+ ~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-InccOnlineSession

Restarting CceManagementService...
CceManagementService has restarted.
Get-CsPowerShellEndpoint : Unable to connect to the remote server
At C:\Program Files\Common Files\Skype for Business
Online\Modules\SkypeOnlineConnector\SkypeOnlineConnectorStartup.psm1:108 char:26
+ ... $targetUri = Get-CsPowerShellEndpoint -TargetDomain $adminDomain
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-CsPowerShellEndpoint], WebException
+ FullyQualifiedErrorId : System.Net.WebException,Microsoft.Rtc.Management.OnlineConnector.GetPowerShellEndpointCm
dlet

Get-CsPowerShellEndpoint : Unable to connect to the remote server
At C:\Program Files\Common Files\Skype for Business
Online\Modules\SkypeOnlineConnector\SkypeOnlineConnectorStartup.psm1:108 char:26
+ ... $targetUri = Get-CsPowerShellEndpoint -TargetDomain $adminDomain
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-CsPowerShellEndpoint], WebException
+ FullyQualifiedErrorId : System.Net.WebException,Microsoft.Rtc.Management.OnlineConnector.GetPowerShellEndpointCm
dlet

Reply
Brennon link
3/21/2018 02:35:31 am

Hi Camila

This is probably because your Host machine is unable to connect to Office365 via remote powershell. Can you check if your host machine has internet access and does not haveHTTP (port 5985) and HTTPS (port 5986 blocked by a firewall?

Reply
Jeff link
3/27/2020 06:56:36 pm

Hi Camila, do you remeber how you fixed your problem, I am experimenting the same problem right now. Thank you.

Reply
Learner
4/18/2018 07:35:26 pm

Hi can you pleased may a step by step in setting up the Asterisk to connect with the Skype Cloud connector edition

Reply
Brennon link
4/18/2018 08:13:27 pm

Hi Learner

I wrote a blog post on setting up Asterisk some time ago. Do have a look and see if it helps: http://www.ucprimer.com/tech-blog/lync-asterisknow-20-integration-guide

Reply
Learner
4/25/2018 11:23:18 pm

Hi I get an error like this I follow the procedure in setting up the trunk between the SCCE and Freepbx - IP 10.10.5.1

TL_ERROR(TF_COMPONENT) [mspool\MedServer]10B4.1394::04/26/2018-19:07:58.491.000025F7 (MediationServer,PeriodicOptionsSender.FinishSendOptionMessage:periodicoptionssender.cs(214))
(000000000249BD22)FinishSendOptionMessage caught ConnectionFailureException: Microsoft.Rtc.Signaling.ConnectionFailureException:Unable to establish a connection. ---> System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it 10.10.5.1:5060
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at Microsoft.Rtc.Internal.Sip.TcpTransport.OnConnected(Object arg)
--- End of inner exception stack trace ---
at Microsoft.Rtc.Signaling.SipAsyncResult2`1.ThrowIfFailed()
at Microsoft.Rtc.Signaling.SipAsyncResultBase2.EndAsyncOperation[TResult](Object owner, IAsyncResult result)
at Microsoft.RTC.MediationServerCore.PeriodicOptionsSender.FinishSendOptionMessage(IAsyncResult ar)
Detected at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at Microsoft.Rtc.Signaling.RealTimeException..ctor(String message, Exception innerException)
at Microsoft.Rtc.Signaling.ExceptionUtilities.TryMapS4Exception(Exception s4Exception, SecurityAssociationContext securityContext, Boolean isSipEndpoint, String traceId, Object parentObject, Object childObject, RealTimeException& ex)
at Microsoft.Rtc.Signaling.SipTransactionAsyncResult`1.ConnectionConnectCompleted(IAsyncResult result)
at Microsoft.Rtc.Signaling.SipAsyncResult2`1.MakeCallback()
at Microsoft.Rtc.Signaling.SipAsyncResult2`1.Complete(TEx ex, Boolean synchronousCompletion)
at Microsoft.Rtc.Signaling.RealTimeConnection.CompletePendingConnects(IEnumerable`1 results, RealTimeException exception)
at Microsoft.Rtc.Signaling.RealTimeConnection.<.ctor>b__1(SipConnection sender, Object reason)
at Microsoft.Rtc.Internal.Sip.SipConnection.FireDisconnectedEvent(Object reason)
at Microsoft.Rtc.Internal.Sip.SingleThreadedDispatcherQueue.DispatcherCallback(Object queue)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch(), Dns ResolutionFailure Detected: False

Reply
Brennon link
4/25/2018 11:41:36 pm

Hi Learner

The CCE Mediation Server component is configured to listen on TCP 5068 hence you need to make sure the SIP Trunk on Asterisk is configured for TCP 5068 and not 5060

Reply
Learner
4/26/2018 12:02:34 am

Which of the Config should I change

This is the Asterisk Trunk Config

host=10.10.5.5
transport=tcp,udp
port=5068 --- ???
insecure=very
type=friend
fromdomain=10.10.5.1
context=from-internal
promiscredir=yes
qualify=yes
canreinvite=yes

This is the SCCE Config file

;Parameters for gateway
;If only one Gateway is needed, remove entire [GateWay2] section. Don't keep it but leave values empty.
;If Gateway FQDN uses O365 Sip Domain in name for TLS purposes, be sure to set InternetDNSIPAddress to allow Edge to resolve these records
[Gateway1]

; Gateway FQDN
FQDN=10.10.5.1

;Gateway IP address
IP=10.10.5.1

;Gateway Port
Port=5060 ----- ???

;Protocol for SIP traffic (TCP or TLS)
Protocol=TCP

Brennon link
4/27/2018 02:31:49 am

Hi Learner

Leave the Mediation Server as TCP 5068 but edit the trunk to use TCP 5068 instead of the default 5060. On the asterisk server, edit the /etc/asterisk/sip_custom.conf file to include 2 parameters:

tcpenable=yes
transport=tcp

Reply
Learner
4/29/2018 02:08:33 am

(MediationServer,PeriodicOptionsSender.FinishSendOptionMessage:periodicoptionssender.cs(214))
(000000000249BD22)FinishSendOptionMessage caught ConnectionFailureException: Microsoft.Rtc.Signaling.ConnectionFailureException:Unable to establish a connection. ---> System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it 10.10.5.1:5068
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at Microsoft.Rtc.Internal.Sip.TcpTransport.OnConnected(Object arg)
--- End of inner exception stack trace ---
at Microsoft.Rtc.Signaling.SipAsyncResult2`1.ThrowIfFailed()
at Microsoft.Rtc.Signaling.SipAsyncResultBase2.EndAsyncOperation[TResult](Object owner, IAsyncResult result)
at Microsoft.RTC.MediationServerCore.PeriodicOptionsSender.FinishSendOptionMessage(IAsyncResult ar)
Detected at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at Microsoft.Rtc.Signaling.RealTimeException..ctor(String message, Exception innerException)
at Microsoft.Rtc.Signaling.ExceptionUtilities.TryMapS4Exception(Exception s4Exception, SecurityAssociationContext securityContext, Boolean isSipEndpoint, String traceId, Object parentObject, Object childObject, RealTimeException& ex)
at Microsoft.Rtc.Signaling.SipTransactionAsyncResult`1.ConnectionConnectCompleted(IAsyncResult result)
at Microsoft.Rtc.Signaling.SipAsyncResult2`1.MakeCallback()
at Microsoft.Rtc.Signaling.SipAsyncResult2`1.Complete(TEx ex, Boolean synchronousCompletion)
at Microsoft.Rtc.Signaling.RealTimeConnection.CompletePendingConnects(IEnumerable`1 results, RealTimeException exception)
at Microsoft.Rtc.Signaling.RealTimeConnection.<.ctor>b__1(SipConnection sender, Object reason)
at Microsoft.Rtc.Internal.Sip.SipConnection.FireDisconnectedEvent(Object reason)
at Microsoft.Rtc.Internal.Sip.SingleThreadedDispatcherQueue.DispatcherCallback(Object queue)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch(), Dns ResolutionFailure Detected: False

Hi I change the SCCE config file with port 5068 and start the install cc appliance, still the connection from mediation server to asteriskpbx

I did the edit the /etc/astersik/sip_custom.conf with the 2 parameters

What should I do to make it work

Reply
Brennon link
4/29/2018 11:27:44 pm

Hi Learner

Did you restart the Asterisk server after changing the parameters?

Learner
4/30/2018 11:19:46 pm

Hi I actually restart the server after changing the parameters but still the error is that the asterisk/pbx is refusing the connection, what else I need to configrue for this one,

Reply
Shri Muthulingam
5/29/2018 05:24:36 pm

Hi
I am having this issue. Need some help,

Create-BaseVM : The configuration of the operating system has taken longer than usual. Check the virtual machine
network configuration.
t C:\Program Files\WindowsPowerShell\Modules\CloudConnector\Initialize-CcHost.ps1:182 char:5
+ Create-BaseVM -INI $ini -VHDPath $vhdFilePath -UnattendISOPath $unattendISOP ...

Reply
Brennon link
6/3/2018 07:40:39 pm

Hi Shri

It appears that there are network issues. The host machine need to have internet connectivity throughout the whole process. If internet connectivity is lost then this issue may occur.

Reply
Leigh Henderson link
6/19/2018 09:22:37 pm

Make sure you have a management switch created, an IP address assigned on the host's interface for that switch, and something like this in the config file:
ManagementSwitchName=Management
ManagementIPPrefix=10.0.0.0
ManagementIPPrefixLength=24

If you've only just made the changes to the ini file, you'll need to perform an Import-CCConfiguration to re-read the ini file before running Convert-CcIsoToVhdx again.

Reply

Your comment will be posted after it is approved.


Leave a Reply.

    Picture
    Picture

    Important Links

    Microsoft Teams Docs
    Microsoft Learn

    ​Microsoft MVP Blogs

    Michael Tressler’s Blog
    Michael’s MTR Quick Tip Videos
    Jimmy Vaughan’s Blog
    Jeff Schertz
    Adam Jacobs
    James Cussen
    ​Damien Margaritis

    Archives

    September 2022
    August 2022
    March 2022
    February 2022
    January 2022
    December 2021
    November 2021
    October 2021
    September 2021
    August 2021
    June 2021
    April 2021
    March 2021
    December 2020
    October 2020
    September 2020
    August 2020
    April 2020
    March 2020
    February 2020
    January 2020
    December 2019
    November 2019
    October 2019
    September 2019
    August 2019
    July 2019
    March 2019
    November 2018
    October 2018
    September 2018
    August 2018
    June 2018
    March 2018
    February 2018
    January 2018
    December 2017
    November 2017
    August 2017
    July 2017
    April 2017
    March 2017
    February 2017
    January 2017
    November 2016
    October 2016
    September 2016
    August 2016
    July 2016
    June 2016
    May 2016
    April 2016
    March 2016
    January 2016
    November 2015
    October 2015
    September 2015
    August 2015
    July 2015
    June 2015
    May 2015
    April 2015
    March 2015
    February 2015
    January 2015
    December 2014
    November 2014
    October 2014
    September 2014
    August 2014
    July 2014
    June 2014
    May 2014
    April 2014
    March 2014
    February 2014
    January 2014
    December 2013
    November 2013
    October 2013
    September 2013
    August 2013
    July 2013
    June 2013
    May 2013
    April 2013
    March 2013
    February 2013
    January 2013
    December 2012
    November 2012
    September 2012
    August 2012

    Categories

    All
    Edge
    Exchange 2013
    Hybrid
    Lpe
    Lync 2010
    Lync 2013
    Mobility
    Oauth
    Office365
    Polycom
    Ucs

    RSS Feed

    This website uses marketing and tracking technologies. Opting out of this will opt you out of all cookies, except for those needed to run the website. Note that some products may not work as well without tracking cookies.

    Opt Out of Cookies