Skip to main content
The 2024 Developer Survey results are live! See the results

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.

microsoft-graph-sdks
0 votes
0 answers
13 views

Refreshing a pivot table on an Excel worksheet

I have been trying to refresh all of the pivot tables contained within an Excel worksheet using the Microsoft Graph REST API and the Microsoft Graph C# SDK. Neither approach seems to affect the Excel ...
Jacob Andrews's user avatar
0 votes
2 answers
61 views

How to find a driveItem ID given only a document URL?

I need to be able to find a driveItem from the Microsoft Graph API, given only a document URL in this sort of format: https://tenant.sharepoint.com/sites/somesite/somefolder/somedocument.doc I know it ...
Jan Martin's user avatar
0 votes
1 answer
39 views

How to revoke consent for a registered app programmatically?

I have a very simple application where users can sync their calendars and also receive new events directly into the calendar. I acquire "Calendars.ReadWrite, offline_access, User.Read" ...
Marko Gasparic's user avatar
0 votes
1 answer
34 views

How do I replace an existing item(File content) using Graph sdk (.NET C#)?

I'm using MS Graph SDK to replace the existing file. I find a way to upload new file to onedrive, but I'm still having problem with finding a way to replace the existing file. (assume that I already ...
John Park's user avatar
  • 168
0 votes
1 answer
27 views

Microsoft Graph User Photo 'UnknownError'

When I browse to: 'Home/GetProfilePhoto?userPrincipalName=MyUserPrincipalName@mydomain.com' I get a 'UnknownError" HomeController.cs [AuthorizeForScopes(Scopes = new[] { "User.Read.All" ...
s15199d's user avatar
  • 7,635
1 vote
0 answers
23 views

Graph API : add new metadata in onedrive Item

I'm trying to add or create new custom property to specific items in OneDrive. I tried using 'openExtension' with bellow request but failed (invalidRequest). PATCH https://graph.microsoft.com/v1.0/...
John Park's user avatar
  • 168
1 vote
1 answer
33 views

Graph SDK: using select options on delat (Onedrive)

I am trying to get delta changes in specific One Drive Root using the following MS Graph sdk (v5.56) code. string url = $"https://graph.microsoft.com/v1.0{resourcePath}/delta?token={...
John Park's user avatar
  • 168
0 votes
1 answer
34 views

How to Retrieve DriveItem by Path (Sharepoint) in .NET Using Microsoft Graph API?

Hey, I am able to retrieve items from a specified path via the REST API from the Graph API. For reference, here is a example request: https://graph.microsoft.com/v1.0/sites/{{siteID}}/drives/{{driveID}...
Ali's user avatar
  • 53
-1 votes
0 answers
37 views

Am I using KQL incorrectly, or is there another reason?

I using sdk 4.x version. I refer https://learn.microsoft.com/en-us/graph/search-concept-files#example-5-use-filters-in-search-queries https://learn.microsoft.com/en-us/sharepoint/dev/general-...
손동진's user avatar
0 votes
1 answer
74 views

Why are PublicClientApplicationBuilder requires client(app) Secret?

My final goal is manage user's access token by refresh token. I need token from user. So, I tried this logic. var app = PublicClientApplicationBuilder.Create(clientId) .WithRedirectUri(redirectUri)...
손동진's user avatar
0 votes
0 answers
34 views

Is it Possible to Implement Token-based Authentication Based on User UPNs(m365 account without password) in a Web Application?

I'm developing a web application where I only have users' UPNs (User Principal Names). I need to obtain individual tokens for each user based on their UPN without prompting them with an additional ...
손동진's user avatar
1 vote
0 answers
39 views

Fetch ServicePrincipal's OwnedObjects using Delta SDK query with AccessToken [closed]

I'm trying to retrieve the ownedObjects of a ServicePrincipal from the Microsoft Graph API using WithUrl because I didn't see any support for $expand in the Delta SDK. When I run this code: var ...
IlayAsayag's user avatar
0 votes
1 answer
59 views

Microsoft Graph SDK with pageIterator

I'm facing a wall here, as the solution proposed by Microsoft doesn't work as expected and is not even building. Here is my issue: I want to return all the users from a specific group with expanded ...
dkes's user avatar
  • 5
0 votes
0 answers
28 views

New-MgSiteList = "Unable to determine type of provided column definition"

This command does not work as documented. Just following the simple example on the cmdlet help page fails with "Unable to determine type of provided column definition". Wondering if anyone ...
Jeremy Bradshaw's user avatar
0 votes
2 answers
99 views

How to Get Azure Authentication Details on SignIn Activities via Microsoft Graph

I need to fetch all details of the user signin activities via Microsoft Graph lib. I gave all the permission(maybe further more) I can get all information about signin activity but just Authentication ...
hasanbozkurt's user avatar

15 30 50 per page
1
2 3 4 5
86