Category Archives: Azure Windows PowerShell

Configuring an Azure VM From a Sysprepped Source Image using ARM PowerShell.

While working on an Azure IaaS deployment, I was required to configure an Azure VM using a generalized image in a different resourcegroup.In this post, I want to document my experience using Azure Resource Manager Powershell cmdlets to achieve the … Continue reading

Posted in Azure, Azure Resource Manager, Azure Windows PowerShell | Tagged , , , , , , , , | Leave a comment

Copying an Azure Cloud Blob (VHD) between different Storage Accounts and Resource Groups with ARM PowerShell.

While working with Azure, I came across a situation where I needed to quickly provision an Azure Virtual Machine from an existing sysprepped VHD in a different storage account and resource group using the Azure Resource Manager deployment model. This … Continue reading

Posted in Azure, Azure Windows PowerShell | Tagged , , , , , , , | Leave a comment

Create a UPN Suffix using PowerShell for Office 365 Migration.

In preparation for Office 365 migration, we had to match the current on premise users’ logon name (UserPrincipalName) with their email addresses to eliminate any user confusion and ease the outlook authentication process .As an example, The on premise logon … Continue reading

Posted in Active Directory, Active Directory Domain Services, Azure Windows PowerShell, Office 365, PowerShell, PowerShell 3.0, Powershell 4.0 | Tagged , , , , , | 3 Comments

Configuring AD Group Filtering with Microsoft Azure AD Connect Tool.

Microsoft has finally introduced Active Directory group filtering with the release of Azure AD Connect. The one tool to replace AADSync and include ADFS functionality.In this post, I will outline my steps for setting up AAD Connect with Single sign-on, … Continue reading

Posted in Azure AD Sync, Azure Windows PowerShell, Directory Synchronization, Office 365, PowerShell, PowerShell 3.0, Powershell 4.0, Windows Server 2012 R2 | Tagged | Leave a comment

Generate Office 365 User License Report with PowerShell.

As we continue expanding our Office 365 deployment from OfficeProPlus to include Exchange Online and Archiving, it’s become increasingly necessary to reconcile and report on current AD Synced and cloud users with their specific subscription and licenses quickly and efficiently. … Continue reading

Posted in Azure Windows PowerShell, Office 365, PowerShell, PowerShell 3.0, Powershell 4.0 | Tagged , , , , | 1 Comment

Configuring Azure AD Sync Attribute Filtering.

So I’ve been playing with AADSync attribute filtering. So far we have successfully filtered our lab Azure AD sync by Domain and Organizational Unit. It appears that group membership based filtering is not supported with this version. But according to … Continue reading

Posted in Active Directory, Active Directory Domain Services, AD Forest, Azure Windows PowerShell, Office 365, PowerShell | Tagged , , , , , | 2 Comments

Matching an Office 365 Azure Cloud user Identity with an On-premise Active Directory User Object.

Recently I came across a situation with our Office 365 tenant deployment where a cloud user was created before we configured and ran Azure ADSync at the on premise Active Directory. Please note that we already had a matching on … Continue reading

Posted in Azure Windows PowerShell, Office 365 | Tagged , , , , , | 3 Comments