Questions tagged [ms-graph-client]
The ms-graph-client tag has no summary.
19 questions
0 votes
0 answers
44 views
Not getting data back via Graph when querying for drive items
I've been trying to get setup with a Python app to programmatically connect to Sharepoint and get a file. End goal is to get the contents of a file in a known location (folder) on a company Sharepoint....
0 votes
1 answer
859 views
SPFx - Use MSGraphClientV3 - How to authenticate
I want to create first time a WebPart for SharePoint Online, where I need to use the MSGraphClientV3. I'm struggeling around with the authenication. I know the articles https://learn.microsoft.com/en-...
1 vote
1 answer
2k views
Expected 3 arguments, but got 2
I'm working on a WebPart, which has a form and a button. On button click write items in a SharePoint List. So, the button click is my last step, but the buton does not work. I get everytime: ...
0 votes
1 answer
1k views
Graph API call from SPFX tab with MS Graph Client
Can we call Graph API directly through MS Graph Client for SPFX tab in team Desktop?? Here is the sample of git which call Graph API directly in teams tab without any authentication flow or access ...
0 votes
1 answer
2k views
Post Team Chat Messages using Graph API
Not able to post message in teams chat using Graph API in SPFX using Token but able to get chats by using token Getting error in console Requested API is not supported in application-only context ...
0 votes
1 answer
423 views
Graph API unauthorized error for specific user only
All the permission are given , this API is working fine for other users Below is the screenshot of Graph explorer calling this API and getting unauthorized error This API was working fine but after ...
0 votes
0 answers
392 views
A provided field name ("_LikeCount"and "_CommentCount") is not recognized Graph Explorer
Hi i am trying to sort the result of my query by _LikeCount or _CommentCount of the Site Pages however i always got "A Provided field is not recognize" , any help is appreciated why it ...
0 votes
1 answer
260 views
IS there any way to create tasks in particular Channel of teams using Microsoft Graph API
I want to create a spfx webpart to create a tasks in the teams channel IS there any API for creating tasks in teams channel Below is the image of my channel Task tab I am new to Graph API Thanks in ...
2 votes
1 answer
3k views
Adding custom column to a SharePoint library using Graph API
I want to be able to add a custom column to a SharePoint library using Graph API. I was able to create the library using article https://docs.microsoft.com/en-us/graph/api/list-create?view=graph-rest-...
2 votes
1 answer
500 views
SharePoint SPFx Graph API calls not working on Desktop Teams tab
SharePoint SPFx Graph API calls not working on the Desktop Teams tab, It displays nothing on the Teams Tab. The same Teams Tab is working fine on the web browser. In the Teams tab, I just want to make ...
0 votes
1 answer
202 views
Fetching the Outlook Task's Data into Webpart using Graph Api call
I am using render function to make Graph Api call I have created a function _outlookTask to fetch the outlook task's data How to make Graph Api call with Selecting the HTTP method as GET and then, ...
0 votes
1 answer
3k views
Failed to execute MS Graph backend request GetGroupInternalApiRequest
In my project, there is a requirement to create Site Collection with Office 365 group, so I have used following method CreateUnifiedGroup of OfficeDevPnP.Core.Framework.Graph namespace. Here is the ...
1 vote
1 answer
1k views
You do not have permission to perform this action or access this resource PNPJS
We have an portal where an azure AD user will login and will be able to see the data from list on sharepoint. Trying to achieve this using PNPJS and Angular MSAL For the development phase,executed all ...
3 votes
2 answers
2k 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
2 answers
2k 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 ...