PowerShell Email Domain Migration Guide

    Overview: This comprehensive guide provides PowerShell commands for migrating email domains in hybrid Microsoft 365 and Active Directory environments. The scripts cover updating User Principal Names (UPNs), managing Exchange Online mailbox addresses, and configuring Active Directory proxy addresses.   Table of Contents Prerequisites Step 1: Update User Principal Names (Microsoft Graph) Step 2: …

Offboard M365 User

Preliminary information This article, or rather this script, is based on the GitHub script of the AdminDroid team. Before I get to my script and my article, I would like to point out the initial script that motivated me to create my script and this article for the community. [visual-link-preview encoded=”eyJ0eXBlIjoiZXh0ZXJuYWwiLCJwb3N0IjowLCJwb3N0X2xhYmVsIjoiIiwidXJsIjoiaHR0cHM6Ly9naXRodWIuY29tL2FkbWluZHJvaWQtY29tbXVuaXR5L3Bvd2Vyc2hlbGwtc2NyaXB0cy90cmVlL21hc3Rlci9BdXRvbWF0ZSUyME0zNjUlMjBVc2VyJTIwT2ZmYm9hcmRpbmciLCJpbWFnZV9pZCI6LTEsImltYWdlX3VybCI6Imh0dHBzOi8vb3BlbmdyYXBoLmdpdGh1YmFzc2V0cy5jb20vYjc3ZTdmYzczYjhiM2RiMzVhNTZjNWRhM2U5MzYxODA3N2I4YWE4MjI2NDg1YTM0OTY2MTZiYTJlZGU0YTkxMS9hZG1pbmRyb2lkLWNvbW11bml0eS9wb3dlcnNoZWxsLXNjcmlwdHMiLCJ0aXRsZSI6InBvd2Vyc2hlbGwtc2NyaXB0cy9BdXRvbWF0ZSBNMzY1IFVzZXIgT2ZmYm9hcmRpbmcgYXQgbWFzdGVyIMK3IGFkbWluZHJvaWQtY29tbXVuaXR5L3Bvd2Vyc2hlbGwtc2NyaXB0cyIsInN1bW1hcnkiOiJPZmZpY2UgMzY1IFJlcG9ydGluZyBQb3dlclNoZWxsIFNjcmlwdHMuIENvbnRyaWJ1dGUgdG8gYWRtaW5kcm9pZC1jb21tdW5pdHkvcG93ZXJzaGVsbC1zY3JpcHRzIGRldmVsb3BtZW50IGJ5IGNyZWF0aW5nIGFuIGFjY291bnQgb24gR2l0SHViLiIsInRlbXBsYXRlIjoidXNlX2RlZmF1bHRfZnJvbV9zZXR0aW5ncyJ9″] Thanks again to AdminDroid …

Register Application in EntraID – Using PowerShell

In today’s digital landscape, automating processes is an essential part of increasing efficiency and maximizing productivity. In this blog post, I will introduce you to a powerful PowerShell script that greatly simplifies the registration of applications in Microsoft 365. This script provides a complete solution that not only automates app registration, but also generates a …

Unveiling an unexpected behavior in ConditionalAccess: Unable to enforce controls for some Apps

Recently, an unexpected problem popped up with some ConditionalAccess policies: it is not possible to enforce controls. Applications show up as ‘excluded’ from the targeted resources when ConditionalAccess policies are evaluated. This behaviour allows users to access resources without MFA or compliant devices. This is possible for Applications which use Entra ID as Idp or …