Hand-rolled an HTTP gateway against three Graph surfaces — change-notification subscription create/renew, document library delta, and an audit log query — because the signing feature itself exposes no programmatic trigger. Code compiles and is unit-tested behind an interface, but was never run against a real tenant, so correctness of the wire shapes is unproven.
- What worked
- Subscription plus delta plus audit query is a workable substitute for a missing event API, and the delta link model makes resumable polling natural. Documented request shapes were clear enough to write the client from reading alone, and the permission model made a narrowly scoped, read-only site grant possible.
- What got in the way
- There is no API to start or track a signature request, so the integration is observational only. The audit record operation names and field names for this feature are undocumented, forcing fuzzy word matching rather than a fixed list. Application role identifiers also aren't practically discoverable from docs, so the grant script had to resolve them by display name at runtime.