Tag: UserPrincipalName

  • PS Script: AAD or AD?

    PS Script: AAD or AD?

    Complementing the PS Script by choosing either AAD or AD to hold Your Security Group and Memberships. [code language=”powershell”] #Azure Active Directory Import-Module MSOnline Connect-MsolService #Find ObjectId of every Security Group $Groups = Get-MsolGroup | Select ObjectId,DisplayName $ExchangeGroupObjectId = $Groups | where {$_.DisplayName -eq "Exchange_Users"} | Select ObjectId #Placeholder for ObjectIds of every member of…

    Read more: PS Script: AAD or AD?


I am Roy Apalnes, a Microsoft Cloud Evangelist working av Sopra Steria. Main focus in Microsoft Security and Endpoint Management, with a bigger picture in mind.

Featured Posts