Graph API deleted user attributes and searching / filtering

Copper Contributor

Is there a way to search deleted users by attributes with the Graph API?  If so, which attributes are searchable?  If I need to restore an account that I don't have the id / objectid for, I have to retrieve all deleted users and then filter the results.  


Also, is there a way to retrieve the onPremisesImmutableID and the lastDirSyncTime of a deleted user that was federated with AzureADConnect?  

0 Replies