Intune Duplicate Device Cleanup

This is the another task that needs to be automated via Powershell spell. Problem Statement: Every time a device attempts to enroll, it creates a new record, and the old record is simply left.  If a user attempts to enroll again in 15 times, there are many dead records left to cleanup. Resolution: Search for…

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.…