O365 – Get Tenant Role Groups and Members

I needed something quick to report on all O365 tenant role group members and ran into a minor annoyance when I found the role GUID is needed to list role members.  The following will get, sort, and display all tenant role members

Get-MsolRole | % {$x=$_.name; Get-MsolRoleMember -RoleObjectId $_.objectID.guid | 
                  select @{n='RoleName';e={$x}},DisplayName,EmailAddress} | 
                  sort RoleName,Displayname