https://m365corner.com/m365-powershell/manage-microsoft-365-user-contacts-using-graph-powershell.html
Manage Microsoft 365 User Contacts Using Graph PowerShell
Learn how to list, add, update and delete Microsoft 365 user contacts using Graph PowerShell. Includes script, how the script works, further enhancements.
user contactsmanagemicrosoftusinggraph