Forum Discussion
eduardo_adl
Aug 21, 2026Copper Contributor
Architectural Feedback: Is SPFx + Azure Database a viable choice for an internal ticketing system?
Hi everyone, I am currently evaluating the architecture for a new interdepartmental ticketing system and would love to get your feedback, real-world experiences, or best practices regarding our prop...
benibix
Nov 07, 2026Brass Contributor
Hi eduardo_adl
Jamony covered the pattern, so there's one thing to add on the security side. Permissions an admin approves for AadHttpClient aren't tied to your web part. They sit on the shared SharePoint Online Client Extensibility principal, so other SPFx components in the tenant can use the same grant once it's approved. The token tells your API who the user is, not which web part called it, so the Function has to decide department access from the user's identity and your own data, as Jamony said.
Also, ask for the scope in package-solution.json under webApiPermissionRequests, with the API's display name as the resource. An admin can deny the request and the package still deploys, so the web part should handle a 401 and not assume the grant exists.