Questions tagged [ms-graph-client]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
2answers
26 views

Making MsGraphClient request synchronous (await)

Im trying to use a get call through the MsGraphClient in a synchronous manner, but it doesn't seem to be working for me: public getDirectReports = async (manager): Promise<any[]> => { ...
0
votes
2answers
82 views

SPFX MSGraphClient - Cannot read property 'id' of undefined

I am getting this issue when calling Shared and Recent OneDrive files using MS Graph Client on my modern webpart. Uncaught (in promise) TypeError: Cannot read property 'id' of undefined I get the ...
0
votes
0answers
12 views

getClient() undefined in SPFx React component [duplicate]

I am currently building an app that should send message from an SharePoint Framework app with React using Microsoft Graph. I have a problem with getClient method in my React component but not in the ...
0
votes
2answers
59 views

Problems with MSGraph POST in SPFx React

I am fairly new to MSGraph and I have a problem with the POST request. I am currently building an app in SharePoint Framework with React which should send a message to the typed email with subject and ...
0
votes
2answers
94 views

SPFX - calling async function - Missing properties

I'm trying to create a modern webpart that connects to MSGraphClient using the UI Fabric, to create quick access to files. I'm getting the follow error calling an async function with _allItems (...
0
votes
1answer
108 views

SPFX Webpart - BaseWebPart.properties Error

I'm new to SPFX / React Development, So I thought I'd start with a simple project! I want to add a Resource Quick Access webpart on my Modern Sharepoint Page where users can quickly access SharePoint/...
0
votes
0answers
25 views

SharePoint Web Api Permission Management Errors when approving Permissions

https://tennant-admin.sharepoint.com/_layouts/15/online/AdminHome.aspx#/webApiPermissionManagement When I try and approve an app for Microsoft Graph Group.ReadBasic.All it responds with a 400 error ...
0
votes
1answer
152 views

Get User Photo, Name &Title of an office 365 group using SPfx

I am trying get the user details i.e. UserName, Title and Profile picture of users that belong to a office 365 distribution group. I tried this code sample, but I get an undefined error: ...