Questions tagged [microsoft-graph-sdks]

Microsoft Graph SDKs refer to a collection of language-specific SDKs for Microsoft Graph. This tag should generally be used in conjunction with the [microsoft-graph] tag.

The current list of available SDKs for Microsoft Graph can be found at https://developer.microsoft.com/en-us/graph/gallery/?filterBy=SDKs

1156 questions
12
votes
1 answer

Microsoft graph : UnhandledPromiseRejectionWarning: PolyFillNotAvailable: Library cannot function without fetch. So, please provide polyfill for it

Microsoft graph throws the below exception when initializing the client using the access token the access token was generated just before initializing the client & also the same token works in post-man what is that I'm doing wrong? code let…
ChinnarajS
  • 644
  • 5
  • 20
11
votes
1 answer

How to upload files to onedrive using msgraph-sdk-python?

I'm not a newbie when it comes to python (nor a professional), but this is the first time I'm trying something like this. I would like to upload files to OneDrive using an python script. Sounds simple right? Well apparently it's more then I can…
10
votes
2 answers

How to create an object of IAuthenticationProvider of GraphServiceClient with fixed inputs

I am trying to connect to Microsoft Share Point from my Java application. The documentation for Microsoft Graph SDK for Java is not so clear. I am trying to initiate the Graph client, while providing the credentials needed via a custom GUI or…
8
votes
2 answers

How to update identities collection for existing B2C User using Microsoft Graph and SDK

I am trying to update the identities collection for an existing User in an Azure AD B2C tenant. Specifically, I am attempting to add another federated identity entry for the user. According to the Microsoft Graph documentation this should be…
spoida
  • 2,655
  • 1
  • 23
  • 14
8
votes
3 answers

Calling Microsoft Graph API using user context/user token C#

I have a web application where user logins using the approach defined in this sample. Now I want to call Microsoft Graph for this User. I have gone through many documents and it's very confusing how this should be done. This is what I have tried. I…
user911
  • 1,509
  • 6
  • 26
  • 52
8
votes
1 answer

Unable to update Hyperlink or Picture in SharePoint via Microsoft Graph

I am trying to update a value on a list item (type is Hyperlink or Picture). When performing GET requests, the data return fine, but when I try to create an item or udpate it with the value I end up with following: { "error": { "code":…
Jan Hajek
  • 633
  • 5
  • 20
8
votes
1 answer

What is the recommendation to reuse GraphServiceClient in Microsoft Graph .Net SDK?

I realized Microsoft Graph .Net SDK is using HttpClient class. https://github.com/microsoftgraph/msgraph-sdk-dotnet/blob/dev/src/Microsoft.Graph.Core/Requests/HttpProvider.cs Microsoft's own documentation recommends reuse of HttpClient instances as…
Dogu Arslan
  • 3,292
  • 24
  • 43
6
votes
1 answer

Microsoft Graph Batch API concurrent request reduction to 4 where as outlook had 200 concurrent Requests

We use Outlook Batch API to send multiple Outlook REST requests in a single HTTP batch request. In Outlook Batch API, we make 200 requests in the same batch HTTP request and all the concurrent requests succeed. Whereas if we do the same in graph…
6
votes
1 answer

GraphServiceClient and get additional data

I use GraphServiceClient to get messages from Outlook. var messages = await _graphServiceClient.Me.MailFolders[folderId].Messages.Request() .Header("Prefer", "outlook.body-content-type=\"text\"") .Filter($"createdDateTime gt {greaterDate}…
6
votes
2 answers

Microsoft Graph only returning the first 100 Users

I have the below code which returns all users based on a filter. The problem is it only returns 100 users but I know there are a lot more. private List GetUsersFromGraph() { if (_graphAPIConnectionDetails == null)…
gtrivedi
  • 435
  • 1
  • 7
  • 18
6
votes
1 answer

Microsoft Graph Subscription ExtensionError - Delete / Update

Issue I currently have an Azure Active Directory Application that has a Microsoft Graph Webhook Subscription listening for new emails (messages) in a specified mailbox. The subscription has a scheduled task that renews the subscription's expiration…
6
votes
1 answer

Synchronizing new calendar events always have the @removed field

I'm syncing calendar events using the @microsoft/microsoft-graph-client npm package with the base url /me/calendarview/delta. It's been working fine until a few days ago. For some reason whenever I create a new calendar event in outlook.office.com…
5
votes
1 answer

Getting Forbidden Error in Microsoft ToDo Tasks create subscription Graph API

When creating subscription using Graph API, we are getting the below error even if we have enough permission in access token. Token permissions: Calendars.ReadWrite Contacts.ReadWrite Tasks.ReadWrite User.Read profile openid email { "error": { …
5
votes
3 answers

How to send email from any one email using Microsoft Graph

I am using microsoft graph to send email. This email I want to send from any email that exists in the Active directory. I already have get the permission on Mail.Send and have admin consent on Azure.So all set on the Azure level for access and…
5
votes
1 answer

Takes a few minutes until tabs endpoint is available after creating a private channel using Graph

I am creating a new private channel in an existing team using Graph. After this, I want to create a new tab in that channel. When doing a POST to the tabs endpoint I almost always get a 404 NotFound with the message No active channel found with…
1
2 3
77 78