Blog Post

Azure Migration and Modernization Blog
12 MIN READ

Using Azure Functions to read Azure VMware Solution data via Powershell, PowerCLI, and the API

FastTrack_Mark's avatar
FastTrack_Mark
Former Employee
Apr 20, 2025

This function enables you to pull data from Azure VMware Solution vCenter Server, NSX and HCX appliances that is not currently surfaced through Azure Diagnostics. The data is then stored in a Log Analytics Workspace that can be queried (and alerted on) using standard Azure tools. You can create these resource in multiple Resource Groups (RG) depending on your RBAC and overall architecture. For this example, a single RG is being used, that is called AVS-Canada-Central. Note that Functions are Region specific, they cannot span regions and the storage account required must also be in the same region.

Gotcha’s Functions are region specific. Functions require a small (ie /28) Do not use “ –  “ if Azure functions, use “ _ “ if you need a spacer. Pay attention to the sections on RBAC and sy...
Updated May 23, 2025
Version 2.0