SharePoint Rest API how to get Access Token?

To call SharePoint specific APIs you need to get a SPO specific access token. You can “swap” an regular MS Graph refresh token for an SPO specific token by doing the following: Get a delegated auth token from graph as you normally would ( Use the refresh_token you got and exchange it for an SPO … Read more

Upload a file to SharePoint through the built-in web services

Example of using the WSS “Copy” Web service to upload a document to a library… public static void UploadFile2007(string destinationUrl, byte[] fileData) { // List of desination Urls, Just one in this example. string[] destinationUrls = { Uri.EscapeUriString(destinationUrl) }; // Empty Field Information. This can be populated but not for this example. SharePoint2007CopyService.FieldInformation information = … Read more

Upload file to SharePoint drive using Microsoft Graph

In order to get all the files of a drive using v1.0, you would first need to get an access token (which I see you are already passed that), then get the ‘drive-id’ and use the following URL(note: its not ‘drive’ it is ‘drives’):{drive-id}/root/children To get the drive id, I made the following GET … Read more

Dated reminders in sharepoint calendars

Expanding on Andy’s answer ( if you just put code to send an email in the Execute method of the timer job this doesn’t give you anything more than cron. What you could do is to write code to iterate through the Calendar (actually an Event List) finding any events due soon and sending email … Read more

How Can I Identify Cloud Computing Applications? Can I Say Like Facebook Is Cloud Application?

A cloud application (or cloud app) is an application program that functions in the cloud, with some characteristics of a pure desktop app and some characteristics of a pure Web app. A desktop app resides entirely on a single device at the user’s location (it doesn’t necessarily have to be a desktop computer). A Web … Read more