It is required to setup a internal static IP for Azure VM before promoting it as a Domain Controller or before setting up TFS/RM server etc. on Azure VM. This is required since Azure VM when shut down de-allocates its assigned IP and next time will be assigned with a different internal IP.
To set up internal static IP it is required to install Azure PowerShell in the local machine. Downloads available here.
Install Azure PowerShell.
Web Platform Installer will download and install Microsoft Azure PowerShell with Azure SDK.
Installation of Azure PowerShell completed.
Launch Azure PoweShell.
Test IP address availability in Azure Virtual Network with following command.
Test-AzureStaticVNetIP –VNetName VirtualNetworkName –IPAddress IP
Test-AzureStaticVNetIP –VNetName chaminda.vn –IPAddress 10.0.0.4
This throw an exception if the Azure Subscription Account is not added in Azure PowerShell. To add Azure Account execute “Add-AzureAccount” command.
Subscription account will be added.
If required to change azure subscription name before adding the account follow the instructions available here.
Execution of Test-AzureStaticVNetIP succeeds after adding the account. It shows specified IP is available or not and available few IPs to use.
To set an static internal IP for Azure VM execute below command.
Get-AzureVM -ServiceName CloudServiceName -Name VMName | Set-AzureStaticVNetIP -IPAddress IPAddress | Update-AzureVM
Get-AzureVM -ServiceName ch-dc1 -Name ch-dc1 | Set-AzureStaticVNetIP -IPAddress 10.0.0.5 | Update-AzureVM
This will set specified internal IP to the VM.
It is great if the latest updates to TFS can be applied as and when they are released. But for a large organization it might not be sometime...
Resolve MSB4019: The imported project "C:\Program Files\dotnet\sdk\1.0.0-rc4-004771\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Props" was not found or Unable to start the process. No executable found matching command "dotnet-projectmodel-server"You might encounter compilation error in Visual Studio 2015 when a new .NET Core 1 web app is created, if you have installed Visual Studio 2...
You needed to setup dedicated machines for testing when using Run Functional Tests and you had to execute, Deploy Test Agent step and Copy...
TFS 2018 RC1 is now available and you can download it from https://www.visualstudio.com/downloads/ . Release note here explains the new fea...
If you have upgraded the TFS from TFS 2015 to TFS 2018 you will encounter a situation where your vNext build agents 1.xx are no longer valid...