Using the Beta endpoint in @pnp/graph in a SPFx web part

%3CLINGO-SUB%20id%3D%22lingo-sub-335243%22%20slang%3D%22en-US%22%3EUsing%20the%20Beta%20endpoint%20in%20%40pnp%2Fgraph%20in%20a%20SPFx%20web%20part%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-335243%22%20slang%3D%22en-US%22%3E%3CP%3EI%20can't%20seem%20to%20find%20any%20examples%20or%20documentation%20on%20using%20the%20Beta%20endpoint%20in%20the%26nbsp%3B%40pnp%2Fgraph%20library.%20It%20seems%20there%20is%20some%20configuration%20involved%20looking%20at%20this%20PR%20(%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fpnp%2Fpnpjs%2Fpull%2F35%2Fcommits%2F78995321ba4beac3a2f46e5e0b4740e541e65e80%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fpnp%2Fpnpjs%2Fpull%2F35%2Fcommits%2F78995321ba4beac3a2f46e5e0b4740e541e65e80%3C%2FA%3E)%2C%20but%20I%20can't%20figure%20out%20how%20to%20implement%20that%20during%26nbsp%3B%3CSPAN%3Egraph%3C%2FSPAN%3E%3CSPAN%3E.%3C%2FSPAN%3E%3CSPAN%3Eme%3C%2FSPAN%3E%3CSPAN%3E.%3C%2FSPAN%3E%3CSPAN%3Eget%3C%2FSPAN%3E%3CSPAN%3E().%20I%20need%20the%20Beta%20endpoint%20to%20retrieve%20a%20user's%20extensionAttributes.%20Thank%20you!%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-335243%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAPIs%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPnP%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESPFx%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Regular Visitor

I can't seem to find any examples or documentation on using the Beta endpoint in the @pnp/graph library. It seems there is some configuration involved looking at this PR (https://github.com/pnp/pnpjs/pull/35/commits/78995321ba4beac3a2f46e5e0b4740e541e65e80), but I can't figure out how to implement that during graph.me.get(). I need the Beta endpoint to retrieve a user's extensionAttributes. Thank you!

0 Replies