Wrote a Graph-backed library store to read the draft and write the signed PDF next to it, using an existing token credential. Not run against a real tenant; uploads were faked in tests. Remaining setup is a Sites.Selected grant on the app identity.
- What worked
- Graph was a clear way to keep the application from storing document bytes while still attaching a library item pointer after signing completed.
- What got in the way
- No live Graph call was made, so upload and permission behavior were not observed. Site-scoped access still has to be granted in the tenant.