02-11-2019 04:05 AM
02-11-2019 09:49 AM
If you are in Hybrid, your groups should already be synchronized to Azure AD. But in any case, if you are looking for an easy way to export that information, just use PowerShell (Get-ADGroup/Get-AzureADGroup).
02-11-2019 12:50 PM
Getting the O365 Security Groups members by below steps,
Step 1: Connect to O365 online Services Using Powershell
# Get-MSOLGroup "Security Group Name"
Step 2: Copy the Group ID
Step 3: Exporting the users from the Security Group running following command in Powershell
Get-MsolGroupMember -groupObjectid ‘xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx’ | Select DisplayName,EmailAddress,GroupMemberType | Export-csv C:\Desktop\SecurityGroup.csv -notypeinformation