Assign Users to Azure AD Application with PowerShell

Azure AD Enterprise Applications are a great way to connect third-party applications to your Azure Active Directory. Depending on your Azure AD plan you can assign either single users to an application or complete groups. With Azure AD Plan 1 you can only assign users, … Read moreAssign Users to Azure AD Application with PowerShell

Use Azure Automation and PowerShell to Automate Office 365 Tasks

Azure Automation is one of the most popular tools to run PowerShell scripts in the cloud. You can not only manage your Azure enviroment with the runbooks, but also you Microsoft Office 365 tenant, for example. Automation is a key part of IT, and as … Read moreUse Azure Automation and PowerShell to Automate Office 365 Tasks

PowerShell For Loop, ForEach, and Do While/Until Explained

One of the most fundamental functions in programming besides “If, Else” are loops. They allow you to process data or run a function until a certain condition is reached. In PowerShell, we can use different types of loops For loop, ForEach, Do While, and Do … Read morePowerShell For Loop, ForEach, and Do While/Until Explained

How-to use Test-NetConnection in PowerShell

Did you know that the ping command, with its 38 years, is older than the command prompt? You probably already have replaced the command prompt from your daily toolset with PowerShell. So it’s now time to replace the ping command with PowerShell Test-NetConnection. The advantage … Read moreHow-to use Test-NetConnection in PowerShell

How to use Try, Catch, Finally in PowerShell

Errors in your PowerShell script can stop the execution of your script, but sometimes that is completely unnecessary. Try Catch blocks in PowerShell help you to handle those errors properly. Take the following example; You need to update the job titles of 20 employees. The … Read moreHow to use Try, Catch, Finally in PowerShell

Get MFA Status of Office 365 users with PowerShell

One of the reports that I really miss in the Microsoft 365 Admin Center is a clear overview of the MFA status of each user. MFA is a really important security measure to protect your tenant. To make sure that our users have configured MFA … Read moreGet MFA Status of Office 365 users with PowerShell

Find Email Addresses in Office 365 with PowerShell

Sometimes you need to find the user or a mailbox that is using a particular email address. Especially aliases are sometimes hard to find, and you don’t want to open each mailbox to check if it’s using the email address that you need. You can … Read moreFind Email Addresses in Office 365 with PowerShell