Office365 - SharePoint Online - CSOM Limits

Hi,
Anyone know if there are any throttling limits on the SharePoint Online JSOM api in Office365? Sometimes we get a time-out with a request and a few days/hours later the problem is solved.
The specific error we get is a Microsoft.SharePoint.Client.ClientServiceTimeoutException
Kind Regards,
Ludwig

Hi Steve,<o:p></o:p>
I'm a colleague of Ludwig, and I also involved into this issue.<o:p></o:p>
Just to be clear the throttling limit, is this specific to the JSOM endpoint or the whole frontend? Because what we experience is that
we get timeouts for some JSOM requests (not particularly the same request). We also do not notice any pattern in the timeouts, they are randomly and the timeouts keep occurring for
a couple of hours and in some cases days. Although we do not have other issues, with the environment like pages that timeout, or other connections that are terminated.
Toon
<o:p></o:p>

Similar Messages

  • Security flaw-To use CSOM/Javascript code for Custom Office365(Sharepoint Online) application

    Hi,
    I've developed custom application in Office365(Sharepoint Online) using CSOM/Javascript. Security team from client side has been reported one major issue to the our application that any end user can comment our CSOM/Javascript code and bypass the validation
     or can update / insert into sharepoint list item using developer tool/ Console in Google Chrome(F12 Key).
    Also end user can write his own separate code in console of Google Chrome (Developer Tool / F12) and can update / insert  into Sharepoint List.
    Note:- End user has Add, Edit, View permission on all Sharepoint List.
    This is one major security flaw of the Sharepoint/Office365 to use CSOM /Javascript for writing code, to overcome this issue could you please provide me some solution.
    Your help would be greatly appreciated!!!  
    Looking for reply.
    Thanks,
    Mahesh Sherkar
    Web: http://Mahesh-Sherkar.com
    Email: [email protected]

    Hello Paras, 
    Did you get any solution for this? I think your website was implemented this form. Can you please tell me the way how I can achieve it? I am also facing same problem. Please reply me as early as possible.
    Thanks,
    Mihir

  • SharePoint Online CSOM GetChanges

    Hi,
    I can't seem to find answer to simple question,so could anyone please help with this:
    In current (v15/16) SharePoint Online, can I use CSOM to get list of changes on list/site using GetChanges API call (http://msdn.microsoft.com/en-us/library/ms461643(v=office.14).aspx). 
    Thanks!

    http://msdn.microsoft.com/en-us/library/office/gg454742%28v=office.14%29.aspx
    http://msdn.microsoft.com/en-us/library/office/ee537247%28v=office.14%29.aspx
    GetChanges  is also available for V15 \ sharepoint online
    http://msdn.microsoft.com/en-us/library/ms461643(v=office.15).aspx
    Try to use below code:
    lientContext context = new ClientContext("http://SPSite");
    context.Credentials = new NetworkCredential("user", "pwd", "domain");
    ChangeQuery cq = new ChangeQuery(true, true);
    cq.ChangeTokenStart = new ChangeToken();
    cq.ChangeTokenStart.StringValue = "1;3;" + list.Id.ToString() + ";" + DateTime.UtcNow.AddHours(-1).Ticks.ToString() + ";-1";
    ChangeCollection col = list.GetChanges(cq);
    context.Load(col);
    context.ExecuteQuery();
    MessageBox.Show(col.Count.ToString());
    http://webcache.googleusercontent.com/search?q=cache:HfqYOemJ780J:morshemesh.blogspot.com/2010/12/retrieving-items-changedaddeddeleted.html+&cd=8&hl=en&ct=clnk&gl=in&client=firefox-a

  • Can we query more than 5000 library items in Sharepoint online library using CSOM?

    I am writing a console application to fetch all documents from the SharePoint Online Site. I am worrying what happens if library items grow beyond 5000 items. In my earlier experience from SP2010, I will raise the threshold limit from Central Admin Site
    and then perform my CAML query operation. In SharePoint Online Site, is this possible ? If not, is there any alternative to get all the documents above 5000 limit ?

    At the moment I wouldn't advise it without using folders.
    You can, definitely, add more than 5k items in Office 365 lists. If you design them well and add indexes before you go over the threshold then it should be fine.
    HOWEVER, once you go over the 5k threshold you lose the ability to change all the items in the list at once. Which means you can't add indexes to columns, can't add new columns, can't remove columns or perform any large admin task.
    Incidentally CAML queries and upping the threshold are either/or options in on-premises installs. CAML is the way forward and can be used without increasing the threshold in the vast majority of cases.
    In terms of support the MS documentation is unhelpful:
    http://office.microsoft.com/en-gb/office365-sharepoint-online-enterprise-help/sharepoint-online-software-boundaries-and-limits-HA102694293.aspx
    There it states that MS only support 5k items in a site list/library.

  • What are the possibilities and limitation of using Out of the box content search webpart on SharePoint Online 2013/O365 ?

    Hi All,
    We are migrating from on-premise SharPoint 2010 to SharePoint online 2013.
    I have few questions below: 
    What are the possibilities and limitations of using Out of the box content search webpart?
    Also, how the cross site publishing will work in SharePoint online something with managed navigations and product catalog apporach? if it is not supported, then what are the alternatives to acheive the same?
    Appriciate any commnets/clarifications.Thanks in advance.
    Thanks,
    Dhananjay.

    Here are the possibilities of Content search webparts
    http://office.microsoft.com/en-in/office365-sharepoint-online-enterprise-help/configure-a-content-search-web-part-in-sharepoint-HA104119042.aspx
    http://office.microsoft.com/en-in/office365-sharepoint-online-enterprise-help/when-to-use-the-content-query-web-part-or-the-content-search-web-part-in-sharepoint-HA104206662.aspx
    Compare the strengths and limitations of the Web Parts
    It’s important that you understand the strengths and limitations of the two Web Parts because if you choose the wrong one, your site could run into performance problems. You can use both Web Parts to show content that is based on a query. In a simplified
    world, here’s how you can decide between the two:
    Use the CQWP when you have a limited amount of content, your query is simple, and you don’t expect your content to grow much in the future.
    Use the CSWP in all other scenarios when you want to show content that is based on a query.
    The table below gives a comparison of the two Web Parts:
    Web Part behavior
    Content Query Web Part
    Content Search Web Part
    Query configuration
    Easy
    You’ll need to know about certain search features such as
    managed properties.
    Query across large amounts of content
    Limited
    Yes
    Handle complex queries
    Limited
    Yes
    Scale to handle future content growth
    Limited
    Yes
    Display content from other site collections
    No
    Yes (see
    section below)
    Design of query results can be customized
    Yes, by using XSLT.
    Yes, by using HTML.
    Maintenance cost in a complex site architecture
    High
    Small (see
    section below)
    Narrow down the query results that are displayed in the Web Part
    No
    Yes, in combination with the
    Refinement Web Part.
    It was not there previously but then it was added to Office 365
    http://blogs.office.com/2013/10/29/search-innovations-for-site-and-portal-design-in-sharepoint-online/
    If this helped you resolve your issue, please mark it Answered

  • How to export SharePoint Online sites in an offline format that can be accessed without SharePoint?

    Details:
    Non-techie needs to archive SharePoint site and apps content into one convenient file. 
    1. Currently SharePoint calenders, contacts and tasks synced to Outlook and exported to an Outlook .pst; 
    2. Document libraries to a folder in file system; 
    3. SharePoint Online 2013 microfeed cannot sync at all (correct me if I'm wrong). 
    4. Pages also not really exportable.
    Migration between O365 plans and tenants I can use .wsp but still limited to 50MB export and needs site collection settings access.
    Ideally able to access these content offline (no security implications here).
    Anyone know of a simple way?

    Hi Tian-An,
    SharePoint contents (e.g. document files, list items, pages) are stored in SQL database, it may if you want to use the contents without SharePoint environment, I think you can click "Open with Exporer" from library ribbon and then copy them to
    the file system(e.g. a network dirve fileshare), note that the library columns value would be unable to be copied/exported; for the list items you can click "Export to Excel" button form list ribbon to export list itmes to
    excel file, or as you have done with connecting to Outlook.
    And we have a dedicated Office365 SharePoint online forum, I would recommand you post there for getting a better assistance redarding this SharePoint online contents exporting.
    https://community.office365.com/en-us/f/154.aspx
    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]
    Daniel Yang
    TechNet Community Support

  • SharePoint Online Authentication using LiveId

    Good evening.
    I'm trying to use client side object model to perform operation on a SharePoint Online site.
    using (var context = new ClientContext("https://xxxx.sharepoint.com/sites/xxxx"))
    var passWord = new SecureString();
    foreach (var c in "xxxxx.1") passWord.AppendChar(c);
    context.Credentials = new SharePointOnlineCredentials("[email protected]", passWord);
    var web = context.Web;
    var newFile = new FileCreationInformation { Content = System.IO.File.ReadAllBytes(fileName), Url = Guid.NewGuid().ToString() + Path.GetExtension(fileName) };
    var docs = web.Lists.GetByTitle("Documents");
    docs.RootFolder.Files.Add(newFile);
    context.ExecuteQuery();
    Console.WriteLine(newFile.Url);
    Well, this code works fine if I use federated user or email address like [email protected]
    But I want to use CSOM using a LiveId that already has been invited on this site.
    Any ideas?
    Thanks,
    Sergio
    Regards,
    Bubu
    http://zsvipullo.blogspot.it
    Please mark my answer if it helped you, I would greatly appreciate it.

    Hi Sergio Russo,
    I haven’t seen samples to call SharePoint online CSOM with external user account, the following article shows how active authentication works in Office 365 SharePoint online:
    http://www.wictorwilen.se/Post/How-to-do-active-authentication-to-Office-365-and-SharePoint-Online.aspx
    For this issue, please in the Office 365 SharePoint online forum would be more professional on this, please go to that forum for more information:
    http://community.office365.com/en-us/f/default.aspx
    Thanks,
    Qiao Wei
    TechNet Community Support

  • SharePoint Online - storage options (large exiting file store)

    We would like to implement a SharePoint Online solution to provide remote access to shared files.
    Ideally we would migrate our existing file store, but this is well over 500GB. Is SharePoint a viable solution for storing large volumes of data? I had looked into the possibility of RBS, but this is unsupported for SharePoint Online.
    Any input would be greatly appreciated.

    Hi sara_williams79. SharePoint Online can be used for large file stores but you should be aware of some key limitations. Each site collection in SharePoint Online can store a maximum of 100GB of data; so you would need at least 6 site collections for
    your data. Maximum file size in SharePoint Online is 2GB. Any files over that size will not upload.
    Document libraries in SharePoint Online can hold millions of documents but any library that holds over 5,000 items (or 20,000 in SkyDrive Pro library) will cause issues for some client tools like SkyDrive Pro sync client. Therefore do plan
    for some time to check and reorganise your data to fit within the storage constraints and the SkyDrive Pro sync client (on the libraries you plan to use with it).
    Further information about SharePoint Online storage boundaries is documented here:
    http://office.microsoft.com/en-us/office365-sharepoint-online-enterprise-help/sharepoint-online-software-boundaries-and-limits-HA102694293.aspx
    Are you planning to migrate users' home folders to SharePoint Online? SharePoint Online offers a good solution for this kind of data; each user receives 25GB of personal file storage in their SkyDrive Pro site which can be increased to a maximum 100GB.
    Myles Jeffery | Office 365 MVP |
    Try My File Migration Tool for Office 365 SharePoint Online

  • Is Office Home and Business 2013 fully compatible with Sharepoint Online (Office 365)?

    My client recently upgraded 3 Windows 7 PCs (2-32 & 1-64-bit OS) from Office 2007 32-bit (which was actually working fine against Exchange/SharePoint Online) to Office Home and Business 2013 (32-bit)
    Now, for all 3 PCs, while Office 2013 Word/Excel can open, check out/in, and save SharePoint Online files, there is ALWAYS a 2 minute delay in closing the file which is apparently waiting for the Local Security Authority call to return. This seems
    to indicate an issue related to SharePoint security on the client side.
      Problem Event Name: AppHangXProcB1
      Application Name:        
    WINWORD.EXE
      Application Version:    
    15.0.4657.1000
      Waiting on Application Name: 
    lsass.exe:lsasspirpc
    This is the Local Security Authority Security Support Provider Interface Remote Procedure Call (LSA SSPI RPC)
    My client has 66 licenses for SharePoint Online (Plan 2) and 73 Exchange Online (Plan 1) "stand alone" services. The same failure is happening on 3 Win 7 PCs. All of which I've carefully reviewed against the MS Office trouble shooting guides (start
    Windows OS w/out non-MS services, Word/Excel safe mode w/out add-ons, O365 readiness checks, Office repair, etc.). We have PCs running Win 7 (32 & 64-bit) w/Office 365 ProPlus & Office Professional Plus 2013 that work fine. it's JUST these 3 Win 7
    PCs that were upgraded from Office 2007 to Office Home and Business 2013 that have the 2 min. SharePoint file close time.
    Can you please confirm that Office Home and Business 2013 is compatible w/SharePoint Online
    at least for Excel and Word?
    The "slow close" problem can be demonstrated on multiple site collections/sub sites and w/Excel & Word docs in doc libs and lists
    After many hours capturing information, following the MS Office trouble shooting guides, and repairing the Office install, I've had no luck in resolving this.While Word/Excel will eventually close SharePoint Online files after about
    2 minutes, this is certainly unacceptable. Otherwise, locally stored files close normally and new files were created by the Office 2013 Excel/Word for this testing.
    Any thoughts or guidance would be appreciated.  

    Hi raygabe,
    I couldn't find the document mentioned there is any compatibility between Office365 SharePoint online and Office Home and Business 2013 version, I would recommend that you check if the issue could be reproduced on other Win7 machines installed with Office
    Home and Business 2013 installed directly instead of upgrading from Office2007, see if issue is related to Office application upgrade.
    I also recommend that you post this issue on our dedicated Office365 SharePoint online forum and Office 2013 forum for a better assistance with more experts regarding this issue from the following links.
    http://community.office365.com/en-us/f/154.aspx
    https://social.technet.microsoft.com/Forums/office/en-us/home?category=officeitpro
    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you havefeedback for TechNet Subscriber Support, contact [email protected] 
    Daniel Yang
    TechNet Community Support

  • How to upload local files to Offices365 SharePoint Online Site by C# Code?

    Hi all,
    I've some requirement needs to upload files from local to Office365 Sharepoint Online Site Document Library using C# code?
                   public static void upload()
    Uri uri = new Uri("siteurl");
                    ClientContext context = new ClientContext(uri);
                    var passWord = new SecureString();
                    foreach (var c in "password") passWord.AppendChar(c);
                    context.Credentials = new SharePointOnlineCredentials("email", passWord);
    Web web = context.Web;
                   FileCreationInformation newFile = new FileCreationInformation();
                    newFile.Content = System.IO.File.ReadAllBytes(@"C:\myfile.txt");
                    newFile.Url = "file uploaded via client OM.txt";
                    List docs = web.Lists.GetByTitle("Documents");
                    Microsoft.SharePoint.Client.File uploadFile = docs.RootFolder.Files.Add(newFile);
                    context.ExecuteQuery();
    I don't know whether this method works and I'm always get issue for getting the ClientContext.
    Thanks for your reply.

    Please try below.
    public void SaveFileToSharePoint(string fileName)
    using (var context = new ClientContext("https://mydomain.com/"))
    var passWord = new SecureString();
    foreach (var c in "MyPassword") passWord.AppendChar(c);
    context.Credentials = new SharePointOnlineCredentials("[email protected]", passWord);
    var web = context.Web;
    var newFile = new FileCreationInformation {Content = File.ReadAllBytes(fileName), Url = Path.GetFileName(fileName)};
    var docs = web.Lists.GetByTitle("Documents");
    docs.RootFolder.Folders.GetByUrl("Test").Files.Add(newFile);
    context.ExecuteQuery();
    Bala

  • Question about renaming sync'd SharePoint Online document library with OneDrive Pro

    If I have a site called http://mycompany.sharepoint.com/sites/Department/Documents created as a document library subsite, the OneDrive Pro share will show it under "OneDrive @ My Company" as "Documents - Documents".
    What would I need to change in order for the OneDrive sync'd view to show as "SubsiteName Documents - Documents"? 
    Can I do this by just changing the title of the subsite's header (i.e. changing 'Documents' to 'Department Documents', or does the whole subsite path name need to be changed (i.e. /sites/Department/DepartmentDocuments/)?

    You can invite people to your SharePoint site using External Accounts (Microsoft Accounts or other tenant Office 365 accounts) which there is no charge for.
    Office 2010 will not currently impact your ability to use O356.
    http://office.microsoft.com/en-us/office365-sharepoint-online-enterprise-help/manage-external-sharing-for-your-sharepoint-online-environment-HA102849864.aspx
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Visio Web Access Refresh in SharePoint Online 2013

    I'm trying to pull in SharePoint Online 2013 List data into a Visio Pro 2013 diagram and then serve the diagram into a SharePoint Online Page under a Visio Data Access Web Part.
    I have no working knowledge of Visio, but made a data connection and presented SPO list data on my diagram. But the data appears to be static when deployed to the Visio Access Web Part - even when I manually refesh.   I think, I'm not correctly
    adding list fields to my document. 
    I've set  refresh rates on both the document and the web part, but neither help.
    For a demo I want to show a single list field - nothing fancy.
    Possible to have dynamic data from an SPO List hosted in SPO?
    Any way to filter which row is sent from through a URL Query string?
    How?

    Hi ,
    Per the following article, the data sources will be disconnected and can't be refreshed after the Visio is published to SharePoint.
    "You can publish PivotDiagrams or Timeline diagrams to SharePoint, but they are disconnected from the data sources and can’t be refreshed."
    http://office.microsoft.com/en-001/visio-help/save-diagrams-to-sharepoint-HA102749359.aspx
    And also I would suggest you post in Office365 SharePoint online forum for a better assistance regarding this issue through the following link.
    http://community.office365.com/en-us/f/154.aspx
    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] 
    Daniel Yang
    TechNet Community Support

  • SharePoint Online custom alert emails

    How can I change the alert email that SharePoint online (part of Office 365) send out.  I've seen alot of reference to AlertTemplate.xml but that is if you have SP installed on a local server.
    I would like to add the check in comments to the alert email.

    Hi Scott,
    The Alerttemplates.xml file is located at: Local_Drive\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Template\XML directory on On-Premise SharePoint local server, so we can customize the alert template file on local server with server
    administration permission per this
    article.
    But in Office365 SharePoint Online, if you wan to customize the alert template you need to customize the Alerttemplates.xml under 14 folder on Online server, but it is not permitted, check this article
    you also have seen.
    You can also post this question related SharePoint Online in dedicated Office365 SharePoint Online forum, you can get a better assistance there,
    http://community.office365.com/en-us/forums/151/categories.aspx
    Thanks
    Daniel Yang
    TechNet Community Support

  • Export list from sharepoint online to Excel 2007 failed

    Hello, Office365 sharepoint online, Office 2007 32bit, Win 8.0 x64. When I try to export a list to Excel, I get this error: You do not have adequate permissions to modify this list. Changes to your data cannot be saved.; This comes right after I am prompted
    to enable data connections, and the Import Data dialog. Even I double check the permission for the list. I get this error on two different computers; I have tried several browsers (IE10, IE9 ;FireFox, Chrome). How do I fix this problem? Thanks.

    are you using sharepoint 2010 or 2013 ? if you are using 2013 then remove office and install office from office 365 portal.. make sure you are signed in the office excel client application with the same username and password you are using for office 365
    portal..give it a try !

  • SharePoint online dilemma

    Hi,
    we are a small business company and have 7 computers at different locations from which the salespersons would
    have to log on to SharePoint services and to collaborate on Excel documents (using just the browser). I would
    have to be the "admin" and to have access to all of those documents in contrast to others who will have access
    only to their own document.
    My question is will we be able to do that with SharePoint online plan?
    If not what is the solution for this kind of scenario we have?
    Best Regards,
    Marko Stanojevic
    COBA Systems

    Hi Marko,
    I'm sure by now you must have taken your decision. Yes you can do everything that you have mentioned in your question with your sharepoint online plan. And as Mike Smith pointed out some plans do include copies of Office 2013. Post giving proper permissions
    you can achieve your end task where your sales people would not be able to view each others file and you can view them all and monitor at the same time.
    Using office 365 you can also set alerts through which you will get E-mail when one of your sales person modifies an existing file (his own file ) or adds a new file to the pool.
    One more functionality which i would like to point out is the OFFICE ON DEMAND where your sales people can travel anywhere and log in from any PC and still would be able to used functionality of OFFICE 2013. While using Office on Demand
    you do no need to install or set-up Office 2013 nor do u lose any licenses in the process.
    http://office.microsoft.com/en-in/office365-sharepoint-online-enterprise-help/use-office-on-demand-HA103337813.aspx
    Incase you need some help in setting up permissions and activating alerts and office on demand for your subscription do let me know.
    Regards,
    Aniket Ingle

Maybe you are looking for

  • Can't view thumbnails of tif files...

    Bridge CS4 was working fine before I installed a new OCR software program. Now I can't view any thumbnails of files saved with a tif or tiff extensions. I checked the file type and it is associated with Photoshop CS4, not sure what has happened or ho

  • Saving as .gif with transparency

    I have a .png file with a transparent background which I have been trying to export as a .gif with transparency in FW8. I've managed to save it as a .gif but the edges are dreadfully ragged. I seem to have tried all the options. Any ideas please?

  • Macintosh HD icon changed

    Hi,  really hope somebody can help me here because i have been searching the web for the last three hours without any luck and its starting to drive me mad!  So heres the problem, Today whilst working on my imac i noticed that my Macintosh HD icon ha

  • How to deactivate the Touch vibration in Nokia Lum...

    How to deactivate the Touch vibration or keytouch vibration in Nokia Lumia 620  ?

  • ITunes 64-bit installer for Acer windows 7

    How to install iTunes 64-bit installer for Acer windows 7? I've been trying for many times but i still cant install it.