James McDonald
MacOS Azure Storage Explorer using azcopy indicates 100% then continues trying failed PUT’s and never completes the copy
Slow Australian NBN can't handle the expectation azcopy has about your bandwidth I have been trying to copy a 1.7GB file to Azure blob storage container and it's been failing. I've changed from Azure account login to a SAS URL and have started to investigate what is...
Viewing Azure WebApp Failed Request Traces
If you enable logging and FTP access to your Web App you get access to a directory tree with different formats of logs. I couldn't view the Failed Request Traces because browsers are highly suspicious of XSL files because they can contain malicious processing...
DiskStorageAccountTypes
https://docs.microsoft.com/en-us/rest/api/compute/disks/list#diskstorageaccounttypes If you specify a Disk Type or Sku of Standard_LRS you get a Standard HDD
ListAccountSAS Error in Azure Activity Log
So getting an error after doing a heap of study with an Azure Free Trial Account and deleting all my resource groups every night But an error kept appearing every minute in the Activity Log You can see the JSON of the error below. (And if you are worried about...
New-AzDNSZone -ZoneType Private not showing registered hosts
Oh the joys of studying a platform that is in continuous rapid development Just discovered a difference between expected behaviour and actual with New-AzDNSZone I've just created a "Private" zone 'res.toggen.com.au' and registered both resolution and registration...
Check for valid SSL Cert on an SSL/TLS Email Server
Method 1 - openssl #!/bin/bash SERVERNAME=mail.example.com printf 'quit\n' | openssl s_client -connect $SERVERNAME:25 -starttls smtp | openssl x509 -enddate -noout Method 2 - Google Chrome Run Google Chrome and bypass the ERR_UNSAFE_PORT error by specifying the...
Azure VPN Gateway P2S For Windows and Mac
In the Virtual Network Gateway configuration enable "IKEv2 and SSTP" as the Point-to-site configuration Tunnel Type To use EasyRSA certs on Windows. Assuming you have already initialized your EasyRSA ca.crt then you need to create a client cert ./easy-rsa...
Mobile area code – sort of
Just had to enter my mobile number into a Microsoft Certification Website that has an old style phone entry field with a "required" area code. So it prompted the question. Do mobile phones have an area code if so what is it? Sort of...
Azure Virtual Network Gateway Site-to-Site Connection to Amazon Web Services
This is how I got a Site to Site (S2S) connection from an Azure Virtual Network to Amazon Web Services VPC running using a Ubuntu 18.04 LTS VM on AWS as a VPN Device For the graphically inclined this is what we are doing except the on-premise bit is an AWS VPC...
EasyRSA for IKEv2 VPN on Azure
Just getting my mac to connect to an Azure IKEv2 VPN P2S connection using certs generated by EasyRSA Assuming you have already init'd and created your ca.crt using EasyRSA. See my previous post regarding this. Format the ca.crt to copy into the the Root Certificate...
Azure VM rename
So you can't rename an Azure VM as this is immutable but you can delete the VM (leaving the disks, network etc) and then navigate to the disk and choose the Create VM option and specify the new name. Here you can see a vm-vneta is a normal vm. vm-vnetb was originally...
Note to self about /23
If you define a /23 i.e. 192.168.0.0/23 then the there are only two possible subnets available for /24 192.168.0/24 and 192.168.1.0/24
Virtual Machine Contributor – Can’t create a VM with PublicIP or Network Security Group
Just testing the Virtual Machine Contributor role and if you have public IP and Network Security Group selected (things that you would assume would be wanted when creating a VM) you get a Validation failure {"code":"InvalidTemplateDeployment","message":"Deployment...
Azure Instance Metadata Service – Windows is case-insensitive and Linux case-sensitive
When calling to a Resource manager API from Windows and Linux there are some differences to the URL. Just got caught with this because of a copy and paste from one to another. Windows with lower case "resourcegroups" works (Invoke-WebRequest -Uri...
No option to allow System or User Assigned Identity to be added to “All Resource Groups”
Trying to follow https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/tutorial-linux-vm-access-arm and https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/tutorial-windows-vm-access-arm and...
az role assignment error when using –assignee
So I created a Security group in Azure Active Directory named "Development" and then tried to assign it to the "Website Contributor" role with less than stellar results But going to Azure AD and getting the object ID for the "Development" group and changing fro...
Using EasyRSA to create the P2S OpenVPN Certificates on an Azure VPN Gateway
I am on a Mac the Microsoft documentation covers Powershell, makecert and Linux instructions for creating Self-Signed certs for the OpenVPN P2S configuration. However I prefer the familiar and I've used OpenVPN before on Linux and the bundled easyrsa utility included...