I have some working code that basically queries 2 different Graph API endpoints, then searches for a match in the User Principal Name column, and inserts the
User Principal Name column