Juha Palomäki

Blog entries in the Azure category

  1. Fixing invalid SamAccountName in Azure AD Domain Services

    Azure AD user had been initially created with a typo on his name. All the attributes had since then been fixed or so it looked like.

    Everything else worked fine, but this particular user could not log-on to Azure AD Domain Services connected Remote Desktop servers with his domainusername style …

  2. Using Azure.Storage module from Azure PowerShell function

    I was building a simple tool to automate some uploads to Azure Blob Storage in Azure Functions. Decided to use PowerShell for that, since well, sounds like a job for PowerShell!

    Getting the script to work on my computer was easy, getting it to work on Azure Functions.. not that …

  3. Site-to-site VPN with Meraki and Azure

    After setting up point-to-site VPNs on Azure, I thought I'd just throw in quickly also a site-to-site connection between the office Meraki MX device and the Azure VPN gateway.

    Turned out it was not so straightforward. The VPN gateway on Azure was route based, which means IKEv2. To my surprise …

  4. Get SSL cert in PFX format using OpenSSL

    Steps for getting SSL certificate in pfx format (suitable for Azure for example)

    openssl req -new -nodes -keyout mycert.key -out mycert.csr -newkey rsa:2048
    

    Upload CSR, get the Certificate and save it local file. Get the intermediate certificates (if needed).

    Concatenate the intermedia certs to one file:

    cat …
  5. Azure, add IP address to cloud service

    Azure now supports multiple IP addresses per cloud service. This means you can for example host multiple web sites, each running in different IP address on one cloud service (1..n virtual machines).

    Right now it seems to be be possible to manage this only via the Azure PowerShell commandlets …

  6. Enable debug log in Azure Storage Emulator

    Azure Storage Emulator has logging capability but this is not enabled by default and it does not seem to be available via user interface.

    In order to enable the log,

    • Head to the Storage Emulator data directory, which is located at %LOCALAPPDATA%\DevelopmentStorage.
    • Edit the the developmentstorage configuration file located …
  7. Create self-signed SSL certificate for Azure

    Creating a self-signed certificate is simple - when you know the correct commands.

    First create the sertificate and private key

    makecert -r -sv example-org.pvk example-org.cer -a sha1 -n "CN=www.example.org" -pe -len 2048 -sky exchange -eku 1.3.6.1.5.5.7.3.1
    

    (specify some …

Juha Palomäki
Projects
Categories