Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [office365apis]

Office 365 APIs enable developers to integrate Office resources (such as calendars, contacts, mail, files, and profile information) directly into their custom applications

0
votes
1answer
15 views

Sharepoint online - 429 rate limit errors - Does the “Retry-After” header have meaning when you have mulitple threads?

I have written a program that uses multiple threads to access SharePoint online REST api's to make many 1000's of web service calls. After a while I get 429 errors due to my heavy usage. I only have ...
0
votes
1answer
41 views

Is it possible to code an ASP.NET/MVC project that can talk to SharePoint Online/Office 365 API?

Bottom line: I dont want to code on SharePoint 2016 or online, ive done it before, its a pain and clunky experience and other issues. I am a developer and i code mostly in C# using ASP.NET/MVC and ...
0
votes
1answer
41 views

Run Audit log report programmitically for “Edit User & Permission”

I am able to create audit log report using UI of Sharepoint but everytime I have to run a custom report. I have to generate this log automatically using Programming. I have gone through internet and ...
1
vote
1answer
123 views

How to get Site Owner Via Graph

I'm attempting to get site owners via graph. Documentation indicates this should be possible via /sites/{site-id} via /sites/{site-id}. I'm using beta. The problem is I'm not even getting a blank ...
1
vote
0answers
17 views

Migrating system using old components

I am currently investigating the migration of a system which consists of: A server which contains - Windows 2012: Windows Service communicates with Exchange API to read room availability SharePoint ...
2
votes
0answers
308 views

Is the “ocws.officeapps.live.com” API used by the Office 365 start page open for re-use?

The Office 365 start page shows a list of recently used documents. The data is being fetched from https://ocws.officeapps.live.com/ocs/v2/recent/docs?apps=Word,Excel,PowerPoint,Visio,OneNote,Sway&...
0
votes
0answers
26 views

VideoService SPO - Get Channel's Latest Videos

At the moment we have a SPFx webpart that is getting the 4 most popular videos for each channel "/portals/hub/_api/videoservice/Channels(guid'{GUID}')/search/popular(startItemIndex='0',itemLimit='4')"...
1
vote
0answers
77 views

Java Library to fetch User Details from SharePoint User Profiles

I am trying to perform automation testing on a SharePoint add-in which has the same functionality as of a Staff Directory. I am using TestNG Framework on Selenium Tool with Java Language. For ...
1
vote
0answers
138 views

Issue with O365 API While accessing SharePoint Online Sites

I am trying to access the SharePoint sites using O365 Api in MVC asp.net application as mentioned in the github sample O365SharePointFilePush, But facing the error with message Error : Failed to ...
0
votes
1answer
405 views

Sharepoint online - how to request file with special character in name through rest api

Sharepoint online now allows # and % characters in filenames: https://techcommunity.microsoft.com/t5/SharePoint-Blog/New-support-for-and-in-SharePoint-Online-and-OneDrive-for/ba-p/60357 Is it ...
1
vote
0answers
73 views

Can any Project Online data be accessed with the Graph Api?

The MS Graph API makes it easy to access SharePoint data, and it even has a nice interactive explorer to play with. Is there any way it can be used to get at any Project Online data, since Project ...
3
votes
1answer
446 views

Any Api's to get Last Opened Documents

Do we have any Apis to get the Last Opened Documents That is displayed in the the Office 365 Home Page. Intention is to get the list of the last opened Documents using SpFx webpart.
1
vote
0answers
114 views

SharePoint Online API for trending documents in mysite

Is there any API to fetch all the trending documents in My Site.
1
vote
0answers
77 views

O365 management API stopped working

I'm running a web hook which uses the O365 mangement API to obtain activities for SharePoint. This worked until yesterday 10 PM. Suddenly a call to https://manage.office.com/api/v1.0/{TENANT-ID}/...
1
vote
0answers
88 views

Changelog Filtering

My goal is to make a backup of the metadata on any SharePoint site whenever the document or its metadata changes. The change can be triggered by a save operation or an autosave in say the Word client ...
0
votes
1answer
159 views

how to run function on Button click in SharePoint apps

I had a table in "PlaceHolderMain" of Default.aspx with some text boxes and buttons . And written a function to save list items in app.js file .Can any one help me and know how can I call the function ...
92
votes
6answers
8k views

SharePoint development past and “future”: how to keep calm?

I'll do my best to not turn this question to an "opinion-based" one, but it's a great effort for me! SharePoint 2003: the story begins In the beginning (SharePoint 2003), we could develop Web ...
12
votes
1answer
497 views

Delegating/Forwarding SharePoint on-prem (ADFS) identity to call Exchange Online API

I have a SharePoint (2010) on-premises, plugged to an ADFS server. I deploy custom components (Web parts, _layouts pages) with custom code onto it. One of these components must access data stored ...
1
vote
0answers
29 views

Returning specific drive in Office 365 API

Currently we are trying to utilize the Office 365 API as it has some great functionality and for most of it it is great. We are though having some problems with the Drive functionality. https://...
1
vote
1answer
142 views

“Import Spreadsheet” App not available in office365 sharepoint site

Trying to access the "Import Spreadsheet" app from office 365 sharepoint site. I am able to access this app till last friday. But now i am unable to access it. I don't have any changes in my Acces ...
1
vote
2answers
401 views

How to Save Manged Metadata value in List using JSOM or REST…?

As i have understand it by googling a litle, that its not posible to use REST for Taxonomy fields ? I was not able to update my list doing it by http REST . But it should be posible with JSOM. How ...
0
votes
1answer
35 views

How to show a label on a load of javascript function ex logged in user in script editor in sharepoint webpart?

I am facing a issue.I am adding a web-part in which I am showing current user logged in script editor through embedded code.I want to show current user when sharepoint open.I am getting on click but ...
3
votes
2answers
10k views

Getting the List from Sharepoint online using Rest Api in java

I want to use the REST API for getting the list as mentioned in Complete basic operations using SharePoint 2013 REST endpoints When I am trying to call https://siteurl/_api/web/lists in the rest ...
0
votes
1answer
122 views

SharePoint Online api

I made a rest call to list site my users have access : url: '/services/_api/web/webs/?$select=title,ServerRelativeUrl,effectivebasepermissions&$filter=effectivebasepermissions/high%20gt%2032', I ...
2
votes
0answers
129 views

Is there a maximum amount of cells you can set when using Excel Services REST API with SharePoint Online?

I'm trying to use the Excel REST API with SharePoint Online to set some cell values and to retrieve some calculated fields. It seems this goes well up until passing 10 cell values. When passing more ...
2
votes
1answer
821 views

Access Denied while accessing SharePoint Custom List Using Rest APIs via POSTMAN

From couple of days, I am trying to access Custom made SharePoint Online (Office 365) List for CRUD Operation with the help of Rest APIs Endpoints using Postman, but all the time I am getting "Access ...
1
vote
2answers
3k views

Delete all items in Recycle Bin using javascript

Is there a way to batch delete all items in the recycle bin on the client side in SharePoint Online? I've tried using javascript:emptyItems() in the browser but this appears to time out after ...
1
vote
1answer
4k views

Using AngularJS $http Post to upload files [closed]

I have been working on file upload service for my project and everything is looking good except for the request. Works OK with jQuery.AJAX and appears to work with Angualr $http but the file is not ...
1
vote
1answer
302 views

How can I access a Sharepoint Document Repository with OneDrive for Business API?

I'm trying to write an app that can access documents on a SharePoint teamsite. It is my understanding that OneDrive for Business and a SharePoint teamsite are more or less the same thing. I was ...
0
votes
1answer
629 views

HTTP 401 'Unauthorized' In SharePoint Hosted app

Can we use Cisco based Custom web service in SharePoint-hosted app on Office 365? My requirement is get items from Cisco based Custom web service and display items in SharePoint Environment (Office ...
3
votes
1answer
233 views

Limit the number of results while fetching from a folder using GetFolderByServerRelativeUrl() method in sharepoint online 2013

Currently I am performing a REST API call to fetch files and folders from a particular folder path(serverRelativeUrl) in Sharepoint online 2013. https://nextlabs.sharepoint.com/sites/vignesh/_api/web/...
1
vote
1answer
116 views

Read/Update SharePoint admin center Settings

Is it possible to read or even update settings in the SharePoint Admin center via an API or CSOM. The section I would like to access is shown below, this is for SharePoint Online
2
votes
0answers
284 views

Office365/Sharepoint Online: Internal server error against the change events API call

I'm getting the following error against the API call that fetches the change logs for a OneDrive User Status Code 401 {"error_description":"The server was unable to process the request due to an ...
1
vote
0answers
512 views

GetListItemChangesSinceToken returns code“: ”-2130575251" Microsoft.SharePoint.SPException

I'm trying to retrieve the change from my 'Documents' List since last token from my sharepoint Online site. I'm doing the following: POST: https://pragmaticcoders.sharepoint.com/raccoon%20site/_api/...
2
votes
1answer
4k views

Using chunked upload/StartUpload with sharepoint REST api

I want to upload large files to SharePoint Online but I am unable to use chunked upload of sharepoint REST API. I would like to see a working example. The api is described in here using the methods ...
1
vote
1answer
551 views

Sharing a file using CSOM in Personal OneDrive for Business

I'm trying to share a file which is located in my OneDrive for Business using the SharePoint CSOM library including PNP external sharing library. This however, returns the following error message: ...
1
vote
1answer
769 views

new onedrive api - uploading file to an item(Folder) error

I'm working on a little console app to be able to upload document to a folder(item) using the new onedrive api here I can easliy upload to the root of my onedrive like so https://api.onedrive.com/...
1
vote
1answer
771 views

REST API Link to edit excel/word doc online

I am using the O365 REST API to display/organise files and currently xls/doc files have to be downloaded then opened in an editor in order to edit them. Is there a way to open these in the Word/Excel ...
2
votes
2answers
6k views

_api/web/lists/ returns all the lists including system generated

We are working on a mobile app where we want to get all the custom lists (created by user etc.). API GET "/_api/web/lists/" is working perfectly fine but it is returning all the lists available in ...
0
votes
1answer
239 views

Incorrect “OneDrive for business” content returned by api

Having a problem with access to "OneDrive for business" using this api https://msdn.microsoft.com/EN-US/library/office/dn531433.aspx First we're using https://msdn.microsoft.com/en-us/library/azure/...
0
votes
1answer
86 views

SharePoint Online API. Why does it only return date of query?

I am trying to return data using the SharePoint Online API, and this query returns the correct number of items, but only returns the time of my query. https://MYSITE.sharepoint.com/MYSubsite/_api/...
9
votes
1answer
7k views

getFileByServerRelativeURL fails when the filename contains a quote

I'm using the SharePoint online REST API. Things generally work fine, but I'm failing to figure out how to get information about a file (document) that contains a quote in its name. Here's my REST ...
2
votes
1answer
243 views

Is there a way in SharePoint online to programmatically find out how many users are assigned a SharePoint license in Office 365?

Basically we have a provider hosted app that needs to check the number of users in an Office 365 subscription that are assigned to a SharePoint license. Maybe some sort of Office 365 API?
3
votes
0answers
268 views

Add a user to a SharePoint site collection using Office 365 Graph API

I need to add a new user to a site collection via the Office 365 Graph API. Is it possible? If so, what would the REST call look like?
2
votes
1answer
1k views

Receiving “Access Denied” message when using Sharepoint API for GetUserProfilePropertyFor

I am using SharePoint 2013 Online/Office 365. Since I read that the _vin... user profile services through InfoPath are not available for the Office 365 version of SharePoint, I am trying a new ...
2
votes
1answer
189 views

How to join Azure AD with office 365 domain

I have an office 365 developer account with a specific domain name. I also have an organization sponsored azure account via same MSDN. I would like to join both the domains/AD's so i can develop apps ...
2
votes
1answer
956 views

Is there any api for Microsoft Global Address list?

I would like to get the name of a user from the global address list, using their email address. How can I do that?
2
votes
2answers
900 views

List files and folders in Office 365 Sharepoint site

I'm hoping I can list and add folders and files to a specific Office 365 SharePoint site using Office 365 client API. (NOTE - I originally posted this Q to StackOverflow and was recommended to ask ...
0
votes
1answer
278 views

Date functions with $select in REST API

I'm using the following REST call to get the data. Here is the url structure: SiteURL+'/_api/web/lists/GetByTitle(\''ListTitle+'\')/items?$select=AlternateThumbnailUrl,Title,Created this is ...
1
vote
1answer
417 views

How to call SharePoint Online from mobile app via webservices

I have a client app written in WindowsRT which connects with SharePoint Office365 server trough webservices. The way I am doing this now is sending user name and password to webservices and then they ...