Hi @Mo7Z
Thank you for your post!
I understand that you are trying to access the Microsoft Graph API using PowerShell, but you are encountering an "Insufficient privileges to complete the operation" error.
The error is caused by your account not being assigned Azure AD built-in roles such as Global Administrator, Application Administrator or Cloud Application Administrator or not being assigned Azure RBAC roles, such as User Access Administrator or Owner to the scoped subscription.Please take a look to Assign a role to a user and Assign Azure roles using the Azure portal to assign the required roles.
Also, check what permissions is required to run the query. for more info, please refer sample quires here
Hope this helps. Do let us know if you any further queries.
Thanks,
Akhilesh.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.