Don't have Telegram yet? Try it now!
https://veenstra.me.uk/2016/04/20/office-365-sharepoint-online-collecting-all-user-profile-properties-using-pnp-powershell/
Office 365 - SharePoint Online - Collecting all user profile properties using PnP PowerShell