There are several replacements, depending on the type of error. For "provisioning" errors, you can use the serviceProvisioningErrors
property on the user resource:
GET https://graph.microsoft.com/beta/users?$select=id,userPrincipalName,serviceProvisioningErrors
The other property you might be interested in is onPremisesProvisioningErrors
. Sadly, no filtering seems to be supported on any of these currently, so we don't have the equivalent of:
Get-MsolUser -HasErrorsOnly
If you are interested in more details, I published an article on this back in the day: https://www.michev.info/blog/post/5602/reporting-on-user-provisioning-errors-via-the-graph-api