Working with OneDrive for Business offline

In two previous posts:

Answering some OneDrive for Business questions

OneDrive for Business document sharing

I’ve been doing a deep dive into how OneDrive for Business allows co-authoring on documents. I’ve covered working both directly from a browser but also using the OneDrive for Business desktop sync app.

That’s all well and good if you are always connected to the cloud but what happens in those rare cases when you aren’t? So let’s see.

If you followed along with the previous post you will know that we have two users working on a document from OneDrive for Business.

image

Robert Crane has a Word document in his OneDrive for Business in Office 365 called ‘cloud qualification worksheet’ that he has shared with Richard Dawson who is a member of the same Office 365 tenant.

Now let’s say that Robert has this document sync’ed to his desktop using the OneDrive for Business desktop app. Everything is up to date and no one is currently editing the document. he takes his laptop on a flight and decides to work on that document while he is disconnected from the cloud, which he can do as he has a local copy.

For Robert, his updates are saved to his local machine in the local OneDrive for Business location.

For Richard, who remains online during this process, he continues to make changes to the document while Robert is travelling.

So now we have the worst case scenario. Both Robert and Richard have changed the same file. Richard’s updates are now in OneDrive for Business in the cloud and Robert’s are on his local machine waiting till he reconnects to the Internet to sync.

So now, Robert arrives at his destination and connects to the Internet, what happens?

image

You’ll see that Robert get an error when his  OneDrive for Business next tries to synchronize to Office 365. This is a clear indication that there are sync issues.

image

So if Robert right muse clicks on the file that has the error and selects OneDrive for Business then View sync problems from the menu he sees the following dialog.

image

The result is that it seems to think there is a problem downloading the file as well a conflict. For the resolution of the conflict it says to open the file using its application to resolve.

image

So I did that and as you can see in the above screen shot I get no apparent options to resolve the conflict.

Ok, now the question is how do you resolve this so you can at least keep the two files and allow the one on OneDrive for Business to remain shared.

If I however simply tried to rename the file on my desktop then I still got the sync error (as it is still the same file just with another name).

After taking a copy of my local desktop file and allowing it to sync and then deleting the conflicting file from my desktop it also removed that file from OneDrive for Business in Office 365. This meant that all the changes Richard Dawson made where lost and Richard could no longer access the file since the one shared had been deleted. Basically, even though the file on my desktop was reporting a conflict deleting it also deleted versions in the cloud. Watch that.

At the moment this is where OneDrive for Business does have limitations. However, the best solution is to avoid these type of offline issues by firstly checking the file out if you believe you will need it offline for an extended period. Checking a file out means that no one else can change the file until you check it back in. That means here Robert should have checked out the file before leaving and checking in back in upon arrival. During that period Richard could not edit the file but he could at least view it.

There will always be a struggle working offline in an online world and hopefully the OneDrive for Business desktop sync app will improve soon to add more intelligence on how this is dealt with. Simply being able to rename one copy while retaining the other copy seems like the smartest thing to me. However, at the moment if you delete the conflict it deletes the sync’ed version on OneDrive for Business even though it is different, so beware of such conflicts. The best suggestion is to make a copy of the file in OneDrive for Business using a browser before attempting anything on the desktop.

Roll on an updated sync client for OneDrive for Business on the desktop I say.

OneDrive for Business document sharing

In a previous post I covered how basic document collaboration and co-authoring worked with OneDrive for Business. That was in response to this question:

Does OneDrive provide any file locking at all? I.e., if two people open the same file at the same time, does it manage locking to prevent both updating the same file with conflicting updates, or does is simply provide collision notification later?

A follow question on from that was:

How is offline/synchronized file access reconciled with shared access (if at all)?

So let me address that one in this post.

If you followed along with the previous post you will know that we have two users working on a document from OneDrive for Business.

image

Robert Crane has a Word document in his OneDrive for Business in Office 365 called ‘cloud qualification worksheet’ that he has shared with Richard Dawson who is a member of the same Office 365 tenant.

The previous post covered how they where able to work together on the document using both Office Online and Office on the desktop as well as mixing and matching between all of the options.

Now what happens if Robert elects to sync that Word document to his desktop and work on it there. Let’s see.

image

As you can see above the document in question is synced to the desktop using the OneDrive for Business desktop app. You’ll notice that it is all up to date since it has a green check mark over the type icon.

image

If Robert right clicks on the file he received the context sensitive menu shown. He select’s Edit.

image

This opens the document in Word as normal for Robert. He can now start editing it.

image

As before, Richard now see multiple people working on the document (top right) and see that the paragraph being edited by Robert using Word is ‘locked’ (i.e. Richard can’t edit this area until Robert saves his changes) when he starts working on the document also.

Richard is free to change any other part of the document.

Let’s now return to Robert’s desktop .

image

When Richard starts making changes using Word Online Robert receives notification of this in his desktop document as well a corresponding ‘lock’ on the paragraph Richard is working with using Office Online in a browser as shown above. This means Robert can’t change that area that Richard is working on until Richard is complete and Robert saves and ‘refreshes’ his document.

You will also notice a little globe next to Richard name here in Robert’s version indicating Richard is editing ‘online’ (i.e. using Office Online). If you also mouse over Richard’s name you might see the message that updates are available and you should refresh the document. This means Richard has made changes and to get the latest version Robert should save and ‘refresh’.

image

Since Richard is using Office Online any changes he makes are automatically saved and the document in OneDrive for Business is also updated. You can tell when Office Online saves are complete by looking at the bottom of the window as shown above where it says saved.

Once these online updates are saved they are automatically available to others. If those people are also using Office Online they will see the changes immediately. If they are working ‘offline’ using Office for the desktop they will need to save and refresh their document to see the changes.

image

When they do so they will see the above message in their desktop application. Unfortunately, it doesn’t appear in my testing that you see if overlay if one of the editors is using Office Online.

If Richard now opens the document in Word both users will get a similar experience to what was outlined in the previous post with desktop to desktop editing, so I won’t revisit that here.

Thus in summary, using the OneDrive for Business desktop app to sync files locally and opening and editing from this location while online is pretty much an identical experience to what happens if you open and edit a document directly from the browser. It allows you and others to work on the document together at the same time while keeping up to date.

image

You will notice if you right mouse click on the file in your OneDrive for Business location on your desktop there is a OneDrive for Business menu option as shown above. Basically the options available there simply take you directly to you OneDrive for Business in a browser to allow you to perform the selection.

image

Thus, if I select Share from this menu all it does it take me directly to the Share option for that file in my OneDrive for Business in a browser (I’ll also need to login to Office 365 if I haven’t already).

So, the OneDrive for Business desktop client app allows you to synchronize you files from your OneDrive for Business location in Office 365 to your desktop. When you work with these desktop sync’ed files you get very much the same co-authoring experience you would if you had opened the documents directly from a browser. Any command menu shortcuts redirect you back to browser to complete.

So now the question is what happens with this synchronization process when one of the authors is offline and makes changes? That’ll be the subject of an upcoming post so stay tuned.

Answering some OneDrive for Business questions

I saw these questions about OneDrive for Business in a forum recently with the complaint that the said information could not be located. So I thought I’d answer them here for everyone.

1. Does OneDrive provide any file locking at all? I.e., if two people open the same file at the same time, does it manage locking to prevent both updating the same file with conflicting updates, or does is simply provide collision notification later?

OneDrive for Business supports document co-authoring. This means that a document can be opened and worked on by two people simultaneously. Here is a scenario:

Both using Office Online

image

So what I am going to do is directly share a file from the admin user’s OneDrive for Business with another Office 365 user, Richard Dawson in the same tenant.

image

In the top right of the site I get a message letting me know the document is shared.

image

The other user (Richard Dawson) receives an email telling him about the shared file and providing a link.

image

Selecting that link takes him straight to the document where he can now elect to edit it in Office Online or Office on the desktop.

image

In this case he chooses to edit it with Word Online.

With Richard now editing the file that I (Robert Crane) shared. I go into that same file and start editing it also in Office Online.

image

What Richard now sees when he is editing the file is that there is another author and the location of those authors edits are shown by a cursor as you see above, which when highlighted shows that authors name.

image

So now, Richard knows Robert is editing the document and can see that in the top right of the page as shown above.

Thus, when the shared OneDrive for Business document is opened in Office Online it is opened in co-authoring mode to allow multiple people to make changes while showing them what other editors are doing.

One using Office Online, one using Office on desktop

Let’s now say that Robert opens the document in Word to do more advanced editing.

image

Robert now gets the message and information about additional authors in the lower left of Word as shown above.

image

What Richard now see in his Office Online is that Robert is editing the document but doing so ‘offline’ (i.e. not in a browser).

This means that neither party can now see real time edits since they are no longer in a browser, however they can continue to edit the document together.

image

If Robert now starts editing the document using Word from the desktop Richard sees a ‘paragraph lock’ symbol, as shown above, indicating that someone is working on this paragraph offline. Richard is unable to edit this paragraph while that is taking place.

image

Now when Robert is ready he saves the document. You’ll notice that the save in the top left is actually a ‘refresh’ button. What this does is update the document in OneDrive for Business with any changes Robert made while updating the local document with changes other authors may have made elsewhere. Doing, so means that both the local copy and the current one in OneDrive for Business are up to date with everyone’s changes.

image

In a matter of moments the version of the document Richard is editing using Office Online is updated on the fly with the changes Robert made on desktop and the paragraph he is working on is ‘unlocked’.

Now what happens if Richard also edits the document using Word?

image

Richard now has the same ‘offline’ experience editing the document that Robert did. He can see other authors as shown above. he can continue to update the document at the same time as others. When he works on a part of the document that paragraph is locked for other editors until he completes his work and saves and ‘refreshes’ the document in OneDrive for Business as before.

So there you have it. In a nutshell multiple people can edit Office documents in OneDrive for Business whether via Office Online or via Office on the desktop.

Office Online allows real time viewing of edits. Office on the desktop locks paragraphs during editing until updated.

What I’ll look at in the next post is how all this works with the OneDrive for Business desktop sync client.

A couple of office 365 Yammer gotchas

I have been starting to come more up to speed with Yammer and Office 365 integration and found a few gotchas.

The first is, to integrate Yammer into Office 365 you need to have a public facing web site that matches the Yammer domain you are adding. Thus, is you want to use domain.com for your Yammer network then http://www.domain.com needs to be accessible, otherwise activation won’t complete.

I also found that the email you use to sign up can’t be admin@domain.com. For some reason Yammer doesn’t like the admin user?? So, I just created another user within that domain and used that to sign up and set up my Yammer domain.

At the moment the Office 365 and Yammer services are still pretty separate. Out of the box you have 2 non linked logins. You can do single sign on but that requires extra configuration.

However, as you can see by the above video the first of integration features is now rolling out. This allows Yammer conversations around documents. I haven’t as yet got it in my Office 365 tenant but as this blog post says:

Yammer bring conversations to your OneDrive and SharePoint Online files

It has now started rolling out, so look for it soon in your tenant. Don’t forget when configuring Yammer those couple of gotchas I mentioned previously.

OneDrive for Business vs Team Sites

This is a question I am seeing more and more. I was actually asked this very question today in the SharePoint Administration for IT Pro course that I’m running at the moment. I gave my standard answer but upon later reflection on that I found what I think is a much better, if not somewhat simpler answer to use. So here goes.

image

So above you can see a typical OneDrive for Business location.

image

and now above is a typical Team Site.

I believe the simplest answer to the differences between OneDrive for Business and a Team Site is clear when you look at the contents of the sites.

OneDrive for Business is mainly for storing personal documents while a Team Site is for collaborating on documents AND other things like calendars, contacts, lists, etc that are required by a group (i.e. team) of people.

Of course both OneDrive for Business and Team Sites can do exactly what the other does by virtue of the fact they are both SharePoint sites. However, I think the above description is the best way to understand the distinction at its most basic.

The general idea is that for a document an individual wants to work on privately or with a limited number of people, they should use OneDrive for Business. If however, they need to work on a project that requires multiple people’s input and requires multiple elements like calendar’s, contacts, lists AS WELL as documents, then a Team Site is a better option.

What makes the positioning hard at the moments is that all OneDrive for Business users get 1,000GB or storage while a Team Site on starts with 10GB. I’m sure that will change very soon but for now it doesn’t help the whole concept of ‘collaboration’ that SharePoint is about. However, I understand that OneDrive for Business and like products are a good way for businesses to start dipping their toes in the cloud.

So, if someone asks you about what they should be using OneDrive for Business versus Team Sites hopefully you can use the above definition as way to help them understand.

Easier external sharing comes to Office 365

It is amazing what you find when you start fiddling around in your Office 365 console.

image

If you login as an administrator and select the option external sharing from the menu on the left you will be greeted by the above screen which contains a number of simply on/off controls for sharing your services in one location.

image

Where it gets interesting is when you select the external users from the menu across the top.

As you can see from the above screen, now as an administrator I can see all the external (non-Office 365 tenant licensed users) who have received invitations to access any of the SharePoint (including OneDrive for Business) sites.

This means now as an administrator you can not only see every external user but you can also remove them all from a single location!

image

If you now go to the third menu option sites you can see a list of all your site collections and whether they are sharing externally. You can also enable or disable anonymous guest links here.

image

I can see in the list of sites that OneDrive for Business (My Sites) that it is configured for Share Invitation as shown.

image

If you place a check mark for and hit the details link which appears on the right you can quick turn off external access for the whole site as well as not allow anonymous links as shown above.

image

However, here’s the best option in this external sharing option. If you select calendar from the menu across the top you’ll see that you have controls to share calendars via a public URL! YIPEE! Oh, how I have waited for this feature.

There is simply too much to go into on this new feature in this post. I’ll do another one shortly but for all the information you need for setting up external calendar sharing in Office 365 visit:

Share calendars with external users

image

The final option allows you to bulk control Lync federation with external contacts as shown above.

Having all the external sharing option in one location for administrators will make life so much easier. Previously having to dig through separate SharePoint sites to manage and control external users and sharing was pain. Having a location for not only all external users but also the ability to centrally manage access will be heaven.

However, by far and away the greatest addition is the ability to now easily share calendars with anyone on the Internet via a public URL is HUGE and now provides parity with many other web based services. Hopefully, that ability will also be available via Outlook if it isn’t already.

I’ll dig more into the public calendaring ability and write that up in another blog post soon.

These changes are GREAT news for Office 365 administrators and provide the functionality many have be asking for. Again, well done Microsoft on bringing these features to the product. All I can say is roll on Office 365.

June Sydney Cloud Business Meetup


Our final get together before June 30 will be:
Date: Monday, June 16
Time: From 6.30pm
Location: Oaks Hotel,  118 Military Rd, Neutral Bay
Map:
https://goo.gl/maps/yod2n
We’ll be in the ‘Bar and Grill’ section, so come grab a drink and something to eat and join everyone in learning what the cloud is all about and how it is changing business. Also, feel free to bring along your questions, technical or business. We are pretty confident that you’ll get them answered and learn a whole lot more about the cloud.
If you are planning on attending we’d really appreciate if you can sign up using Meetup:
http://www.meetup.com/Sydney-Cloud-Business-Meetup/events/186573912/
So we know how many places we need to reserve.
We hope to see you on the night.

Add attachment from OneDrive for Business



I’ve just been watching the latest Microsoft Garage series video from Microsoft. This one focused on one of my favourite topics, OneDrive for Business. If you haven’t seen it yet you can watch it here:

about 9 minutes we see in Outlook Web Access the ability to add an attachment directly from OneDrive for Business as you can see in the screen shot above.
Hold the phone! When are we getting this?
I checked my Office 365 tenant and unfortunately as yet I don’t have it.
image
If I go into my Outlook Web Access and select New email, Insert and then attachment from the menu that appears, as shown above, I get prompted to select a file from my local machine only.
Clearly, the ability to allow attachments directly from OneDrive for Business is coming (faster, faster please) and that is fantastic news because it is a key element that has been missing and makes so much sense.
Roll on Office 365 updates.