Category: PowerShell

How to setup Azure Lighthouse (Manual)

Microsoft released Lighthouse last weekend, and since this is a great feature, I wanted to implement it as soon as possible, but the Microsoft docs might be a bit confusing, so I wanted to simplify the manual, so here it is! We will be using PowerShell, as this makes...

Sync existing office 365 tenant with local active directory

Recently we created an AAD tenant that has no on-premises AD domain counterpart. Now we are facing an issue where we want to be able to use the identities in this tenant to log into some servers. It would appear that we would need to domain join these servers,...

Azure AD exclude user from password experation policy

Connect to Azure AD with PowerShell: Connect-azuread Now we would like to get an overview of all users, run the following command: Get-azureAduser If you have the UserPrincipalName or email address we might shorten the list to just that single user bij adding a filter: Get-AzureADUser -ObjectId <UserPrincipleName> Next...

Connect to Azure AD with PowerShell

On your Windows device open a PowerShell prompt. To be able to connect we first need to make sure that the PowerShell module has been installed. Run the following command and confirm all questions with yes Install-Module -Name AzureAD Now we are ready to connect to Azure AD. Because...