Using PowerShell and Graph to update Azure AD user photos in bulk
This is a cross post from the SysManSquad blog. Introduction In this post, I’ll give you some background information and show you how to utilize the Microsoft Graph API to bulk update Azure AD user photos. If you’d like to skip the background information and get straight to the nitty-gritty, click here. Background I work at a private K-12 school in the United States. Like many schools out there, we have scheduled portraits once a year for students and staff....
Working around NPS limitations for AADJ Windows devices
This is a cross post from the SysManSquad blog. ⚠️ UPDATE (2023-03-11) ⚠️ Due to changes introduced by Microsoft in KB5014754 and being enforced on November 14, 2023, the name mapping method used in the scripts below will no longer work, and authentication will fail at that time. Thankfully, commenter Anders Hannus has pointed out a policy module named TameMyCerts for Microsoft Active Directory Certificate Services (AD CS). This policy module, used in conjunction with the below scripts, will let us work around Microsoft’s changes and give us the added benefit of no longer needing name mappings that are insecure....