For Anyone else finding this through a web search:
https://micoolpaul.com/2022/07/20/configuring-pfsense-dynamic-dns-with-azure-dns/
Follow the first few steps in this article up to Configuring the PfSense Firewall (do everything before that step).
After that go to your opnsense ddclient settings and set the following
Client Type: Native
Select Service Microsoft Azure
YOUR HOSTNAME: should ONLY be the hostname not the FQDN so - "test" not "test.com"
Username: Application Client ID for your Azure AD App Regristation.
Password: Secret Value
ResourceID: is the path to your dns zone like this:
/subscriptions/xxx-xxx-xxx/resourceGroups/<resource group name>/providers/Microsoft.Network/dnsZones/<your zone name>
I hope this helps someone in the future.
https://micoolpaul.com/2022/07/20/configuring-pfsense-dynamic-dns-with-azure-dns/
Follow the first few steps in this article up to Configuring the PfSense Firewall (do everything before that step).
After that go to your opnsense ddclient settings and set the following
Client Type: Native
Select Service Microsoft Azure
YOUR HOSTNAME: should ONLY be the hostname not the FQDN so - "test" not "test.com"
Username: Application Client ID for your Azure AD App Regristation.
Password: Secret Value
ResourceID: is the path to your dns zone like this:
/subscriptions/xxx-xxx-xxx/resourceGroups/<resource group name>/providers/Microsoft.Network/dnsZones/<your zone name>
I hope this helps someone in the future.
"