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…

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

End of Exchange Online Classic Authentication

As most of you admins are already aware that Microsoft is killing Basic authentication for Exchange Online services for PowerShell, EWS, POP, IMAP and EAS. SMTP authentication is still supported.(changes will not affect it)   Microsoft already released the Exchange online MFA Powershell  previously but it lacked the capability to be used in scripts. https://docs.microsoft.com/en-us/powershell/exchange/exchange-online/connect-to-exchange-online-powershell/mfa-connect-to-exchange-online-powershell…

Bulk Enable Teams Only Mode

Sharing this PowerShell Spell that will assist you in bulk migrating the users to Teams Only mode. Below are the requirements from our customer: Script should read userprincipalname from text file. Enable these users to Teams Only Mode. Option to Disable as well so that they can be changed back to ISlands mode if required. Report…