profile for Hannel on Stack Exchange, a network of free, community-driven Q&A sites

Project Work Hours

Sat & Sun 6am - 9am

Subscribe via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Archives

AzureDNS

This article covers the operation of a custom script that will copy supported DNS records from a Windows DNS server into AzureDNS. The script will search the specified DNS Zone on a Windows DNS Server for supported Azure DNS records (MX,A,AAAA,SRV,TXT,CNAME & PTR) and copy those record over to AzureDNS. This script should only be used for initial copy as it will try to create new DNS Zone in Azure and if that fail because DNS Zone is already in Azure script will terminate. Requirements for running script are;

  1. Access to windows DNS Server
  2. Azure Global Admin Account
  3. Windows PowerShell 4.0+
  4. Azure PowerShell 3.0+
Copying Windows DNS Zone to AzureDNS

Copying Windows DNS Zone to AzureDNS

Continue reading

UPDATED: 12/25/2016

Script update as Azure RM cmdlet has changed since original script was created
Redid video as old video was bad quality and  also the script changes needed to reflect in new video.


This article covers the demonstration of a custom script I created to automate Azure DNS and Office 365 (O365) domain configuration. The script will login into Azure and Office 365 to automate the adding, verifying of domain and adding the necessary DNS records to AzureDNS to complete domain setup in Office 365 portal. Requirements for running script are;

  1. Office 365 Global Admin Account
  2. Azure Global Admin Account
  3. Azure PowerShell 3.0+
  4. MSOnline Module installed
Add Office 365 Domain using AzureDNS

Add Office 365 Domain using AzureDNS

Syntax:

.\Add-O365DomainAzureDNS.ps1 -Domain <Domain> -SubscriptionId <SubscriptionId> -ResourceGroupName <ResourceGroup>

 

Example:

 .\Add-O365DomainAzureDNS.ps1 -Domain testme.o365tech.us -SubscriptionId 1d6737e7-4f6c-4a9e-8cd4-996b6f003d0e -ResourceGroupName AzureT

Continue reading