pnp / pnp/pnpframework

403 Forbidden Request .GetACSAppOnlyContext(site.OriginalString, appID, clientSecret)

Open
#600 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
259
Forks
161
Avg merge
10h 33m
Merged PRs (30d)
1

Description

Getting 403 Forbidden request while using ClientContext created using above AuthenticationManager.GetACSAppOnlyContext(site.OriginalString, appID, clientSecret). need a way to connect to sharepoint using app registration client id and client secret. No proper documentation could be found for the same.

https://stackoverflow.com/questions/71079159/getacsapponlycontextsiteurl-clientid-clientsecret-return-403-forbidden-reque

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing AuthenticationManager.GetACSAppOnlyContext and the linked Stack Overflow report to understand the 403 scenario and the app-registration assumptions. Document the supported way to connect to SharePoint with an app registration client ID and client secret, including the prerequisites needed to avoid the reported response.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
authentication, documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.