Open 1shoaibazhar opened 10 months ago
Hi @1shoaibazhar,
You granted Graph permissions. It's a different API.
You need API Permissions -> SharePoint :: Application :: Sites.FullControl.All -> Grant Admin Consent
permissions in Azure app registration.
See more:
Hi @koltyakov , I have added the sharepoint sites full control as well, it still returns the same 403 forbidden error
@koltyakov , I am using Client Id, Client Secret in the authcnfg
So it's not an Azure app which is used but legacy Add-in Only? Azure auth uses tenantId, clientId, certPath, certPass parameters. For Add-in auth you have to enable it and also grant permissions.
I am using the Fluent Api client, also tried the HTTP client, I am getting the 403 forbidden error with correct credentials
Also attaching the list of api permissions I have granted on Azure