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

me request is only valid with delegated authentication flow in Graph API in .Net Core API

I have a .net core api and User.Read delegated permission is given. Authentication section in startup.cs: services.AddAuthentication("Bearer") .AddMicrosoftIdentityWebApi(Configuration.GetSection("AzureAd")); Getting the graph api…
-1
votes
1 answer

NotAcceptable error when calling graph API from C#

Hey guys i'm trying to get a list of all rooms in a tenant but i'm receiving an error I see no solution to. My graph service client appears to be correct since I can get a list of all users without issues, but getting all the rooms fails with an…
Baxorr
  • 298
  • 6
  • 20
-1
votes
1 answer

Office 365: How to find maximum length of item id

I am trying to figure out the maximum length of the ID of the Office 365 item. E.g. there is DirectoryObject resource type https://learn.microsoft.com/en-us/graph/api/resources/directoryobject?view=graph-rest-1.0. It has an ID field but the maximum…
-1
votes
1 answer

How can I access Microsoft Sharepoint/OnDrive last children file content in java using microsoft graph api

Let say I have some folders in SharePoint. Each folder contains Folder1->Folder2>Folder3....>File(txt.docx etc) like this inside folder we have another folder and at the end some files of any type. I want to access the files available in each folder…
-1
votes
1 answer

Microsoft Graph Event Resource type: Updating Start and End datetime issue

I'm using Microsoft Graph .NET SDK to update outlook events. Following code updates the dates correctly, but it updates the Start and End times as four hours behind. When I go to my Outlook Calendar, it shows the changed times as 04:30 for Start and…
nam
  • 21,967
  • 37
  • 158
  • 332
-1
votes
1 answer

MS Graph - LINQ query string NOT NULL or Empty issue

As shown below, my Azure Portal is correctly displaying the Source column value as Windows Server AD for the users that were migrated from Windows Active Directory to Azure Active Directory. Users shown in Azure Portal: Now in my WPF app, I am…
nam
  • 21,967
  • 37
  • 158
  • 332
-1
votes
1 answer

Microsoft Graph API Not Support MIME (Multipurpose Internet Mail Extensions) Standard for Send Email (POST Request)

**I have an application to send email one user to another through Microsoft Graph API integration.* It's working find when we send email messages contained 7-bit ASCII characters. But it insufficient for non-ASCII text encoding (such as Unicode),…
-1
votes
1 answer

Is there a way to get list of Admin Consent Requests using Graph API?

We would like to validate the Admin Consent Request before giving admin consent to an Application. Is there a way to use Graph API to get the list of admin consent requests? We will require an API for both the Delegated and Application permission…
-1
votes
1 answer

POST /riskyUsers/dismiss errors with http and powershell

Trying to bulk dismiss all risky signons so my security team can start new. It should be able to be done using this powershell code: get-riskyUser -Top 5 -Filter "Riskstate eq 'AtRisk'" -Orderby RiskLastUpdatedDateTime |…
-1
votes
1 answer

List all Shifts Graph API

I'm using Graph API SDK in a C# Console Application and I'd like to list all the shift data from Microsoft Teams. But I'm unable to retrieve such information. Here is what I have done so far. According to the documentation to list all shift, you…
-1
votes
1 answer

submit a code to microsoft-graph java-sdk

I was trying to push to a new branch and submit a pull-request to msgraph-sdk-java https://github.com/microsoftgraph/msgraph-sdk-java in order to add some improvement but I am getting 403.. How to submit a code to Microsoft Graph Java?
-1
votes
1 answer

Planner does not come out until loaded manually

Console App won't load up Planners, until you manually open them as that user within the application. This is not desired as this user is automatically added to every O365 group. Now when I try to run following code, only titles of the Plans I…
Marek Kyzivát
  • 323
  • 2
  • 16
-1
votes
1 answer

Get only users with TransitiveMembers Microsoft Graph C# SDK

I want to get all users that are member of a group (transitive). This call gets what I want: https://graph.microsoft.com/v1.0/groups/{guid}/transitiveMembers/microsoft.graph.user In my C# application I use the Graph API SDK. I know how you specify…
FerronSW
  • 505
  • 4
  • 18
-1
votes
1 answer

createRequest returns array instead of class

I am trying to retrieve information on users using the Microsoft Graph Library for PHP. But this code runs into the error Trying to get property 'getGivenName' of non-object. $user = $graph->createRequest("GET", "/users") …
Odido
  • 13
  • 7
-2
votes
2 answers

Presence resource type in MS Graph Java SDK?

I'm currently trying to read out the present status of Microsoft Teams users and pass it on. In C# I was able to do this relatively easily, but now I had to switch to Java. And that's where I run into my problems. The presence resource type from…
1 2 3
77
78