Lazily loads the @microsoft/microsoft-graph-client module exactly once and memoizes it. A static import
is impossible here (optional peer SDK, may be uninstalled in non-Teams deployments); the
optionalDependencies entry keeps it in the dependency graph (CLAUDE rule 8, category 2 — optional peer
SDK loaded only when the Teams provider is configured).
Lazily loads the
@microsoft/microsoft-graph-clientmodule exactly once and memoizes it. A static import is impossible here (optional peer SDK, may be uninstalled in non-Teams deployments); theoptionalDependenciesentry keeps it in the dependency graph (CLAUDE rule 8, category 2 — optional peer SDK loaded only when the Teams provider is configured).