Hi @Dummy , "AuthOMMissingRequiredPermissions" indicates that the token you are using does not contain the required permissions for the target API.
To resolve this issue, you should ensure that you have added the necessary permissions (scopes) to your application registration in Azure Active Directory. In particular, you should include the Contacts.Read
permission for Microsoft Graph.
Additionally, make sure that the user or administrator has consented to use the application with the required permissions. If the user has not granted consent, you may need to send an interactive authorization request for the user and resource.
After updating the permissions and ensuring consent, try fetching the contacts again using the Microsoft Graph API endpoint.
Please let me know if you have any questions and I can help you further.
If this answer helps you please mark "Accept Answer" so other users can reference it.
Thank you,
James