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
0 answers

Set up app authentication for Console App using Microsoft Graph API

I'm struggling to correctly configure my app in the Azure portal. My application prompts for user permission every time it runs. The goal is to prompt an admin user ONE TIME to grant permissions to my app. I'm writing a CONSOLE application to…
0
votes
1 answer

Errors when retrieving user details from Microsoft Graph using oauth2-microsoft

I am using oauth2-microsoft to develop a 'sign in with Microsoft' tool for my app. I'm successfully authenticating and receiving a token, but then I receive an error from the sample code. I am using the sample code below and have tried various…
Rob
  • 128
  • 1
  • 7
  • 29
0
votes
1 answer

does bookings api support "Resource owner password credentials" type of access token?

I'm trying to use azure application owner's user account and password to access bookings api, for example https://graph.microsoft.com/beta/bookingBusinesses, and I got the unspecified error. can anyone please explain what does this error mean? { …
Jason Sun
  • 25
  • 1
  • 4
0
votes
1 answer

Sharepoint API - possible deprecation

I have an app that currently uses the Sharepoint API and uses resources, such as: _api/web/GetFileById('ID') Other parts of the app, deal with importing users/groups from Azure Active Directory API. I've seen that the AAD API is being phased out…
sipher_z
  • 1,221
  • 7
  • 25
  • 48
0
votes
1 answer

'DirectoryObject' does not contain a definition for 'DisplayName'

I'm using the Microsoft.Graph.Beta nuget package. I was able to get the user and their manager using the following: var me = await graphServiceClient.Me.Request().Expand("Manager").GetAsync(); However, when I try to get the user's manager's name, I…
AskYous
  • 4,332
  • 9
  • 46
  • 82
0
votes
1 answer

No Manager when Executing `Me.Request().Expand("Manager").GetAsync()`

I get a null response for me.Manager when I run the following code: var me = await graphServiceClient.Me.Request().Expand("Manager").GetAsync(); But using the Graph Explorer, the following does give me my manager: HTTP GET:…
AskYous
  • 4,332
  • 9
  • 46
  • 82
0
votes
1 answer

MSGraphSDK user details API callback not responding back when user password changed in iOS

I tried to get the user details using MSGraph SDK in iOS using below API method. Iam successfully received the user details all the time. But when user charged their password or update their credentials, i received the oauthConnection Error: only in…
0
votes
2 answers

How to implement resumable upload using Microsoft.Graph.GraphServiceClient from C#

Does anyone know how to use the C# OneDrive SDK to perform a resumable upload? When I use IDriveItemRequestBuilder.CreateUploadSession I always get a new session with the NextExpectedRanges reset. If I use the .UploadURL and manually send a HTTP…
nearproc
  • 35
  • 8
0
votes
3 answers

Microsoft Graph SDK .NET - get users with managers and extra fields

I want to get all graph users with their managers and some non-default fields in my ASP.NET Core 2.2 application. In order to do so, I wrote following code: graphServiceClient = new GraphServiceClient(new DelegateAuthenticationProvider(async…
Maciej Wanat
  • 1,527
  • 1
  • 11
  • 23
0
votes
1 answer

how to create, respond, transfer calls with the sdk of Microsoft.Graph.Communications for Microsoft Teams?

now I was trying to transfer a call by inserting the code in the following example. Could you please review it? This is an example of Tom Morgan(https://github.com/tomorgan/TeamsIVRBotSample). In the class Bot.cs -> Method CallsOnIncoming…
0
votes
1 answer

Microsoft Graph Client Update user onPremisesExtensionAttributes.extensionAttributeXX

How do you update the onPremisesExtensionAttributes.extensionAttributes8 on a user using Graph client for example? Please note that I'm using the beta (Microsoft.Graph.Beta version 0.4.0-preview) for the graph SDK. I don't want to use v1.0 as of…
0
votes
1 answer

Is timer to update microsoft graph change subscription suitable for production code

I am following the example in the link https://github.com/microsoftgraph/msgraph-training-changenotifications and creating and updating the notification subscription using a timer class. [HttpGet] public ActionResult Get() { var…
0
votes
1 answer

Managing multiple post request from Microsoft graph api for notification

I am following the example https://github.com/microsoftgraph/msgraph-training-changenotifications/blob/master/demos/03-track-changes/Controllers/NotificationsController.cs to setup a notification for group changed in azure dev Ops. The GitHub…
0
votes
1 answer

How do I update the manager for user?

I'm using the following code GraphServiceClient graphClient = new GraphServiceClient("https://graph.microsoft.com/v1.0", new DelegateAuthenticationProvider(async(requestMessage) => { …
0
votes
2 answers

How do I retrieve the content of a OneNote page using the Microsoft Graph .NET SDK?

I'm swapping out my usage of the old OneDrive SDK to programmatically access the contents of OneNote in a UWP app, and I've begun using the Microsoft Graph for .NET SDK. One of the things I need to do is get a specific page's content. Currently, I'm…