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
4
votes
2 answers

Microsoft Graph API Pagination is not working for getting all users from Azure AD

We are using Microsoft Graph API Beta version to retrieve all users from the Azure AD using below code. API returns only 100 users in the response and to use paginated response we tried NextPageRequest property. But it always return null for the…
Dikesh Gandhi
  • 447
  • 13
  • 22
4
votes
0 answers

Calling MS Graph API has error CompactToken parsing failed with error code: 80049217

We implement to get the phone numbers being used in MFA of the signed-in user. We use password grant flow where we have a service account(with Global admin role) that will call MS Graph API on behalf of the user. We are able to get the access token.…
4
votes
1 answer

Preview image attachments in ChatMessage

We are using the ms graph api to post messages to a teams channel from a internal desktop application. The main purpose is to attach images to the message. We upload the image files into the one-drive folder of the channel as shown below. …
4
votes
1 answer

Graph calendar change notification sent for series master when instance is edited

I have created a subscription to my Outlook calendar. When a specific instance of a recurring event is edited in Outlook, the notification that is sent to my notification url is for the series master event (not the particular instance that was…
4
votes
1 answer

How to list only security groups in AAD using ms graph api?

According to the on-line docs at https://learn.microsoft.com/en-us/graph/api/resources/groups-overview?view=graph-rest-1.0 there are four AAD groups: Office365, security, email-enabled security, and distribution. I'm using the following to list…
4
votes
1 answer

Microsoft Graph - getting a specific user and his AD group memberships using the Graph SDK code base

Dipping my toes into using the Microsoft Graph API to handle finding data in our MS cloud - and I'm stuck. There's so much documentation - but never the right one.... I'm trying to use the C# Graphi client SDK, and what I'm trying to do is read a…
marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
4
votes
1 answer

Xamarin.Forms and Microsoft Graph not working on iOS device

I am using Xamarin.Forms and trying to use Microsoft Graph API following this tutorial. This works perfectly in an iOS simulator, but when I try on my actual device, I cannot log in. When I click on the login button on my WelcomePage.xaml, it does…
user979331
  • 11,039
  • 73
  • 223
  • 418
4
votes
2 answers

CalendarView StartDateTime always in UTC?

I'm using the graph client sdk. Making a call to CalendarView with startDateTime = 2019-11-20T10:00:00.0000000 and endDateTime = 2019-11-20T23:00:00.0000000. Before I go any further, none of the Events are all day. Many are reoccurring, so this is…
J. Wilson
  • 101
  • 1
  • 7
4
votes
3 answers

C# graph SDK - serializing the results of a batch request

I'm building a program that fetches calendar info from multiple users in AAD. I would like to do this as efficiently as possible, so I started looking into the Microsoft graph batching functionality. I'm able to successfully do a batching query, but…
Arne Deruwe
  • 1,100
  • 2
  • 11
  • 25
4
votes
1 answer

Microsoft Graph Beta - Convert from EwsId to RestId or RestImmutableEntryId

I'm trying to convert an EwsId to either a RestId or RestImmutableEntryId using the beta version of Microsoft Graph. It works fine to convert RestIds to RestImmutableEntryIds, but so far no luck converting from an EwsId. The documentation is…
4
votes
2 answers

get public folders using microsoft graph API

I am trying to get public folders with no luck and I cannot find anything related to it on microsoft graph documentation, is it possible to get public folders added to any mailbox on the same tenant? Thanks!
4
votes
3 answers

Persist sign-in Microsoft-Graph c# SDK

I'm using Microsoft Graph C#.NET SDK to access user's mail inbox. The problem is that when I do authentication the token that Microsoft sends me back is valid just for 1 hour or so and it expires so early. But it's so annoying for user to login…
3
votes
1 answer

PackageReference Aliases are ignored on parent projects

Actually I'm trying to use the two libraries Microsoft.Graph and Microsoft.Graph.Beta in parallel within my solution. To get this to work, you can use aliases within references. For this purpose you first have to write within your .csproj file…
Oliver
  • 43,366
  • 8
  • 94
  • 151
3
votes
1 answer

Microsoft Graph - User photo : Microsoft.Fast.Profile.Core.Exception.ImageNotFoundException

I am trying Microsoft Graph in a personal project to learn about it. I have an Application and secret registered in Azure. This Application contains the following permissions at Application level: User.Read.All, User.ReadWrite. All these permissions…
3
votes
1 answer

MS Graph SDK 'List schemaExtensions' filtering syntax not working correctly

I'm working my way through the MS Graph SDK documentation and building a list view in my app with a search query capability. I'm also implementing paging which isn't working correctly because the MS Graph is only returning the first two extensions…
OJB1
  • 2,245
  • 5
  • 31
  • 63
1 2
3
77 78