Errors using a OneDrive Mapper script to map to SharePoint drives - sharepoint

We are using a OneDrive Mapper Script (that runs on start) to map to Sharepoint drives and are getting a persistent error (error 224, as it were) that claims that the trusted sites are not configured correctly and/or that a Windows update needs to be installed.
We are running this on a Windows 7 machine and we are using Sharepoint via Office365.
What I have already tried:
installing a hotfix from Microsoft, but it turns out the computer already had the update.
Re-entering the trusted sites (mycompany.sharepoint.com, *.sharepoint.com, etc)
logging into our sharepoint site on IE & clicking "stay signed in" to keep the token active
opening the sharepoint drive in explorer (using the 'open in explorer button on the site) prior to running the script.
mapping to the drive using windows explorer (results in the same access denied error)
Any help you can offer would be appreciated!

Have you tried mapping the drives with Zee Drive? Zee Drive is a commercial alternative tool to the WebDAV drive mapping from Microsoft; it doesn't require Internet Explorer for authentication so you should not receive the 224 error when mapping the drives.
You can download a trial of Zee Drive from here to map your network drives to SharePoint Online.
Disclosure: I work for the organisation that develops Zee Drive

Related

Drop box to SharePoint online migration without using third party tools

I want to migrate my client's environment from drop box to SharePoint Online without using third party tools.
Can somebody guide me through the free tools that are available and also which other approaches exist.
I tried using Migration Manager creating drobox account however I am getting below error.
Just to clarify upon your issue, I opened up a free account in DropBox and I tried to create a connection within the Migration Manager Service, as it is described in the documentation.
I also got the error that you had:
Based on which I believe that it is required of you to have purchased an Enterprise Dropbox Account and that the free edition of DropBox is not supported, since you need an account that will be Dropbox administrator account to link with your Microsoft 365 migration.
As an alternative you could sync the DropBox Account Contents onto a File Storage and set up a Migrations Manager File Share Connection in order to upload all of the contents.

Cannot open office apps in web browser mode from SharePoint

I've installed Microsoft office web apps offline in the VM and also Installed SharePoint 2016 in another VM machine. Both VMs are connected to the domain.
Besides, I've successfully connected SharePoint to the office farm. But when I try to open docx files or any other office app on the web browser I get the below error :
Failed to launch 'ms-word:ofv%7Cu%7Chttp://....' because the scheme
does not have a registered handler.
Based on the error that you have screenshoted, the Application falied to launch the MS Word Desktop Client because the scheme "ms-word" does not have a handler registered, which in simple terms means that there isn't any associated app to execute when the beforementioned scheme is used and in order to have the scheme registered with an application, you would have to install Microsoft Office on the machine that you are using to view the SharePoint Site.
Here is the link to the documentation where is states that the scheme handlers are registered upon the installation of Microsoft Office.
The following is the list of scheme names implemented in Microsoft Office applications. When Microsoft Office is installed, each scheme name is registered with Windows to be handled by the Office product of the same name. Note that "ms-spd" is an abbreviation for SharePoint Designer.
ms-word:
But in order to use the Web counterparts of the Office apps, like Word or Excel in the browser, there is a different procedure where it is required of you to Install a Office Online Server and enable communication with SharePoint Server.
As it is written in the overview of the product...
Office Online Server delivers browser-based versions of Word, PowerPoint, Excel, and OneNote. A single Office Online Server farm can support users who access Office files through SharePoint Server, Exchange Server, shared folders, and web sites.
Since it's a lengthy procedure and there are different prerequisites in term of licensing and other matters, you can check out this link (Configure Office Online Server for SharePoint Server) on the topic and decide which features you are looking for.

SharePoint 2016 and OneDrive On-Premise - move files from OneDrive to SharePoint libraries

Background:-
We have got a SharePoint 2016 On-Premise and we have setup MySites (which has OneDrive as a feature).
What are we after:-
Like in Internet Explorer users can open up Windows Explorer via a Library, we are looking at a similar option on MS Edge. Some articles suggest we can achieve it via OneDrive. Can someone throw some light on this as to how we can get a similar functionality?
Please note that most articles refer to Microsoft 365 and we are not yet there.
Thanks,
Sam
Enable and use IE Mode in Microsoft Edge to make the open with explorer works again in SharePoint server 2016, for detailed steps, please refer to this simialr issue:
https://learn.microsoft.com/en-us/answers/questions/520044/how-will-the-open-with-explorer-function-be-replac.html

How can I use the OneDrive SDK in a UWA on IoT Core

I created a Windows 10 Universal App which accesses files and folders from OneDrive for a slideshow. Authentication and download works perfectly on Windows 10 PCs and Tablets that are signed in with a Microsoft Account.
When I run the application on Windows 10 IoT core, I get the error "The specified account does not exist. (Exception from HRESULT: 0x80070525)".
How can I log in with my Microsoft Account? Can I create a local account from a Microsoft Account on IoT Core? Or do I need to get a token from somewhere else and pass it to the device?
You will need to show the login screen to the user and retrieve an access code, which will be used to login. Ensure your IoT device has internet access.
ms-iot team has made the Onedrive connector available on Github. More details here: https://github.com/ms-iot/onedrive-connector

Azure Tools for VS - can't sign in to subscription

I'm having a pretty strange issue with Azure tools for VS 2013 (version 2.6). Whenever I try to sign in to my Azure subscription (e.g. from Server explorer or creating a new web role project) I get the following error:
Server Explorer
An error occurred during the sign in process: User 'foo#gmail.com' returned by service does not match user 'bar#outlook.com' in the request
OK
My subscription owned by 'bar#outlook.com' and I can perfectly fine sign in either to management portal in a browser (IE, Spartan and Chrome) - as well as in the Power Shell. Tried everything - cleaning up browser caches/cookies, resetting IE settings, playing with different IE security settings - nothign works.
Any help is appreciated - this issue drives me crazy.
P.S. I'm on Windows 10...
I had the same problem. Imported the certificate manually and everything worked ok: https://social.technet.microsoft.com/Forums/en-US/9cdafeb4-f459-436d-b2b8-9bc5c01f0df1/azure-tools-for-vs-cant-sign-in-to-subscription?forum=windowsazuredevelopment
I had this issue, to resolve it I:
Added 'foo#gmail.com' as an alias in my 'bar#outlook.com' Microsoft account, via account.live.com
Made the 'foo#gmail.com' email address the primary alias for my Microsoft account
I could then log in successfully in to Azure by pressing the Connect to Microsoft Azure button in the toolbar of the Server Explorer in Visual Studio 2013 and see all of my websites under the App Service node.
(When I'd used the certificate method described in the other post and Microsoft documentation I'd been able to see all my sql databases etc. but not the websites.)
Once I'd done all that I then switched my primary alias back to 'bar#outlook.com' and server explorer carried on working.
NB: If you're experimenting with this beware that there is a limit on how many times you can switch your primary.. as I have just discovered.. and now my primary is stuck on the wrong email address for a week.
NB2: If your connecting in order to be able to remote debug the website, then this can still be done by going to Visual Studio>Main Menu>Debug>Attach To Process, and then enter the URL of the site (without the http bit, e.g. mysite.azurewebsites.net) as the Qualifier and then attach to the w3wp.exe process.
I am having the exact same issue. It seems that the Azure sign-in in Visual Studio is redirecting to our organizational Single Sign-On instead of the Microsoft one. I have managed to work around this problem by using a Microsoft account that is not tied to my organization:
Create new Microsoft account or use an existing account not associated with your organization
In https://manage.windowsazure.com select Subscriptions/Manage Administrators
Choose Add+ and add the new Microsoft account as administrator to your subscription
Log on to Azure using the new account from Visual Studio
/Morten
I changed my Microsoft account's email address and had this problem. Adding an alias did not help.
The problem is to do with the Azure Active Directory Library for DotNet. For whatever dumb reason, they throw an exception when Azure returns an ID different than the one requested (if the server isn't crying about it, why make up an error and make the client deal with it?).
Since Azures's support was no help, I had to build a custom copy of the ADAL with that moronic exception removed and an assembly version matching the one used in VS2013 (2.11). Also importantly, disable strong name verification for the custom assembly.

Resources