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

Microsoft Graph scope "Domain.ReadWrite.All"

Why I can't set scope Domain.ReadWrite.All for url…
Oleg Sh
  • 8,496
  • 17
  • 89
  • 159
0
votes
1 answer

Azure AD app registration settings for getting groups and users using ASP.NET web api

I'm getting 403 forbidden access when trying to fetch all the groups from Microsoft graph using ASP.NET Web API, and here is my code to get all the groups: String jsonResponse = MicrosoftGraphHelper.MakeGetRequestForString ( …
0
votes
0 answers

Inconsistency between returned deltaLinks

When calling a delta query using C# SDK on Graph API, different formatted deltaLinks are returned, depending on if it's the initial request or subsequent requests. On initial request this is…
BoKDamgaard
  • 378
  • 1
  • 19
0
votes
1 answer

Creating Team with Microsoft.Graph dotnet SDK

With the msgraph-sdk-dotnet I create a unified group. var newGroup = await graphClient.Groups.Request().AddAsync(new Group { GroupTypes = new List { "Unified" }, DisplayName = name, Description = description, MailEnabled =…
0
votes
1 answer

Is there a work-a-round to serializing some Microsoft Graph Entities with interfaces like Domain

I wanted to generate a test program to execute against our client tenants to verify we could handle all the data our new Microsoft graph app collects. My plan was to serialize the data using XmlSerializer serializer = new…
tom.kanary
  • 89
  • 4
0
votes
1 answer

Add group members when creating a group (msgraph-sdk-java)

I would like to add members to a group at group creation time. How can I achieve that? The request: POST https://graph.microsoft.com/v1.0/groups Content-Type: application/json { "displayName": "displayName", "mailEnabled": true, …
0
votes
1 answer

How to pass in correlation id into IHttpProvider?

I need to pass correlation Id into the IHttpProvider to let them log it for debugging purpose. How should I do that? Thanks!
Jack
  • 1
0
votes
1 answer

how do you check out and check in ListItems?

I am having trouble locating the methods to "Check Out" (or otherwise lock) and "Check In" documents in a SharePoint Online library/list using the Graph SDK. I don't actually see the REST calls listed either, but I have to believe they are…
AWeber
  • 381
  • 1
  • 3
  • 14
0
votes
1 answer

how do you request a new downloadUrl from graph-onedrive?

In my C# code with the Graph SDK, I am testing "download large file" with a method generously provided here: Download large files from OneDrive using Microsoft Graph SDK However, even though I explicitly request the DriveItem from the service just…
AWeber
  • 381
  • 1
  • 3
  • 14
0
votes
1 answer

Refresh Token not Working in Microsoft Graph APIs

I have been using Microsoft Graph APIs in my .NET application to read Calendar, mails and Contacts from Office 365. Now my application uses Access Token for its working, which expires after every one hour and prompts the User to re-login. My…
0
votes
0 answers

What is DriveItemRequest expecting as a parameter in UpdateAsync?

Microsoft Graph REST API indicates that when updating the properties of an existing DriveItem, only the properties that are to be updated should be passed in the method. This does not seem to work in the C# SDK v1.13. Using the .Net SDK, the…
AWeber
  • 381
  • 1
  • 3
  • 14
0
votes
1 answer

Getting extended properties on users objects

I try to query a user including extended properties: /users/xxx@xx.dk?$expand=properties However I get following error: Could not find a property named 'properties' on type 'microsoft.graph.user. Is it possible in one request to get a user…
0
votes
1 answer

How to access Shared Mail Folder Using Microsoft Graph In .NET Application

I have Generated Microsoft Graph app in ASP.NET MVC platform, that I have downloaded from Microsoft Graph site. I need to access the shared mail folder not sure exactly how can I get that?? In the following code I can access my mailFolder but not…
K.Z
  • 5,201
  • 25
  • 104
  • 240
0
votes
1 answer

Specified resource is not supported for MSA requests

I am trying to create a subscription for 'events' with endpoint v1.0 using personal account and I get "Specified resource is not supported for MSA requests" error. However the documentation says it's…
0
votes
1 answer

extension attributes for ad user in azure active directory using Microsoft.Graph

Hi I am trying to add extension property to azure ad user using Microsoft.Graph package. var schema = new SchemaExtension() { Id = "Location", TargetTypes = new List {…