Set Teams Only Mode Based AD Group

Today, I am sharing another Magical PowerShell Spell related to Microsoft Teams. This solution will assist the organizations that want to slowly migrate to Teams Only mode before updating the the settings at the organizational level. Download it from below GitHub Link: Teams Only Mode Based AD Group Prerequisites for this Solution: Active directory Module…

Get Extension Attributes Using Microsoft Graph

There can be situations where you as a DevOpsĀ  engineer or infrastructure administrator want to access extension attributes or other onpremise attribute values from the cloud without accessing these thru on-premise infrastructure. One such situation I have been encountered with Microsoft flow where I want to get back-end properties when user fill the powerapps form.…

Export direct reports Attributes from List of Managers

New day, new PowerShell Magic…. One of the customer manger has contacted usĀ  with the below requirement: Export particular attributes for Direct reports from multiple managers. Input will be provided via samacountnames of managers thru text file. Attribute List: Manager,FirstName, LastName, EmailAddress,Department, Location, Employeeid We have used PowerShell Active Directory Module to achieve this as…

Bulk Password Reset v2 – Active Directory

Sharing a second version of my Bulk Password Reset Script. https://gallery.technet.microsoft.com/scriptcenter/Bulk-Password-Reset-Active-db5d5160 I was contacted again by our Active directory team as they wanted to reset the password of hundreds of users. They need a powershell spell that can do below: Read userids (samaccountname) and Passwords from CSV. Reset the different password for users. user must…