Got trouble Connection PowerShell to SharePoint online? This could be the resolution to your troubles.
I had this myself, or we had it in our Company tenant. This is what the issue was and this is how I fixed it:
When trying to connect to PowerShell for SharePoint Online, using the Connect-SPOService command, we got a error that did not tell us anything.
The error is:
Connect-SPOService : For security reasons DTD is prohibited in this document. To enable DTD processing set DtdProcessing property on XmlReaderSettings to Parse and pass the settings into XmlReader.Create method.
Well, its almost a joke right…
When searching the web for information on this particular, I struck zero…all I could find related to the ISP and the default search provider something. I quickly dismissed them as unrelated.
Then after some time had passed, I found a similar issue, this seemed related and it was a connectivity issue same as mine (If I still had the link I would give credit to where credit is due). This fellow had resolved the issue by adding a missing DNS record.
This made me think, since our tenant has existed since way Before Office 365 existed (BPOS) perheps we were also missing some of the required DNS records?
I checked with my collegues, and apparently we were missing the record as well.
So, if you ever see or get the ‘DTD prohibited’ issue, remember to check the DNS for the following record:
Info: Used by Office 365 to direct authentication to the correct identity platform More Information
After I added this to DNS, Connect-SPOService works just fine!
|Microsoft’s official explaination on the DNS record:
What’s the purpose of the additional Office 365 CNAME record?
If Office 365 manages your domain’s DNS records,, Office 365 sets up this CNAME record for you.
If you are managing DNS records for your domain at your DNS host, to create this record, you create this record yourself by following the instructions for your DNS host.
References and Credits‘
Nope, not this time…Credits & many thanks to To all of you.
Now, finally, we can move and copy files within our OneDrive for Business web GUI
Some random document…
Some time, early 2015, Microsoft introduced the ability to move/copy files in OneDrive for Business. This has been one of the major obstacles for using OneDrive for Business as a E1 user without the Office applications installed locally. Or rather, as a Online only user no matter what license. As a long time SHarePoint user and technician, this is a long awaited feature in SHarePoint as well, so now I’m keeping my fingers crossed for this ‘simple’ little feature to appear there as well. (I do not for one second think that this has been easy to implement at all) In addition, the function is quick!
Want to see how it looks and works?
The following table lists the tested and verified behaviour of the Copy/Move functionality in OneDrive for Business:
|Move File(s)||Moves the selected file(s) to the designated target container Retains metadata Retains sharing||Does not overwrite if filename exists, reports back error|
|Move Folder(s)||Moves the selected folder(s) to the designated target container Recreates a new copy of the folder Retains sharing||Does not overwrite if filename exists, reports back error|
|Copy File(s)||Copies the selected file(s) to the designated target container Recreates a new copy of the file(s) with new metadata Does not retain sharing||Does not overwrite if filename exists, reports back error|
|Copy Folder(s)||Copies the selected folder(s) to the designated target container Recreates a new copy of the folder with new metadata Does not retain sharing||Does not overwrite if filename exists, reports back error|
|Copy or Move in SharePoint||N/A – ‘Send to’ a predetermined location is the closest we get in SharePoint Server or SharePoint Online||N/A|
How it looks in reality:
Move or Copy a single file
Move or Copy multiple files/folders
Select the target, check the ‘Copy’ box if you want to Copy and not Move
After copying/Moving, you will get a Little reciept in the top right corner
If one or many of the files allready exist at the target, they are not overwritten, not even with a new name or new version. You will instead get a note on this and the result‘
Now, we all hope for the same in SharePoint! Until it comes, we all to this ‘simple’ feature say: FINALLY!
References and Credits
None at this time…
Credits & many thanks to