Have you looked at the new Graph Connector for Microsoft Identity Manager recently? You can find a link here. I used to use the PowerShell MA that Søren Granfeldt made. That thing is probably the best extension to MIM period. Use it for all kinds of things. But the new Graph connector will now be my new default for syncing with Azure AD.
It support both the v1 and v2 (which is still called beta) API of graph and can get so much data. It has support for delta's, and export.. with no need to write any PowerShell code.
And an other thing that is quite handy.. set Force user must change password.. just a flag.
Really, sync with Azure AD has just become as easy as sync with regular on-prem AD.