AvailableApps Throws Error When Using `AppCatalogScope.Site`
Open
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 259
- Forks
- 161
- Avg merge
- 10h 33m
- Merged PRs (30d)
- 1
Description
The above line wants to use the following URL when trying to use AppCatalogScope.Site : /_api/web/sitecollectionappcatalog/AvailableApps
In REST, this returns:
<m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<m:code>-1, Microsoft.SharePoint.Client.ResourceNotFoundException</m:code>
<m:message xml:lang="en-US">Cannot find resource for the request SP.RequestContext.current/web/sitecollectionappcatalog/.</m:message>
</m:error>
In code, this returns:

Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at src/lib/PnP.Framework/ALM/AppManager.cs line 655 and compare the request made for AppCatalogScope.Site with the reported REST URL and error. Confirm the expected endpoint or behavior for this scope, then verify the change with coverage for AvailableApps; done means the scope no longer raises the reported resource-not-found error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100