Is there a way to get a users
PrincipalId based on their email address. I'm looking to share/apply permissions to files and folders in a users OneDrive to Business drive using the REST API.
Alternatively you could utilize the following query:
/_api/web/SiteUsers?$select=id&$filter=Email eq '[email protected]'