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
3
votes
1 answer

.NET Graph SDK Updating Sharepoint Online List Item Values

I'm trying to add values to a custom column on a list item after uploading the list item to the list. I can get the item into the list, and I can query the list and get back the item's data, but when I try to add the data for the extra field I get…
3
votes
1 answer

Resource Not Found While fetching contacts from MS Graph API

I tried below github sample for Azure AD Authentication and successfully getting access token with proper call back URL. https://github.com/Microsoft/BotBuilder-Samples/tree/master/samples/csharp_dotnetcore/18.bot-authentication Modified and…
3
votes
1 answer

Implementing a group $filter query using the msgraph-sdk-java

This is what I have so far but I can't seem to be able to find .filter(s), is that done in some other way? IGroupCollectionRequest request = graphServiceClient.groups().buildRequest(); IGroupCollectionPage page = request.get(); …
3
votes
6 answers

Subscription validation request failed. Response must exactly match validationToken query parameter

The Microsoft webhook subscription is sending weird body data and no text in the validationToken parameter. Is there anyone on the Microsoft Graph team that could help? This is what I'm sending (I changed the actual domain name in the…
3
votes
2 answers

Add a security group to a security group fails with Request_BadRequest

I'm attempting to use the .NET Microsoft.Graph SDK to create two groups and add one to the other. The group creation is fine and they show up in the Microsoft Graph Explorer. However, when I attempt to add the group to the other group, I get an…
Taylor Southwick
  • 1,456
  • 13
  • 14
2
votes
1 answer

Graph Authentication in C# with ClientSecret

I have developed a C# app that accesses the Microsoft Graph API. So far I have used InteractiveBrowserCredentials. Unfortunately, I have to reconfirm them every time I start the application. Therefore I would like to bypass this. I have also seen…
Lukas
  • 53
  • 9
2
votes
1 answer

Find Files Uploaded in Last 24 Hours using Java Graph SDK

I need to be able to find the files uploaded to a microsoft sharepoint site in the last 24h, using the graph-api-sdk. I have tried many things but nothing seem to work, this seem to be my last attempt. But i dont understand why it is not…
rread
  • 143
  • 1
  • 13
2
votes
0 answers

Mocking Microsoft Graph SDK V5

I am using the current version of the Microsoft graph sdk (5.2) and i have registered the GraphServiceClient in my dependency injection. This is consumer in another service and injected in via the constructor. When trying to unit test this class I…
Webezine
  • 345
  • 7
  • 22
2
votes
0 answers

Excel WorkbookRange always empty using Microsoft Graph SDK v5

I'm struggling with reading data out of an Excel Worksheet after upgrading to Microsoft Graph .NET SDK to v5. This code is working with v4 of the SDK: WorkbookRange range = await client.Me .Drive.Items[bookId] .Workbook.Worksheets[tabId] …
Stephan Hoffmann
  • 259
  • 1
  • 2
  • 10
2
votes
0 answers

IConfidentialClientApplication AcquireTokenForClient exception being thrown periodically

I built a NotificationService factory for checking 2 different mailboxes. Everything works fine but periodically I receive an error email. Below is the method throwing the exception and the exception message itself private async Task
2
votes
1 answer

Get users contacts by Graph SDK

I try to read all users contacts by using graph sdk and c# but in the user at the response always the array of contacts is null even though the user has contacts I was requesting all user's contacts from exchange online with graph sdk and c#,…
2
votes
0 answers

How get free/busy slots of outlook Sub calendars, Image attached for reference

I'm using Microsoft get/free busy https://learn.microsoft.com/en-us/graph/outlook-get-free-busy-schedule API to get busy slots in the calendar but it only gives me slots for the main calendar. I need to find sub-calender slots too. Anyone, please…
2
votes
1 answer

RequestBuilder does not contain a definition for 'Request'

I am currently busy creating a .NET 6.0 application that uses the MS Graph Beta API to collect a bunch of active TI's from the Security.TiIndicators endpoint. However something seems to be wrong. In the documentation it is stated to use the…
Rubeste
  • 75
  • 1
  • 8
2
votes
0 answers

Events on Calendars in Microsoft Graph is always null?

I'm trying to access the events of the users that shared their calendars with me. This is the code: GraphServiceClient graphClient = new(new AzureAuthenticationProvider()); IUserCalendarsCollectionPage calendar = ( …
2
votes
1 answer

Create an online event using Microsoft Graph that links to an existing Teams meeting

I know it is possible to create an online event through Microsoft Graph. What I want to do is create an event, mark it as online, but point it to an existing Microsoft Teams meeting, not create a new one. I've tried settings IsOnlineMeeting and…