msgraph-helper
Simplifies usage of the MSGraph client in your SPFX solutions.
Usage
Import the helper:
;
In your main webpart or extension in the onInit
function, add the following:
await MSGraph.Initthis.context.msGraphClientFactory, 'v1.0';
Anywhere in your soluton you can now do:
; ;
The helper supports Get
, Patch
, Put
and Delete
.