The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [onedrive-for-business]

OneDrive for Business is a users My Site — the place to keep work documents and share files with others.

Filter by
Sorted by
Tagged with
10
votes
2answers
2k views

Recover/restore deleted user

Is it possible to restore a user who got deleted from our SharePoint recently so I could get to the data that was being shared through his onedrive account?
10
votes
4answers
2k views

SharePoint O365 upload big file via CSOM

I am tring to upload large files (900 MB) to SP Online (actually the OneDrive Business) but seems to follow SP style. Tried this via CSOM and powershell 70 MB are fine but when I try 900 MB a ...
9
votes
0answers
329 views

Custom Actions in OneDrive for Business

I am trying to add menu options to the Command Bar and the List Item context (ECB) menu in OneDrive for Business. To do this I'm following the same patterns I use when adding menu options to the ...
7
votes
2answers
999 views

Branding SkyDrive/Newsfeed (Mysite) in SharePoint Online

We're in the middle of a massive SP2007 to SharePoint Online migration and were able to successfully rebrand our portal site in the cloud. The only portion we're having trouble with is matching our "...
7
votes
1answer
2k views

How do I disable the Minimal Download Strategy for OneDrive for Business for all users?

I have an Office365 environment with SharePoint Online and OneDrive for Business. I can set SharePoint up (per site) to turn off the Minimal Download Strategy feature, but it seems like there's not a ...
5
votes
1answer
1k views

How can a user sync all document libraries in their team site to OneDrive?

I have a team of business users that are most comfortable accessing their SharePoint documents via the OneDrive client. Each time a new person starts in their team they will open every single document ...
5
votes
1answer
5k views

BreakRoleInheritance and Inherit Permissions ListItem

I'm having a little difficulty with the BreakRoleInheritance in keeping inheritance of permissions in a users OneDrive for Business Documents list. By default the users Documents list has two ...
4
votes
3answers
9k views

The library has too many items

I have installed OneDrive for Business to sync with a SharePoint Online document library. The local folder has 6,331 files, 672 folders. It looks like I am hitting the upload limit by getting the ...
4
votes
1answer
1k views

How to delete orphaned profile in SharePoint Online?

For an unknown reason SharePoint Online keeps creating the personal website of one of my users with the suffix "1". What I want to achieve I want to have the users personal website at: - https://...
4
votes
2answers
8k views

Cannot find an overload for “Load” and the argument count: “1”

I am working on some utility functions to ease the administration of our O365 tenant by importing some modules as part of my profile. The thing I'm working on currently is being able to provision One ...
3
votes
1answer
743 views

Resolve a Users PrincipalId to share file or Folder REST API

Is there a way to get a users PrincipalId based on their email address. I'm looking to share/apply permissions to files and folders in a users OneDrive to Business drive using the REST API.
3
votes
1answer
489 views

How can I set “IsSiteAdmin” property true for a user via Webservice/REST API for Sharepoint?

The question actually is that whether or not an Admin (Company Administrator) assign a user(say himself) who is NOT a site user on a Site as Site Collection Admin for the OneDrive(my site) for other ...
3
votes
1answer
5k views

How to upload a file using REST and C#

I already go a connection with the OAuth 2.0 protocol. I am using REST and C# to get file- and folder information, create folders etc. through WinForms. Im not able to upload a picture. (A text file ...
3
votes
2answers
911 views

Sync Sharepoint from Mac

if I am not mistaken, what I want is oneDrive Business sync of SharePoint files to my Mac (osMac Sierra). I have installed the oneDrive business client ( Version 17.3.6798 (0207) ) (yes, I ...
3
votes
1answer
834 views

My Site Cleanup and Secondary Admin

In the User Profile area of the Sharepoint admin center, you can elect to reroute permissions of an employee's OneDrive for Business site to another user when their profile is deleted. You also have ...
3
votes
0answers
841 views

Map a network location to a shared OneDrive folder

My (small) client uses Office 365 and has shared a folder from her OneDrive with me - using my Microsoft account, i.e. I don't have an account on their Office 365 system. Works a treat with Office ...
3
votes
0answers
187 views

Office 365 quota for OneDrive and Groups

Looking over the Get-SPOTenant output of our tenant, I see the property OneDriveStorageQuota. This sets the quota for all OneDrive for Business users, no big deal. It is set to 1TB and we are fine ...
3
votes
1answer
859 views

How to add 'Administrator' to site collection owners for all users' personal sites?

I want to add 'Administrator'(Site Collection Administrator) to site collection owners for all users' personal sites(OneDrive for Business sites) programmatically(preferably using REST API) in ...
3
votes
1answer
8k views

cmd file to connect Onedrive for Business through net use

ive looked at several previous questions, but none have seemed to be exactly what im needing, or those questions themselves were never answered. what i want is to have a batch file that users can ...
3
votes
1answer
627 views

OneDrive Sync Feature - Office 365

Is it possible to TURN OFF the sync feature for the OneDrive for Business as a Global Administrator on SharePoint Online. I have to turn off per user, but still the User will be able to Turn it back ...
2
votes
2answers
5k views

Url Length Limit when uploading SharePoint 2013 Online/OneDrive for Business

I'm working on a Winform application which allows a user to upload documents to Onedrive for Business. Essentially you select a folder you want to upload, this creates all of the folders and then ...
2
votes
3answers
442 views

SharePoint Vs OneDrive

My organization is trying to decide whether to have SharePoint or One Drive as a document repository and would like to know what works better considering the below scenarios. If the person in ...
2
votes
3answers
2k views

Getting Minor Version, Major Version, TimeCreated, TimeModified of document using CSOM

As a follow up to this post, I have a document that I am downloading from OneDrive library using CSOM. private static void DownloadFile(ClientContext context, string listTitle, int listItemId, ...
2
votes
2answers
2k views

Sharepoint Online Storage limit - 25TB or 1TB?

Our company is using the Office 365 suite, and we are considering to move our data from our old file servers to Sharepoint/Onedrive. Since we have a lot of data (15TB+), it's important for me that I ...
2
votes
1answer
335 views

Can anybody put light on the OneDrive (aka SkyDrive) feature of Sharepoint 2013?

I need to know a few things about OneDrive (SkyDrive) feature of SharePoint 2013 on-premises. If I have to use OneDrive (aka SkyDrive), does it have to be on mysite only or i could use it on any ...
2
votes
1answer
5k views

Guide for on-premise SP 2013 & OneDrive

I can't find any good how-to about installing SharePoint 2013 on premise with One drive for business on premise too. Is that something you ever went through ? For example, do I need 0365 licences in ...
2
votes
2answers
1k views

Get folder item number. REST API

I'm currently using the following code to create a folder. url: http://site url/_api/web/folders method: POST body: { '__metadata': { 'type': 'SP.Folder' }, 'ServerRelativeUrl': '/document library ...
2
votes
1answer
116 views

Files not showing up in Shared with Me on OneDrive for Business

I have SharePoint 2016 On-Prem. Documents that have been Shared with me do not show up in my OneDrive for Business area called "Shared with Me". Instead it only displays "No one is sharing a document ...
2
votes
1answer
201 views

Synchronise SharePoint folder - not full document library

Is it possible to synchronise specific folder(s) instead of the whole SharePoint library? I am able to sync the full document library, but the library will become huge with time and I don't want my ...
2
votes
1answer
846 views

REST API Error:: Querying ParentUniqueId for a list item

I'm looking for a way to retrieve the parent Id for a list item so that I can query it as well. For a given list item say id 101, I need to find the Id for its parent (the folder it lies under or the ...
2
votes
1answer
2k views

download file from OneDrive using Microsoft.SharePoint.Client

I have a winforms application and I need to download files from a SharePoint OneDrive directory. Currently, given my code below, I am able to read the "Title" of the file, but I can't find anything to ...
2
votes
1answer
639 views

GetUserProfileByIndex: Server was unable to process request. ---> Attempted to perform an unauthorized operation

I am trying to fix an issue with one of my power shell scripts. I am getting this error. Exception calling "GetUserProfileByIndex" with "1" argument(s): "Server was unable to process request. ---...
2
votes
3answers
345 views

Move Documents from SharePoint 2013 On Prem MySite to One Drive - Powershell

I want to move documents from SharePoint 2013 on-prem mysite to one drive using PowerShell. Are there scripts available to do so? Can someone help? Basically I'...
2
votes
1answer
327 views

Error when using the UsageReportWithCSOM Script

Just using your script to grab the OD4B usage details, when running the script I'm receiving below error each time it queries someone's URL. Any ideas? I'm running the script as an O365 Global Admin. ...
2
votes
1answer
2k views

Sharepoint sync on ubuntu

Is it possible to have "Team sites" from sharepoint synced on an ubuntu machine? I am searching for a OneDrive for busnesses sync alternative to run on my ubuntu laptop.
2
votes
1answer
1k views

Copy file to another folder with REST API

I'm trying to copy a file located in user's personal folder (OneDrive Pro) using REST API. The resulting link seems to become too long and server returns 400 BadRequest: The length of the URL for ...
2
votes
1answer
1k views

OneDrive for Business not working on iPad

I have created a test environment, specifically for document shareing, using SharePoint 2013. Everything works fine (OneDrive for Business is installed locally on my PC) however the iPad app does not ...
2
votes
0answers
192 views

List up files shared with me

On a SharePoint 2016 on-prem based Intranet I want to list up files that are shared with me (the logged in user). I don't want to list up documents the user has contribute permissions on, but want ...
2
votes
0answers
26 views

Development: How to download folder from OneDrive to personal compuer?

I am doing something like below but always get exception which says resource not found. Is there something I need to do besides something below? Please. Help. var folderToCreate = new Item { Folder =...
2
votes
0answers
65 views

SharePoint Online, OneDrive sync, maintain folder hierarchy

I have created a site "Clients" in SharePoint Online that has a subsite for every client and they have to contribute access to all document libraries on that site, they can't access other client sites....
2
votes
0answers
3k views

One Drive For Business sync client (OneDrive.exe) command line switches [closed]

Does anyone know the full list of command line switches for OneDrive.exe? I've found a few here and there, but I would like to know the rest. Examples: /takeover /background /configure /reset
2
votes
1answer
106 views

Office 365: Using PowerShell to outout a list of OneDrives and thier consumed space

Can the community advise if it's possible to output a list of active One Drive for Business Sites within an Office tenancy alongside the amount of storage that it's consuming? As an administrator, ...
2
votes
0answers
357 views

Get items permissions in OneDrive for Business using microsoft Graph API

I'm trying to get the permissions granted on items in personal OneDrive for Business drives using the Graph RESTful API. Querying the OneDrive for Business: GET: graph.microsoft.com/v1.0/drives//...
2
votes
0answers
228 views

OneDrive doesn't show proper icons

We are using SharePoint 2013 with OneDrive for Business. We also use the inline records management feature that displays a lock-symbol on documents when flagged as record. In the OneDrive however it ...
2
votes
0answers
66 views

OneDrive for Business Login--Does not recognize UN or PW

Sharepoint Online 365--I recently enabled 2FA for my company's sharepoint O365 site. Now, certain users are having sync issues with OneDrive for Business. When they try to login when prompted by ODFB ...
2
votes
1answer
268 views

CSOM GetImagePreviewUrl Parameters

I am trying to retrieve the image preview URL of documents in my OneDrive for Business. The CSOM File object has a method called GetImagePreviewUrl which takes three parameters: Width Height ...
2
votes
1answer
363 views

OneDrive for Business Permissions

I have a few users that have non-standard permissions for OneDrive for Business . I've found a PowerShell Script that will list all OneDrives but not the permissions. Is there a way given a site, to ...
2
votes
1answer
192 views

Filtered SharePoint 2013 library to OneDrive for business sync

We're currently syncing some SharePoint 2013 (online) libraries with OneDrive for business on user's machines which is all working great. But, what we'd like to do is add a filter, specifically; ...
2
votes
1answer
718 views

Office365(Sharepoint/OneDrive) REST API endpoints for Recycle bin call return empty list

I'm trying out the Recycle Bin REST API endpoints for Sharepoint mentioned here . The URL I'm hitting is; https://tenant-my.sharepoint.com/personal/username_tenant_onmicrosoft_com/_api/web/...
2
votes
1answer
643 views

Get site collection administrator for one drive

I have this weird thing going on with my tenant. I have successfully executed this PowerShell command on other tenants to retrieve Site collection administrators for user one drive for business. ...