Azure AD Permissions Error: Unable to Retrieve SharePoint List Items in .NET Core

ArunKumar Arumugam 0 Reputation points
2024-07-05T07:04:29.44+00:00

Hi Team,

To retrieve SharePoint list item details via .NET Core:

I have created a new “App registration” in the “Azure Active Directory” section and generated a client secret. I also granted the necessary API permissions (SharePoint sites “Read All”) and obtained admin consent.

After creating a new .NET Core project in Visual Studio, I used the client ID, tenant ID, and client secret to fetch SharePoint list details. However, I received an “Unauthorized” response.

Could you please review and provide suggestions to resolve this issue?

Microsoft Entra
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,367 questions
0 comments No comments
{count} votes