OneDrive, formerly known as SkyDrive or , is a new feature within SharePoint Server and Online 2013 which allows users to share and sync documents from their personal computer. It is important to note that OneDrive and OneDrive for Business are not the same. OneDrive is the file syncing for only Microsoft live accounts. OneDrive for Business for stores your documents in the cloud within your personal site called your My Site. On-premise with , OneDrive for Business can also be accessed through your My Site, but the files are stored within your organization’s SQL Server databases for SharePoint.

Incorrect My Site OneDrive URL with SharePoint 2013 Onlline

In SharePoint Server 2013 OneDrive for Business is configured in Central Administration within My Site section of the User Profile service application. In , OneDrive for Business is configured in Admin top menu bar under SharePoint within My Site section of the User Profile service. When you are configuring SharePoint 2013 you can either create a separate web application for you My Sites or have your My Sites under an existing web application. When configuring your My Sites for the first time sometimes it is hard to know what paths to put into the “My Site Host” and “Personal Site Location” paths. If you create a My Site and then change the “My Site Host” and “Personal Site Location” paths, your My Site may show your newsfeed, blog, and tasks correctly, but the URL listed in the top navigation bar for the OneDrive for Business may be incorrect causing a “Page not found” 404 errors. To correct this issue, you must ensure you have the correct “My Site Host” and “Personal Site Location” paths for your My Sites configured and then delete the My Sites with the incorrect OneDrive for Business paths.

Setup My Site Paths with SharePoint 2013

To use personal sites or My Sites as it is called in SharePoint, the User Profiles Services must be configured for your farm and syncing with an identity management system such as Active Directory. For more information on how to setup User Profiles Services for SharePoint 2013 visit http://technet.microsoft.com/en-ca/library/ee721052.aspx and how to setup profile synchronization visit http://technet.microsoft.com/en-ca/library/ff382639.aspx.

Once User Profiles Service is created and syncing user profiles you can either create separated dedicated web application for My Sites under its own URL or configure My Sites under a preexisting web application and URL. It is Microsoft best practice to create a separated dedicated web application. If you decide to create your My Sites under a preexisting web application and URL you will receive a “Validate the My Site Host and individual My Sites are on a dedicated Web application and separate URL domain.” health analyzer warning as seen below:

Configuring My Sites for a Dedicated Web Application

In Central Administration or the SharePoint Administration of Office 365 you want to navigate to the User Profile service and go the Setup My Sites section. If you have a separate dedicated web application then you My Site Host location will be the domain URL such as http://intranet.contoso.com. The web application should also have a wild card managed path. You could use the “sites” wild card managed path created by default for SharePoint web applications, but best practices would be to create a new wild card managed path called “personal”. The personal site location should be the location of the wild card managed path. In our example we would set our personal site location to “personal”. The configuration for a dedicated My Site web application should look like the following:

Configuring My Sites Inside a Collaboration Web Application

In Central Administration or the SharePoint Administration of Office 365 you want to navigate to the User Profile service and go the Setup My Sites section. If you have your My Sites inside a collaboration web application under an explicit managed path then you My Site Host location will be where you created the My Site host collection. For our example we will use http://intranet.contoso.com/my/. The web application should also have a wild card managed path. You could use the “sites” wild card managed path created by default for SharePoint web applications, but best practices would be to create a new wild card managed path called “personal”. The personal site location should be the location of the wild card managed path. In our example we would set our personal site location to “my/personal” which is under our explicit managed path. The full path to the My Sites in our example would be “http://intranet.contoso.com/my/personal”. The configuration for My Sites inside a collaboration web application should look like the following:

Delete a My Site with SharePoint 2013

To fix the My Sites with the incorrect OneDrive for Business URL you will have to delete the incorrect personal sites. To delete a user’s My Site you must go to Central Administration or the SharePoint Administration of Office 365 and navigate to the User Profile service. Under the People section you want to click on “Manage User Profiles”. In the “Find profiles” text box you want to search of a user to delete their My Site. Once in the results list below, hover over the user’s name and then click the arrow menu button to select “Manage Personal Site”.

You will now be on the user’s personal site in the site settings. Click “Delete this site” link under Site Actions to remove the site. Once the site is deleted, you should ask the user to recreate their My Site by clicking About Me under their login name in the top right hand menu.

Once on their new My Site, the OneDrive for Business URL in the top menu should now be corrected and navigate to your personal OneDrive for Business.

0%
0%
Awesome
  • User Ratings (4 Votes)
    5.3
Share.

About Author

Christine Weaver has been the technical lead on projects designing, developing, deploying, supporting, and delivering solutions for SharePoint since 2003. Christine’s knowledge and experience leans heavily on her 10+ years as a software consultant and from being a Microsoft certified professional. Christine has been a regular presenter at TechDays Canada and runs the Halifax SharePoint User Group.

2 Comments

  1. Matthew Barrett on

    This did not work for me. Both links (SkyDrive and Sites) have the redirect URL but the page doesn’t redirect when accessing MySite from the App server. On a separate workstation it tries to go to /Documents/Forms/All.aspx and gives a “site not found” error still.

Leave A Reply