sharepoint
6 TopicsProblem when sending out the invitation
I'm facing an issue where the invitation isn't being sent to the recipient, even though the API request runs successfully. I followed the tutorial in the link below, but the response I received is slightly different. https://learn.microsoft.com/en-us/graph/api/driveitem-invite?view=graph-rest-beta&tabs=http It has the Invitation in the return response My response result doesn't have the invitation. As result I did no receive any invitation email. Anyone can help me this?51Views0likes0CommentsProblem copying file in SharePoint with Ms Graph v5.x
Hello. I need to copy a file in SharePoint, with Ms Graph v5.61 to a new folder (in the same library). The problem is that it copies but the process does not wait for it to complete and returns null, then I check and the file exists. I pass the code that I am using. public async Task<string?> CopyAsync(string listDriveId, string sourceDriveId, string destinationDriveId, string newName) { try { GraphSDK.Drives.Item.Items.Item.Copy.CopyPostRequestBody destinationInfo = new GraphSDK.Drives.Item.Items.Item.Copy.CopyPostRequestBody() { ParentReference = new ItemReference() { DriveId = listDriveId, Id = destinationDriveId }, Name = newName }; DriveItem? copy = await _graphClient.Drives[listDriveId].Items[sourceDriveId].Copy.PostAsync(destinationInfo); // Problem: "copy" is always null, but it is copied. When I check if the copied file exists, this file exists. if (copy != null) { return copy.Id; } } catch { } return null; } Can you help me? Thank you very much.30Views0likes0CommentsUsing Graph API to retrieve results with custom column tags
We're currently developing an app which retrieves documents from a SharePoint list (documents page). The files within this list have a custom column called 'Tags' in which we add multiple tags for classification. Currently I'm having trouble pulling these tags with the Graph API. Any tips where to look?1KViews0likes1CommentSharepoint get total of items inside drive
Hi Is it possible to get the total of items (files and optionally folders) in a sharepoint drive with the graph api (js api or java graph sdk)? The $count didn't seem to work for those endpoints and csv reports only are available for a total of all sites or a total of active files? Kind regards Jonas642Views0likes0CommentsGraph Upload files successfully to SharePoint but files are not shown on SharePoint.
Hello, I used Graph to upload the files to various SharePoint Sites successfully. At a client's site, that has the same scope permissions, these files cannot be viewed. The application reports that the files were successfully uploaded and returned an ItemResponse.Id. The document library where the files were uploaded to shows the document count has increased accurately. Yet the files are not in the library. The SharePoint site was re-indexed and the user has full rights. What could be the issue? Thank you800Views0likes0Comments