I have a set of graph queries that return the email addresses for my Office 365 Group members who are also the members of my connected SharePoint Team Site.
https://graph.microsoft.com/v1.0/groups?$filter=startswith(displayName,'<group name>') https://graph.microsoft.com/v1.0/groups/,<group id>/members?$select=givenName,surname,mail
I'd like to provide users that capability in a SharePoint Online tenant.
How can I do that with a SharePoint Framework web part wrapped in an add-in? My tenant admin has a process for approving add-ins to the App Store. I'm not sure which permissions I need to request and if the authentication and authorization of the current user carries through from an SPFx web part via an add-in.