sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

API Access SharePoint Admin Page Issue

Open sharepointalist opened this issue 5 months ago • 2 comments

Target SharePoint environment

SharePoint Online

What SharePoint development model, framework, SDK or API is this about?

💥 SharePoint Framework

Developer environment

None

What browser(s) / client(s) have you tested

  • [ ] 💥 Internet Explorer
  • [X] 💥 Microsoft Edge
  • [ ] 💥 Google Chrome
  • [ ] 💥 FireFox
  • [ ] 💥 Safari
  • [ ] mobile (iOS/iPadOS)
  • [ ] mobile (Android)
  • [ ] not applicable
  • [ ] other (enter in the "Additional environment details" area below)

Additional environment details

No response

Describe the bug / error

After installing a new version of SPFx package, API page reflects multiple instances of the same APIs (both in approved and pending). Approving API's essentially creates a copy. New package adds another copy to pending. On Entra side of things everything looks fine.

This issue happens on demo tenants, as well as customer tenants.

Screen Shot 2024-09-12 at 10 38 49 AM Screen Shot 2024-09-12 at 10 40 57 AM Screen Shot 2024-09-12 at 10 42 53 AM

Steps to reproduce

  1. Install SPFx package with Graph API's in webApiPermissionRequests
  2. Approve API's from SharePoint Admin Center
  3. Install new package
  4. Look into API access page again

Expected behavior

There should be only one instance of every Graph API on API access page.

sharepointalist avatar Sep 12 '24 18:09 sharepointalist