how to resize your VNET Gateway from Basic to High Performance

Please note that when you create a VNET Gateway, the default Virtual Network Gateway SKU is Basic. If you need higher level SKU for better gateway performance with some extra cost (check Azure pricing page for more detais), you can modify the VNET Gateway size to Standard or HighPerformace as below. You can change it…

0

how to export VM details in Azure Resource Manager (ARM)

1. Run the following PowerShell script. $cred = Get-Credential (Login-AzureRmAccount -Credential $cred)>0 $Subscriptions = Get-AzureRMSubscription $vmarray = @() $i=0 foreach ( $Subscription in $Subscriptions ) { $SubscriptionId = $Subscription.SubscriptionId (Login-AzureRmAccount -Credential $cred -subscriptionid $SubscriptionId)>0 (Select-AzureRMSubscription -SubscriptionId $SubscriptionId)>0 $i++ Write-Progress -activity $subscription.SubscriptionName -PercentComplete ($i/$Subscriptions.Count*100) ($rmvms=Get-AzurermVM) > 0 foreach ($vm in $rmvms) { $vmstatus = Get-AzurermVM -Name…

0

how to resize your OS disk of your Azure VM to maximum allowed size

1. Run the following PowerShell. Modify the parameters accordingly. $cred = Get-Credential Login-AzureRmAccount -Credential $cred $resourceGroup = “nerg1” $location = “North Europe” $vmName = “nerg1win1” $vm = Get-AzureRmVM -ResourceGroupName $resourceGroup -Name $vmName Stop-AzureRmVM -ResourceGroupName $resourceGroup -Name $vmName -Force $vm.StorageProfile.OsDisk.DiskSizeGB = 1023 Update-AzureRmVM -ResourceGroupName $resourceGroup -VM $vm   Start-AzureRmVM -ResourceGroupName $resourceGroup -Name $vmName 2. Extend the…

0

AADConnect error: The management agent “xxx.com” failed on run profile “Delta Import” because the database or database log file is full.

On the AADConnect server’s Windows event log, if you get an error similar to “The management agent xxx.com failed on run profile Delta Import because the database or database log file is full“, probably you need to cleanup AADConnect run profiles history and take backup of SQL Express database. First of all, please verify that you…

0

How can you move your running (not generalized) Linux VHD to Azure ARM in just a few steps?

1) Prepare your standard Azure management client environment as explained in my previous blog. Keep all the modules up to date. 2) Create a new Resource Group in Azure https://portal.azure.com. 3) Inside the Resource Group create a new Storage Account of your choice, prefer Locally Redundant Storage for simple requirements and its pricing advantages. 4) Create a new container…

0

How can you move your generalized (sysprepped) Windows VHD to Azure ARM in just a few steps?

1) Prepare your standard Azure management client environment as explained in my previous blog. Keep all the modules up to date. 2) Create a new Resource Group in Azure https://portal.azure.com. 3) Inside the Resource Group create a new Storage Account of your choice, prefer Locally Redundant Storage for simple requirements and its pricing advantages. 4) Create a new container…

0

Prepare standard management workstation that has all the PowerShell modules and other dependencies you may need

Try not to use your regular personal desktop for Azure or Office 365 management. Try to use dedicated and standard virtual workstation for Azure and Office 365 management operations. Keep your modules clean and up to date. Install Azure PowerShell  Install Visual Studio Community latest edition with Azure SDK Install Azure CLI https://aka.ms/webpi-azps Install Online Services…

0

SPN registered incorrectly during ADFS setup when you use gMSA service account

On Windows 2012 R2, when you when you use group Managed Service Account (gMSA) service account, you may come accros this problem during setup of the first ADFS servers in the farm or during setup of the additional ADFS servers in the farm. You can also apply the same solution for normal service accounts that…

0

How can you enable auditing for AD FS?

1. Click Start, point to Programs, point to Administrative Tools, and then click Local Security Policy. 2. Navigate to the Security Settings\Local Policies\User Rights Management folder, and then double-click Generate security audits. 3. On the Local Security Setting tab, verify that the AD FS service account is listed. If it is not present, click Add…

0

Office 365 customers who have ADFS installed can do simple filtered MFA using ADFS claim rules

Small Medium sized Office 365 customers may not want to deploy on premises MFA server if the requirements are very simple and scope is limited to Office 365 workloads only. Small Medium sized Office 365 customers who want to enable MFA may want to skip AppPassword based authentication for rich clients and activesync clients but…

2