Anyone familiar with the built-in O365 dns and how to export the records?
Trying to find some guidance on what service to connect to, and what commands can even export the DNS records to a csv. I'm going the connect-msolservice route but a lot of the commands that are documented don't seem available even as a global admin in Azure.
I'm not NEW to powershell but I'll admin using it in the cloud makes me super angry since there seems to be documentation for a lot of stuff that just doesn't work anymore. Or I'm looking in the wrong direction. I can't seem to find a good 'for dummies' type thing that spells this stuff out. Just doing the google thing that pulls up a bunch of conflicting MS documentation as well as old threads where nothing works anymore.
For O365 DNS, I usually use this script: Get-DnsRecord -ZoneName "yourdomain.com" | Export-Csv -Path "C:\yourpath\DNSRecords.csv". Also, use the Office 365 cloud backup Europe to back up your data. Hope it eases the anger a bit!
-- Edited by SaymonSax on Thursday 18th of January 2024 10:14:02 AM